dont tap the white tile type game?

Get help using Construct 2

Post » Sat May 03, 2014 8:42 pm

has anyone done a tutorial on how to set up a don't tap the white tile type game?
or an example capx?
Posts: 54
Reputation: 1,001

Post » Sun May 04, 2014 5:48 am

This would be an extremely easy thing to do. So easy I don't really think it would warrant a tutorial. But since you asked, this is how I would go about it:

Make a simple layout with a white background and a grid pattern.
On start of the layout, spawn a series of black tiles 1 per row on a random column.
Set the black tile objects to get destroyed when they leave the layout.
Create an "On Any Touch Start" event with a few actions:
First make sure the touch location was on the bottom row and on a black tile. If either of these is false, game over.
Second scroll all black tiles down 1 grid row.
Third spawn a new black tile in the now empty top row.

That is really it. Once you can make it work using a grid, you can fiddle around with making each of the rows a random width/height. Following the above, you would really only need a single sprite object and 1 main event with 2 sub-events (continue and game over) with only a few actions.

I hope that helps you figure out where to get started and good luck with your project.
Posts: 331
Reputation: 7,767

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests