Endless Runner/ Terrian Generating?

skippertech

  • Posts: 256
Hey Guys,
I was wondering if Terrian Generating is possible to be done in stencyl, so that a game like an endless runner could be created. Can you generate terrian? is it possible?

Any help would be great


Tuo

  • *
  • Posts: 2469
In the StencylForge, you can search for my "Demo-" games. I have multiple examples of infinite platformers. Especially take a look at Infinite Platformer. If you prefer to do the idea with tiles, adjust it to use the tile API instead (see the Miner demo for how to use Tile API).
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

Phillament

  • Posts: 27
I've been looking for this for a while now. It's gonna help for on of my next projects. Thanks!

stepstream

  • Posts: 40
Hello!

So the main idea with an "endless runner" game is to use one scene and then create "actors" as the terrain. You generate them off-screen to the right (making sure to set them as "always simulating" and "cannot be moved") and then set a negative x-speed for them. That way they'll start moving left.

Did that help?

xandramas

  • Posts: 411
tuo's demo has the endless stuff going on forge, plus theres a few endless things I found on google that will help u out
Check my profile to test my games in development.
Asterite Saga: http://www.facebook.com/XGameLabs
Next Game in development.

kadir123

  • Posts: 66
Hello!

So the main idea with an "endless runner" game is to use one scene and then create "actors" as the terrain. You generate them off-screen to the right (making sure to set them as "always simulating" and "cannot be moved") and then set a negative x-speed for them. That way they'll start moving left.

Did that help?


that the main idea , so How to do that?
and infinite platformers has a gap between tiles..it is different with the case..

gabrielsmiles

  • Posts: 17
same with me i need some more info please....

misterfreeze

  • Posts: 84
Does anyone know how to add more actors - obstacles, gems etc - on those platforms that are spawned off screen?
How should this be achieved while offering a sense of randomness?

SadiQ

  • Posts: 1795
Does anyone know how to add more actors - obstacles, gems etc - on those platforms that are spawned off screen?
That's easy to achieve with an actor behavior that's attached on the platform actor.
When the platform is created just create some actors at a random number between X of self and X of self + width of self. Y
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.