How to create a game where you're constantly scrolling in one direction?

sebstarr

  • *
  • Posts: 259
Ideally, I'm looking to create a game where the actor automatically scrolls horizontally across the screen and the idea is to go up and down to dodge enemies/pick up coins etc.

I'm completely new to this, so I was just wondering if anyone knows of a tutorial around that could help me with this - or even just some advice on here. I'd be most grateful.

Thanks.

« Last Edit: April 30, 2013, 09:34:46 am by sebstarr »

gruffman

  • *
  • Posts: 564
Now available for all Android Devices - Happy Face Concentration
My Games To Date
Find A Face / Hero Of Oda / Snakes And Ladders
Hungry Monkey available at fgl.com for Sponsorship
My site - Gruffgames.com

sebstarr

  • *
  • Posts: 259
Gracias Amigo!  ;D

sebstarr

  • *
  • Posts: 259
Right, I've looked over the page numerous times but I'm still no closer to getting it working.

That High-Noon Balloon game is the sort of scrolling motion that I'm aiming for.

Is there anywhere that gives a walkthrough of how to get this effect from scratch?

I have tried numerous tactics to get it working and have spent numerous hours over the last few days, but I think I have to concede and ask for help...  ::)

Any help given will be greatly appreciated as I'm close to pulling my hair out at the moment!  :-\

GeorgeN

  • Posts: 856
Search on StencylForge for Tuo's demo download it and study the code.

"Demo- Infinite Platformer"

http://community.stencyl.com/index.php/topic,16160.0.html