06 April 2022

Scaffolding Project Review

 


   The focus of my controller is on the Total War series of games.

My controller is a circuit playground attached to a USB cord and accelerometer at the bottom. Around the playground is a larger circle which is connected to it. A novelty flag switch is used to cover light sensors. The point of this novelty controller is to mitigate the problem in Total War games (specifically Total War 3) when you want your units to escape from a dangerous situation only for them to give up on doing so after a while and turn back to the doomed fight. Using the flag, one can set a direction for them and have them stay in that direction until you decide otherwise, while your attention can be focused on more pressing matters.

Is there a way to make this controller more convenient that you can think of?
Do you have suggestions for aesthetic additions?






#include <Adafruit_CircuitPlayground.h>

#include <Adafruit_Circuit_Playground.h>

#include <math.h>

//Variables {

North-light = 0

South-light = 0

East-light = 0

West-light = 0 }

//Setup {

CircuitPlayground.begin();

void loop() {

//Light Sensors

if North-light input off then move north

else do nothing

if South-light input off then move south

else do nothing

if East-light input off then move east

else do nothing

if West-light input off then move west

else do nothing


}

https://youtu.be/beGxQj0MaRg


No comments:

Post a Comment

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