21 October 2023

Dig Dug Pump Controller


The Controller I am creating is meant for the game “Dig Dug”. The controller itself heavily resembles the Miner’s pump that they use on the enemies in game. It is a simple box with a large pump on top of it and two handles that can be manipulated up or down. The zig zag sticking out on the other side of the box is pure cosmetic to sell the idea that you are using Dig Dug’s pump.

The handles on either side are used to control the player’s character by manipulating either or both sides to move them across the four directions. When facing the enemy, the player must continuously use the pump to attack the enemies in the game. Due to the manipulation of the handles and pump, the controller is meant to remain on a stable, flat surface to operate the device efficiently.

Overall, this controller is meant to greatly heighten the user’s immersive experience to the 2D retro game.



Psuedo Code:

void loop() {
  // Main Button to start the game
    // Notice! The triggers will run inverted in comparison to the levers the
players will interact with.
    // Switches flicked up is caused by the player pulling the lever down

  // If Right Switch is flicked up, then hold "Right Arrow Key"

  // If Left Switch is flicked up, then hold "Left Arrow Key"

  // If both Switches are flicked up, then hold "Down Arrow Key"

  // If both Switches are flicked down, then hold "Up Arrow Key"

  // If motion sensor is triggered by the pump, then press the "A" button
    // Must be a press so that the player has to keep pumping to continuously
press the button

}




No comments:

Post a Comment

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