Long scene
Hi,
I would like to create a game like "Line Man Run". The goal is to run as long as possibile. How can I create a scene infinite long in GS?
Thanks
I would like to create a game like "Line Man Run". The goal is to run as long as possibile. How can I create a scene infinite long in GS?
Thanks
Best Answers
-
BrynjeBamsen Posts: 188
you take a couple of actors (ground actors)
make a randome spawn position within min/max Y position
Then make the actors move right to left with a move behavior.
Once the actor is outside you left screen on your scene recycle the actor to your right side
If self.position = -200
Change attribute self.position.x to (whatever position outside the screen on your right side)
Change attribute self.position.y to random(min,max) to give you som variation on the landscape
on your "hero" actor just make a upward acceleration evertime jump is pushed.
hope it helps
Later -
MotherHoose Posts: 2,456
easiest way is:
have actor stay in center area of scene and have the background images scroll
and recycle backgrounds
control other events with gameAttribute … index type … flow
emailed you a demo … PatMH
Answers