Thursday, June 16, 2011

Kinect

The Kinect sensor can detect movement and make the sprite in the game move accordingly. As the sprite moves, the actor moves, and it just reflects your movements. The behaviors is set to say something like: if this movement to the left, this sprite, avatar move to the right.

There are many actors and even more sprites in this game. In volleyball, for example, many items came flying at you. The people who threw them are actors, and the objects shot are sprites. You, the mascot, is both an actor and a sprite.

For bowling, you need a behavior in place to grab the ball when you reach over to it and a behavior to delete the pins, and one to give you a score if all of the pins are knocked down.

Here are two behaviors in 'English'; if the object (ball) hits the player in soccer, then the score increases by one. If the ball leaves the board (whatever point that is on the map), then a point is awarded to the opposite side in Ping Pong.

As for levels in this game, if you're set to party play, after the time or score is reached then the game goes to the spinner and selects the next level.

There needs to be collision data on any object that hits the mascots, as well as collision data on the mascots.

For this to be possible in Fun Editor, between each game and the game is a level and each player and object would be a sprite based off an actor. This would definitely require a lot of state machines and code but most would be fairly simple code. 

No comments:

Post a Comment