|
|
|
@ -7,23 +7,23 @@
|
|
|
|
|
#define PLAYER_MASS 0.5f
|
|
|
|
|
#define PLAYER_JETPACK_FORCE 2.0f
|
|
|
|
|
// #define PLAYER_JETPACK_FORCE 20.0f
|
|
|
|
|
#define PLAYER_JETPACK_SPICE_PER_SECOND 0.3f
|
|
|
|
|
#define PLAYER_JETPACK_SPICE_PER_SECOND 0.1f
|
|
|
|
|
#define MAX_HAND_REACH 1.0f
|
|
|
|
|
#define GOLD_COLLECT_RADIUS 0.3f
|
|
|
|
|
#define BUILD_BOX_SNAP_DIST_TO_SHIP 0.2f
|
|
|
|
|
#define BOX_MASS 1.0f
|
|
|
|
|
#define COLLISION_DAMAGE_SCALING 0.15f
|
|
|
|
|
#define THRUSTER_FORCE 4.0f
|
|
|
|
|
#define THRUSTER_ENERGY_USED_PER_SECOND 0.05f
|
|
|
|
|
#define THRUSTER_FORCE 8.0f
|
|
|
|
|
#define THRUSTER_ENERGY_USED_PER_SECOND 0.005f
|
|
|
|
|
#define VISION_RADIUS 16.0f
|
|
|
|
|
#define MAX_BYTES_SIZE 1024 * 36 // maximum size of serialized gamestate buffer
|
|
|
|
|
#define MAX_BYTES_SIZE 1024 * 128 // maximum size of serialized gamestate buffer
|
|
|
|
|
#define SUN_RADIUS 10.0f
|
|
|
|
|
#define INSTANT_DEATH_DISTANCE_FROM_SUN 300.0f
|
|
|
|
|
#define SUN_POS ((V2){50.0f,0.0f})
|
|
|
|
|
#define SUN_GRAVITY_STRENGTH (5.0e3f)
|
|
|
|
|
#define SOLAR_ENERGY_PER_SECOND 0.02f
|
|
|
|
|
#define DAMAGE_TO_PLAYER_PER_BLOCK 0.1f
|
|
|
|
|
#define BATTERY_CAPACITY DAMAGE_TO_PLAYER_PER_BLOCK
|
|
|
|
|
#define BATTERY_CAPACITY DAMAGE_TO_PLAYER_PER_BLOCK*0.7f
|
|
|
|
|
#define PLAYER_ENERGY_RECHARGE_PER_SECOND 0.1f
|
|
|
|
|
#define EXPLOSION_TIME 0.5f
|
|
|
|
|
#define EXPLOSION_PUSH_STRENGTH 5.0f
|
|
|
|
|