06 April 2022

Jason Vento Game Controller Progress Report

For my Game Controller project, I would really like to work with the game Donut County, and utilize the bluefruit’s motion sensors to allow the user to tilt the in-game hole wherever they desire. I’ve played through the game myself and it’s a simple and charming experience that can only be enhanced by a more tangible means of interaction. The gameplay is simple on controller which was where I played it, just simply move the right analog stick to move the hole and pull objects in. By having an object that you hold yourself like perhaps… a donut I feel like it’d be a fun nod of appreciation to the game and it’s quirky humor! 

Questions: 

Is it feasible to translate joystick controls to a simple x and y format?

How else could i handle the design of the donut without the need to purchase an existing foam donut?














Psuedo-code: 

#include <Adafruit_CircuitPlayground.h>

#include <Adafruit_Circuit_Playground.h>

#include <math.h>

#include <Analog.Input> 

//Variables {

left-tilt = 0

right-tilt = 0

back-tilt = 0

no-tilt = 0 }

//Setup {

 Serial.begin(9600);

 delay(9600);

CircuitPlayground.begin();

 Analog.begin();

void loop() }

//Motion Sensors

left-tilt = CircuitPlayground.motionX();

right-tilt = CircuitPlayground.motionX();

back-tilt = CircuitPlayground.motionY();

no-tilt = CircuitPlayground.motionY();

if left-tilt input analog left

else if no-tilt input analog down

if right-tilt input analog right

else if no-tilt input analog down

if back-tilt input analog up

else if no tilt input analog down 

No comments:

Post a Comment

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