How to generate level WITHOUT using FlxTileMap or Ogmo Editor (trying to make an endless runner)

176 views
Skip to first unread message

Andy Noelker

unread,
Nov 2, 2014, 8:41:51 PM11/2/14
to haxef...@googlegroups.com
Hi, I'm very new to Haxeflixel and trying to wrap my head around the procedural generation of levels for an endless runner game. However, it seems wherever I search I only ever find people creating premade levels with either Ogmo editor or using FlxTileMap. Neither of these approaches seem to make much sense for procedurally generated levels. Even Mode, the only Haxeflixel procedural project I can find, uses FlxTileMap (and I won't pretend to understand how that works). I'm just wondering if anyone has any good resources or tips for creating levels in the code instead of relying on these 2 methods. I feel this shouldn't be too difficult and yet I'm even struggling with basic things like object collision (using FlxG.collide in the update function for my floors and player has weird effects, like floors falling with the player upon contact).

In general if anyone has any advice or knows good resources for making a procedurally generated endless runner game in HaxeFlixel, it would be much appreciated. There seem to be so few resources out there.

SruloArt

unread,
Nov 3, 2014, 6:49:36 AM11/3/14
to haxef...@googlegroups.com
There are plenty of HaxeFlixel runners projects over Github for you to explore, for example, here's a nice endless runner by Tiago Ling Alexandre (and his team): https://github.com/Tiago-Ling/ggj2014


If you still have a specific problem please feel free to ask :)
Reply all
Reply to author
Forward
0 new messages