28 March 2021

Scaffolding: Progress Review

For my Scaffolding Progress review I have decided to continue with the basic premise of one of my original designs, that being using sound and two potentiometers in order to take input and generate output to the ever so popular flash game QWOP. Initially my design fell under a bit of confusion due to initial layout resulting in you not being able to press Q and W or O and P together in conjunction but rather Q and O and W and P. This is actually fully intentional because in order to be successful at QWOP one has to have to take strides at the correct timing in order to actually progress forward gameplay wise. Initially I didn't have much 3 Dimensionality to my design, but since QWOP is about an athlete running along a track, I have decided to go ahead and try to create an old fashion stop watch-esque design following my use of potentiometer to determine value and sound to output said value in order to play said game.



[Include Libraries]

[Variables]


[void setup]
    Initialization and setup

[void loop]
    get current potentiometer values
    if statement
        value > 600 = Q for QW potentiometer or O for OP potentiometer
        value < 600 = W for QW potentiometer or P for OP potentiometer
    get current sound sensor value
    if statement
        value > 600 output respective potentiometer value & output green neopixel
        else output red neopixel

Question 1: What other methods do you think I could utilize for quick and accurate changes between Q/W and O/P values to commit to strides in QWOP outside from potentiometers?

Question 2: What are more accurate ways to let the user know whether or not their input was correctly fired? 


No comments:

Post a Comment

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