28 March 2021

Scaffolding: Progress Review | Ooblets

The controller I am building is essentially a digitized deck of cards. This is immediately relevant to the game Ooblets which focuses on collecting monsters through card-based dance battles. The controller works by utilizing an accelerometer, potentiometer, and tap input at the back of the card deck. Through the accelerometer, the player will be able to move about the space. It would essentially act as typical WASD input. The potentiometer would allow for selection through the toolbar when the player is farming, but also allow for selection of cards in the dance battle mode. Tap input at the back of the card would result in selection of things being done. Essentially, it functions as a mouse click.


The two questions I specifically have about the design are:

  1. Should I continue with a "stacked card" type of look, or if I should opt for more of a card deck box for design?
  2. Does the potentiometer in the center of the cards take away from the overall aesthetic of the controller? 





/*
 * Written by Melissa Wells
 * DIG3602C Final Project
 */

//Variables

void setup() {
  // put your setup code here, to run once:
  
}

void loop() {
  // put your main code here, to run repeatedly:
  //read accelorometer
  float x = CircuitPlayground.motionX();
  float y = CircuitPlayground.motionY();

  //bring acceleromater input into character movement. 
  //-x = left, x = right

  //-y = down, y = up 

  //call Potentiometer code
  Potentiometer();
  
  //call Tap code
  Tap();
}

void Potentiometer()
{
  //accept input from potentiometer.
  //direction turned will determine which direction
  //to move on toolbox 
}

void Tap()
{
  //if player touches back of card, accept the selection 
  //potentiometer is on

  //if the player double taps, back out of action
}


No comments:

Post a Comment

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