Adjust jump speed

main
En Yi 2024-11-09 12:56:40 +08:00
parent 214025bc81
commit c33f6f0df0
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
#define DELTA_T 0.017
#define GRAV_ACCEL 1500
#define JUMP_SPEED 70
#define JUMP_SPEED 600
#define MOVE_ACCEL 1300
#ifndef TILE16_SIZE

View File

@ -75,7 +75,7 @@ Entity_t* create_player(EntityManager_t* ent_manager)
p_ct->shape_factor = (Vector2){1, 1};
CJump_t* p_cjump = add_component(p_ent, CJUMP_COMP_T);
p_cjump->jump_speed = 680;
p_cjump->jump_speed = JUMP_SPEED;
p_cjump->jumps = 1;
p_cjump->max_jumps = 1;
p_cjump->jump_ready = true;