Final Team 19:
Aiden Richmond
Leonardo Santa
Our controller portrays a platform from Fall Guys that acts like a seesaw and has the fall guys character balancing on the platform so that it can move around in the game. We are going to have knobs moving around the camera in the game. There will be a switch that activates the grab in the game because this will represent how you can hold grab in the game and grab other players as a joke. Moving around the fall guys bean on the platform will act as movement in the game itself too. The character will be moved up to jump as if he would be jumping in real life, which will reflect jumping in the game. While jumping the player can thrust the character forward as well to do the dive in the game. We want the controller to look like a platform and the user should feel like they have to mess around with the seesaw similar to how they would in game.
// included libraries^
const int debounce = 100;
void setup() {
// put your setup code here, to run once:
// setup code for CircuitPlayground
// Determine the slideswitchpin
// Initialize the keyboard
}
void loop() {
// put your main code here, to run repeatedly:
// if analog pin (whichever we choose) > 510
// move mouse to the left
// if analog pin (whichever we choose) < 510
// move mouse to the right
// if analog pin (whichever we choose) > 510
// move mouse up
// if analog pin (whichever we choose) < 510
// move mouse down
// invensense rotating forward
// move the character forward, press the W key
// invensense rotating backwards
// move the character backwards, press the S key
// invensense moving upwards on the y axis
// make the character jump, press the space key
// invensense tilting in any direciton
// make the character dive, press the control key
// if switch is active
// activate the grab, press the shift key
// if circuit is complete on left
// move player left
// if circuit is complete on the right
// move player right
}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.