Move all the things up the screen?

darrigaz

  • Posts: 124
I'm trying to make a game that's a bit like elevator action. You go up floors in a skyscraper killing little dudes on the way. The floors are randomly generated and I'd like it to be possible to go on forever.  To do that I'm moving the scene down a floor every time you complete a floor. It works but my current code is too expensive to actually render the moving of the floor (the game just hangs for a bit and then you're on the next floor). Anyone able to suggest a better way of doing this so that I can scroll the screen when you change floor?

LIBERADO

  • *
  • Posts: 2716
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

darrigaz

  • Posts: 124
Wonderful! Thanks.