move blocks into specific grid positions, how to do undo action- new game idea im trying to work out

themagicboxthemagicbox Member, PRO Posts: 82
edited October 2013 in Working with GS (Mac)
I have this new game idea and I am trying to work out the rules. Here is a picture to help better explain.

image

this is an example of one of the first levels...there are three platforms, each a different color, and 3 different colored blocks...the object is to get all the blocks of the same color onto the platform of the same color. So in this example level, the way to pass the level would be to get one block on each platform of the right color. You can move the blocks one by one to another platform BUT you can only move the highest block or if it is the only block on the platform. You can them only move it to the highest point on another platform, or if there is nothing on another platform, it will be the first. So in the example level...I can only move the red or blue block first. To solve this level..you would move the blue block on top of the red, then the green block onto the green platform, then the blue block on top of the green block, then the red block to the red platform, then the blue block on the blue platform...

I was thinking of ways to do this but I feel like they all would lag (I was thinking of using collisions and having invisible blocks for each rom of the column.....

also, I wanted to do an undo button...so after every block movement you can undo your last move...how have people done this? do I record each action on a table (the first move starts at 1 and adds a row every move...each row will have the block ID and original placement

has someone made a game similar to this?
Sign In or Register to comment.