23 October 2024

Team 7 Progress Review - Bomberman

Description
The Bomberman controller takes shape as the main character's head in the game and acts as a bomb for the user and character, while allowing movement. The controller will move the character by 2 external knobs which allows the player to choose which way to go without locking the character to continuously move one direction. These knobs will take the place of the characters eyes on the controller, one knob will be mapped to control the Y axis of movement which will be the right eye and the knob will control the X axis on the right eye. The choice to put the movement on the controller's eye correlates to what the in-game character sees so the user is controlling the movement and vision of the player.  The controller will also have a light sensor near the ball at the top of the controller which will act like a fuse for a bomb, when bright light hits that area of the controller an LED will signal to give feedback to the user and the action of a bomb placing will occur in game. The ball will also have a switch on it and this switch will be the power up button for the player, if this switch is flipped on the player's bomb will instantly detonate if they have obtained the power up, this switch gives power to the user as it is an instant reaction of feedback via feeling the switch move and visually seeing the bomb detonate in game. This part of the design makes the player really feel like they have agency in the real world which directly correlates to the game in another way rather than just holding a controller and pressing buttons. 

Sketch


Schematic


Pseudo Code


Void setup () {
Left Knob = x-axis
Right Knob = y-axis
Light Sensor on = x button
Switch on = z button
}

Void loop () {
    If Left Knob is turned left {
        If Right Knob is straight {
            Character moves left
        } Else if Right Knob is not straight {
            Character does not move
        }
    }
    If Left Knob is turned right {
        If Right Knob is straight {
            Character moves right
        } Else if Right Knob is not straight {
            Character does not move
        }
    }
    If Right Knob is turned left {
        If Left Knob is straight {
            Character moves up
        } Else if Left Knob is not straight {
            Character does not move
        }
    }
    If Right Knob is turned Right {
        If Left Knob is straight {
            Character moves down
        } Else if Left Knob is not straight {
            Character does not move
        }
    }
    If Light Sensor is activated {
        Place bomb on character’s location
    }
    If Switch is on {
        If player has a powerup {
            Activate powerup
            }
        }
    }
}

No comments:

Post a Comment

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