06 April 2022

Scaffolding: Progress Review

 



I decided to change my game last minute because I realized that the mechanics of the game would be too fast to use with an external controller that didn’t have buttons. So, the new game that I am going to do is called Slither.io. The controls are with either a mouse with a right or left click, or left and right arrow keys with the spacebar, however, the mouse is the smoothest option. The controller that I have settled on visually and mechanically is not like the others I thought of. Instead, I decided to use polymer clay for the handle & design and a wooden box to house the CPB. I would make a small hole in the back of the wooden box to feed the cord that will power the CPB and with tilt sensors, the user will be able to move their snake character all around the playing field.  

Do you think that I am heading in the right direction with my Pseudocode?

Do you like the design or do you think it’s too extravagant for a game like this?

 Video: https://youtu.be/jX6bEOp1hAs

//import adafruit

//import mouse library

//initalize variables

//set up x,y

//Read accelerometer

//atan 2 (y,x)

//serial print x and y, + rads

//if (x) is higher than 5, press (a)

//if (x) is less than 5, press (d)

//if sound (80db), press spacebar

 


No comments:

Post a Comment

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