Wednesday, 26 March 2014

Playable Area

I have now finished with the movement and rotation on the cannon, it all works very fluently with the players hands. I am having the odd problem with it losing a player hand briefly causing jerky movement, although this is just a problem with the lighting in the room I have tried to decrease the likely hood of it happening by saying "if two or more hands are showing then move", as apposed to the hand count must equal two. I have done this because depending on the players fingers, head, or whatever else will be near the sensor the hand count can bug out and so I have tried to minimise that possibility.

The next thing I am working on is a playable area for the player. I am doing this as so I can keep the player in a "lane" so that I know where I need to build the structures and so I can control the flow of the game much easier. In the picture below you can see the fence in the background, this fence is a rather large box around the player but what limits the player to that set area, once the cannon reaches it, it will collide and now be allowed to travel further.



also take note in this picture how I have separated the barrel from the body of the cannon, this is so I can manipulate the cannon barrels rotation without changing the body's too.

No comments:

Post a Comment