vendredi 6 mars 2015

Randomly Generate Platforms With a Minimum Distance JavaScript

Ok, I've searched around the web for awhile and can't seem to find a conclusive way to randomly generate a set of platforms with a minimum distance between them and the top/bottom of the screen area.


What I'm looking for is ideas/code/links on how to generate platforms a minimum distance from the top bottom and each other. I'll be using this to randomly generate game stages.


I'm relatively new to this, so I apologize if this is a silly question, bear with me please!





Aucun commentaire:

Enregistrer un commentaire