Fix orb spawning

main
Cameron Murphy Reikes 2 years ago
parent f368aecfd6
commit c57b317006

@ -2308,10 +2308,7 @@ void create_initial_world(GameState *gs)
} }
for(int x = -10; x > -1000; x -= 20) for(int x = -10; x > -1000; x -= 20)
{ {
for(int i = -20; i < 20; i++) ORB_AT(cpv(x, 0.0));
{
ORB_AT(cpv(x, (double)i * 100.0));
}
} }
create_bomb_station(gs, (cpVect){800.0, 800.0}, BoxExplosive); create_bomb_station(gs, (cpVect){800.0, 800.0}, BoxExplosive);
// create_hard_shell_station(gs, (cpVect){800.0, 400.0}, BoxGyroscope); // create_hard_shell_station(gs, (cpVect){800.0, 400.0}, BoxGyroscope);

@ -39,9 +39,9 @@
#define ORB_HEAT_FORCE_MULTIPLIER 5.0 #define ORB_HEAT_FORCE_MULTIPLIER 5.0
#define ORB_DRAG_CONSTANT 1.0 #define ORB_DRAG_CONSTANT 1.0
#define ORB_FROZEN_DRAG_CONSTANT 10.0 #define ORB_FROZEN_DRAG_CONSTANT 10.0
#define ORB_HEAT_MAX_DETECTION_DIST 80.0 #define ORB_HEAT_MAX_DETECTION_DIST 500.0
#define ORB_HEAL_RATE 0.2 #define ORB_HEAL_RATE 0.2
#define ORB_MAX_FORCE 160.0 #define ORB_MAX_FORCE 200.0
#define SCANNER_ENERGY_USE 0.05f #define SCANNER_ENERGY_USE 0.05f
#define MAX_HAND_REACH 1.0f #define MAX_HAND_REACH 1.0f

Loading…
Cancel
Save