First upload

Basic port complete - ESP32 specific features coming soon
This commit is contained in:
bdring
2018-03-19 08:31:45 -05:00
parent 629d362777
commit 23df267c9f
13 changed files with 3048 additions and 0 deletions

15
settings.h Normal file
View File

@@ -0,0 +1,15 @@
// PLAYER
#define MAX_PLAYER_SPEED 10 // Max move speed of the player
#define LIVES_PER_LEVEL 3 // default lives per level
// JOYSTICK
#define JOYSTICK_ORIENTATION 1 // 0, 1 or 2 to set the axis of the joystick
#define JOYSTICK_DIRECTION 1 // 0/1 to flip joystick direction
#define ATTACK_THRESHOLD 30000 // The threshold that triggers an attack
#define JOYSTICK_DEADZONE 8 // Angle to ignore
// AUDIO
#define MAX_VOLUME 20 // 0 to 255
#define DAC_AUDIO_PIN 25 // should be 25 or 26 only
//TODO ... move all the settings to this file.