Friday, August 9, 2013

Tropical Death Game Design Challenge Part 2

Fruit Spinning Puzzle Game.


So we're spinning bits of wood, to sort fruit into correct baskets.  The Pipes will flash up a picture of the fruit about to drop to give you time to prepare.  As time goes on fruit will come faster and faster.  Each fruit into the correct basket will increase score.  Fruit that miss the baskets and hit the spikes won't be penalized.  But put the wrong fruit in the wrong basket and you lose a life.

I'm moving away from having cross pieces, since the idea will be to build paths for the fruit, and cross pieces will catch and hold it.  I want the fruit to keep moving as much as possible to keep the pace in the game.








Coding this in unity should be fairly easy.

On a game controller object,

if (timer =< 0)
{
        spawnFruit();
        timerReset();
}

for the planks,

onMouseClick(Left)
{
       transform.Rotate(0,90,0);
}
onMouseClick(Right)
{
       transform.Rotate(0,-90,0);
}

and for the Baskets

onCollisionEnter(collider Type)
{
if (type = basketType)
{
score ++
}
else
{
life --
}
Type.transforme.gameobject.delete;
}


Should be enough to get prototyping.

No comments:

Post a Comment