28 March 2021

Scaffolding: Progress Review | Friday Night Funkin'

My controller is a microphone case with the CPE and a power supply built inside. The CPE will make use of the accelerometer on board to take 4 different inputs of up, down, left, and right which will be mapped to the WASD keys for input in the game. The game I’m using is Friday Night Funkin, an indie rhythm game. I also plan to use a potentiometer to adjust the volume in the game.

#include <Servo.h>

#include <Adafruit_CircuitPlayground.h>

#include <Adafruit_Circuit_Playground.h>

#include <Keyboard.h>

 

/*

Code by Austin Owens

---------------------------------------

Alternative Controller for Friday Night Funkin'

*/

 

//initiate variables

 

void setup() {

  Serial.begin(9600);

  Keyboard.begin(); }

 

void loop() {

  //check for angle of accelerometer

  //apply inputs of W, A, S, and D based on accelerometer output

  //take input from potentiometer

  //write potentiometer to volume in-game }


Is it possible to make the unit entirely self-contained? With a power supply and somehow using bluetooth or something similar to connect it to the PC?


With a game as simple as this as far as controls go, what can I do to make the controller more interesting?

 

No comments:

Post a Comment

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