Trying to think how I'd go about this game:
http://games.cellbiol.com/penguin.html
I'm guessing I wouldn't use a massive layout or anything, but my scroll only follows the player within the layout. I also plan on having lots of randomly spawned objects in the way while the penguin is flying by
I think the layout is static i mean is not a massive layout and a background simulate is moving when aceleration ends the penguin fall down.
That is what i think, but im newbie
There's an autorunner template that does exactly what you want
Would that mean I have to make every object that i plan to use move to the left and give it movement properties?
[quote:opjdi7rd]The engines don't move the ship at all. The ship stays where it is, and the engines move the universe around it.
Move that background and spawn another when it's out of the screen infinitely
[quote:3cr38433]The engines don't move the ship at all. The ship stays where it is, and the engines move the universe around it.
haha nice futurama quote.
Develop games in your browser. Powerful, performant & highly capable.
how would I measure how high up the penguin is supposed to jump though? I'm trying to use a finger swipe to detect how fast to make the background and stuff go by, which I can do, but I don't know how to calculate jump properly for it