|
|
|
@ -233,7 +233,7 @@ player_st get_player(int x, int y) {
@@ -233,7 +233,7 @@ player_st get_player(int x, int y) {
|
|
|
|
|
player.physics->position.x = x; |
|
|
|
|
player.physics->position.y = y; |
|
|
|
|
player.physics->next_position = player.physics->position; |
|
|
|
|
player.physics->obj_elasticity = 0.9; |
|
|
|
|
player.physics->obj_elasticity = 0.5; |
|
|
|
|
player.physics->obj_friction = 0.2; |
|
|
|
|
|
|
|
|
|
// friction (not in use)
|
|
|
|
@ -579,7 +579,7 @@ void next_level() {
@@ -579,7 +579,7 @@ void next_level() {
|
|
|
|
|
destroy_physics_collection(&world.uniques_index[ROOM_W]->room->floor); |
|
|
|
|
destroy_environment(&world.uniques_index[ROOM_W]->room->env); |
|
|
|
|
|
|
|
|
|
level+= 31;; |
|
|
|
|
level *= 7;; |
|
|
|
|
get_floor_ceiling(); |
|
|
|
|
|
|
|
|
|
v = world.uniques_index[ROOM_W]->room->ceil.items[2]->collision_poly[0]; |
|
|
|
|