28 March 2021

Project Progress Seen Controller

 My controller for the game "Seen" is the Hope/Determination, controller. Aptly named as its spherical design is representative of the collectibles of the respective names within the game, usually a light teal or dark blue color. With the controller, a player should be able to: Move up (increase depth level) in the game by tilting forward (a W press), move down (decrease depth level) in the game by tilting back (a S press), move towards the right of the screen by tilting right (D press) and left of the screen by tilting left (A press). Additionally, a player should be able to vocalize (like "Shhh") to press Shift thus covering ears in the game, as well as use two potentiometers that record values to reach thresholds to indicate a Spacebar press and E press for jump and interact respectively (these last three inputs being fairly interchangeable in terms of their controls. I.e. Shift could very well be a potentiometer or jump a yell, testing remains to be done for what feels best).



Pseudocode:

// Activate requisite libaries

void setup() {

  // put your setup code here, to run once:

  // Open up serial monitor for mapping testing and feedback

  // Activate requisite nodes i.e. sound sensor, accelerometer, LEDs for feedback.

}


void loop() {

  // put your main code here, to run repeatedly:

  // Register Inputs and Map Results to button presses below

  /*

   * Map forward tilt accel to W key; if a forward accel passes thresh, then press matched key

   * Map back tilt accel to S key; if a back accel passes thresh, then press matched key

   * Map right tilt accel to D key; if a right accel passes thresh, then press matched key

   * Map left tilt accel to A key; if a left accel passes thresh, then press matched key

   * 

   * Map Sound Sensor amplitude feedback to __ key if thresh is surpassed (E press, Space, or Shift)

   * ^ Dial in via serial monitor, should not pick up ambient

   * 

   * Record return analog input voltages from potentiometer to pin and map threshes for each to ___ key (E press, Space, or Shift)

   * ^ See Arduino potentiometer tutorial for recording responce from potentiometer

   */

}

 




Questions:

1. Which input for the final three controls do you think would be your preference? 

2. How would you desire to grip a sphere? From below? The side? Above? or do you prefer it on a stick?


No comments:

Post a Comment

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