How does the game Doodlejump for iphone generate its stage? Are the platforms randomized in some way? If so, how do they make sure it doesn't generate impossible combinations?

If it's not randomized, how do they make sure it's different (or varied enough) every time?

  • \$\begingroup\$ Please notice that randomized levels are in most occasions clearly inferior to well-designed levels. Just compare Abduction to Abduction 2 and you'll notice the HUGE gap. \$\endgroup\$ – o0'. Nov 20 '10 at 9:10

Well, its generated on the fly, and definitely random.

To make sure there is imposible jumps you need to tune your game to generate only possible yet interesting situations. It a really hard topic because it is totally different for each game. Luckily you can learn about some games by looking at it and analyzing how you would generate interesting levels.

One very very very good resource here is an article about Tuning Canabalt on how the developer decided to make it not only possible but also hard, and interesting.

  • \$\begingroup\$ I guess Doodlejump has it easier than Canabalt as the maximum jump height never changes, it only needs to give the player some platform within that jump range and it's fine. Thanks for the link, interesting stuff. \$\endgroup\$ – Herfer Nov 19 '10 at 16:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy