06 April 2022

Controller Progress Review


The final sketch of the controller is going to be based on one of the Tetris block designs that are in the game. It would be a handheld design wear it would fit nicely into users hands with no complications or discomfort. There would be two rotary encoders on both end of the middle blocks and that they would be covered with two other blocks that would be used as knobs that would help with using the controller. The left side would still be used to control the left and right control placements of the blocks. The right side is used to control the rotation of the blocks when it interacting. The middle area will house the Circuit Playground. It will be using the sound input that is built into the playground, and when there is a sound the blocks will be released and instantly placed onto the stack of blocks. 
What would be be the best place to place the Rotary Encoders.
Should stick with the T-shape casing or use any of the other Tetris shapes.







#include <Adafruit_CircuitPlayground.h>

#include <Adafruit_Circuit_Playground.h>

//Variables

housing the vairiables needed for the input of the code.

void setup() {

  initialize libraries and keyboard output

}


void loop() {

  

    if  left knob turns right, press the D key.

    if leftknob turns left, press the A key.

    if right knob turns right, press W key.

    if right knob turns left, press S key.

    if sound input activates, press SPACE.

    

No comments:

Post a Comment

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