Our controller, the Leap-Pad, is a pressure-sensing controller, comprised of 5 different pressure sensors connected and sealed within a simple plastic covering. It connects from the south-east corner to a USB to provide input to a PC from a circuit-playground, located within the section of plastic. Our controller is built to connect the user to feeling like the frog in Frogger. Jumping on the two south pads will allow the user to move forward, while the left and right hand pads move the player in the respective directions. Slapping both the left and right hand pads will make the user move backward. We chose this layout specifically to have jumping advance the player through the game. The center pad is mainly to give players a safe area to rest their hands or make simple selections within menus.
For the visual design, we decided on a lily-pad as to evoke the visuals of the game and the goal of the player, but also to provide a more unique visual flair to a typical pressure mat. The requirement of jumps an physical hand movements makes the act of controlling Frogger more visceral, while the simple layout and lack of moving parts make the controller durable and easier for construction and clarity of use and purpose.
Pseudo Code
Get Pad Inputs
Check Direction of Inputs
Start Input buffer time(Store the initial input as "previous input" and the second input as "current input")
Compare 2 inputs in window
Input results
If left hand pad
Move left
If Right hand pad
Move right
If Both left and right hand pad
Move down
If Both left and right foot pad
Move forwards
If Central pad
Select
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.