How do I make a mining game?

0 favourites
  • 7 posts
From the Asset Store
Mine those precious space resources & start trading
  • How do I make a game that constantly spawns blocks but like in rows and columns endlessly? I'm trying to make it an endless version of forbidden treasure (really old game) that scrolls down but like, with the player.?

  • you could use spawn blocks outside of the screen that creates blocks as soon as blocks on top leave the screen.

    It's a little bit like flappy bird - and there you should find some tutorials.

  • fm4fanAT can u post a linx or capx

  • You can set the block sprites as a Bullet behavior, and On Start of Layout set their Y speed to a certain number. Or, if you'd rather not do that, enable Physics and World Gravity, so they drop.

    What is important however is scoring. On Touch > Object tapped > Destroy object

    Add X to Global variable Score (to keep track of score.)

    Ah, formatting. The two actions in Object tapped would be destroy object (if you want to them to vanish once tapped) and add a certain amount to a global variable.

    You can even have 1 event sheet with the Global variable. Event sheets can be added in (in Event Sheet A, include Event sheet alpha. In Event Sheet B, include Event sheet alpha.) Doing that will reference Event Sheet Alpha in Event Sheets A and B.

    Event Sheet Alpha has Global Variable Score.

    Event Sheet A has on tap, add X to Global Variable Score.

    Event Sheet B has on tap, add X to Global Variable Score.

    So you have one Event sheet that keeps track of the score for the entire game. Remember to link them by including Alpha in all of the Event sheets that you want to add to, subtract from or reference the game's score.

    PS: A, B, and Alpha are stand ins you can name your Event sheets whatever you want.

  • You can set the block sprites as a Bullet behavior, and On Start of Layout set their Y speed to a certain number. Or, if you'd rather not do that, enable Physics and World Gravity, so they drop.

    What is important however is scoring. On Touch > Object tapped > Destroy object

    Add X to Global variable Score (to keep track of score.)

    Ah, formatting. The two actions in Object tapped would be destroy object (if you want to them to vanish once tapped) and add a certain amount to a global variable.

    You can even have 1 event sheet with the Global variable. Event sheets can be added in (in Event Sheet A, include Event sheet alpha. In Event Sheet B, include Event sheet alpha.) Doing that will reference Event Sheet Alpha in Event Sheets A and B.

    Event Sheet Alpha has Global Variable Score.

    Event Sheet A has on tap, add X to Global Variable Score.

    Event Sheet B has on tap, add X to Global Variable Score.

    So you have one Event sheet that keeps track of the score for the entire game. Remember to link them by including Alpha in all of the Event sheets that you want to add to, subtract from or reference the game's score.

    PS: A, B, and Alpha are stand ins you can name your Event sheets whatever you want.

    Is there a picture representation of this, I'm a visual learner

  • How do I make a game that constantly spawns blocks but like in rows and columns endlessly? I'm trying to make it an endless version of forbidden treasure (really old game) that scrolls down but like, with the player.?

    top down or side view?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • jobel side view

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