15 lines
591 B
C
15 lines
591 B
C
// 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.
|