0 Favourites

dont tap the white tile type game?

  • has anyone done a tutorial on how to set up a don't tap the white tile type game?

    or an example capx?

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)