14 March 2026

Team 15 Final Controller Progress Review

 Description:
    For our final controller, we decided on creating the model/toy car idea for "Buck Up and Drive". We choose to design our controller after a model car, as the game is an arcade-racer that only features cars as playable characters. The controller functions by moving the car left and right to simulate steering while the car auto-drives. The user can also press on the roof scoop on the car's ceiling to simulate performing tricks in the air. The car can initiate drifting by pressing down on the hood of the car. The game can also be paused by pressing on the button on the driver's side window. The car model design is inspired after one of the cars that can be unlocked and controlled in the game. The unique inputs of the controller help immerse the user to feel like they are driving the in-game car in real life.

Sketch: 


 

 

 

 

 

Schematic:


Pseudo Code:

    float variable that holds accelerometer input

    boolean variable that holds hood input

    boolean variable that holds roof scoop input

    boolean variable that holds pause button input

    float variable that maps accelerometer values

 

    if statement checking if map variable is less than -2

        simulate left arrow input 

 

    if statement checking if map variable is more than 2

        simulate right arrow input

 

    if statement checking if hood boolean is true

         simulate space bar input

 

    if statement checking if roof scoop boolean is true

        int variable that holds a randomly chosen number between the range of 0 and 1

        if statement checking if random number variable is 0

            simulate up arrow input

        if statement checking if random number variable is 1

            simulate down arrow input

 

    if statement checking if pause button boolean is true

        simulate escape button input

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.