Need Horizontal Motion for a Puzzler

0 favourites
  • 1 posts
From the Asset Store
a full game example, menu system, with the first level and a boss, to create a horizontal shooter
  • Hi Guys,

    I'm looking for a bit of help.

    I'm currently working on a simple puzzle game. Blocks are pushed up every 3 seconds, and if any reach the top the game is over.

    To eliminate blocks, you double click on groups of blocks. Any block with at least 1 like block adjacent to it is destroyed.

    There is gravity, so blocks will naturally fall to the bottom of the screen

    I've got the basic game play down now, but one other mechanic I'd like to implement is sliding the blocks to the middle of the board if there are ever any gaps on the bottom row, so that blocks will always get clumped into the middle like in this image:

    <img src="" border="0" />

    Basically the columns blocks should slide towards the middle of the screen, so there should never be any gaps horizontally between the blocks.

    I've tried all sorts of things, but I can't seem to get this to work - I'm pulling my hair out.

    I've also included a capx.

    Any help would be really awesome - thanks guys.


  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)