How do I create a infinite map?

Get help using Construct 2

Post » Mon May 02, 2016 6:00 am

My game is a simple iOS tap game where the characte must flip to the top or bottom of the screen to avoid objects that they are moving towards, it's pretty basic but I'm stuck on how I would create an 'infinite mode' where the map is randomly created as the screen moves toward it (I'm using flappy bird as an exampl because it's basically what the game is just a different idea aha) I've made the game so that the player moves toward the objects but would it be better if the objects rolled towards the player maybe? Any ideas?

Posts: 7
Reputation: 239

Post » Mon May 02, 2016 6:09 am

For endless type of map, I would prefer the player to stay in place and keep on spawning all obstacles and sending them to the player until the player is dead.
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: (use Chrome on Windows for best performance)

My sites:
Posts: 411
Reputation: 8,459

Post » Mon May 02, 2016 11:19 am

I highly recommend you move the objects, not the player.

Assuming the obstacles come from the right of the screen

1) Spawn obstacles off screen (right), set their X,Y and other values.
2) When the obstacles exits the screen on the left, change it's x,y etc and reposition off-screen right.

No need to create and destroy endless objects - reuse and reconfigure instead if possible.

I did this in my game Star Kite, that has endless levels too:
Posts: 28
Reputation: 508

Return to How do I....?

Who is online

Users browsing this forum: blackhornet, Hadyurik and 7 guests