diff --git a/game/assets/levels/level_0/appearing_platforms.png b/game/assets/levels/level_0/appearing_platforms.png index f2b35f9..7707af4 100644 Binary files a/game/assets/levels/level_0/appearing_platforms.png and b/game/assets/levels/level_0/appearing_platforms.png differ diff --git a/game/assets/levels/level_0/colliders.json b/game/assets/levels/level_0/colliders.json index 66a3756..ac6287c 100644 --- a/game/assets/levels/level_0/colliders.json +++ b/game/assets/levels/level_0/colliders.json @@ -1,44 +1,27 @@ [ { "x": -500, - "y": 1000, + "y": 760, "width": 16000, "height": 10 }, { - "x": 322, - "y": 926, - "width": 610, - "height": 73 + "x": 834, + "y": 592 + , + "width": 415, + "height": 54 }, { - "x": 852, - "y": 823, - "width": 81, - "height": 178 + "x": 1385, + "y": 374, + "width": 415, + "height": 54 }, { - "x": 852, - "y": 823, - "width": 258, - "height": 33 - }, - { - "x": 1599, - "y": 699, - "width": 918, - "height": 63 - }, - { - "x": 2733, - "y": 789, - "width": 108, - "height": 211 - }, - { - "x": 1110, - "y": 942, - "width": 366, - "height": 57 + "x": 1808, + "y": 376, + "width": 59, + "height": 379 } ] diff --git a/game/assets/levels/level_0/disappearing_platforms.png b/game/assets/levels/level_0/disappearing_platforms.png index 3e1666c..06f75ca 100644 Binary files a/game/assets/levels/level_0/disappearing_platforms.png and b/game/assets/levels/level_0/disappearing_platforms.png differ diff --git a/game/assets/levels/level_0/level0.xcf b/game/assets/levels/level_0/level0.xcf new file mode 100644 index 0000000..186b613 Binary files /dev/null and b/game/assets/levels/level_0/level0.xcf differ diff --git a/game/assets/levels/level_0/platforms.png b/game/assets/levels/level_0/platforms.png index cfa8c08..1bc3431 100644 Binary files a/game/assets/levels/level_0/platforms.png and b/game/assets/levels/level_0/platforms.png differ diff --git a/game/assets/levels/level_0/zones.json b/game/assets/levels/level_0/zones.json index f5f518d..10fb295 100644 --- a/game/assets/levels/level_0/zones.json +++ b/game/assets/levels/level_0/zones.json @@ -1,28 +1,34 @@ { "appear": [ { - "x": 1110, - "y": 942, - "width": 366, - "height": 57 + "x": 8130, + "y": 0, + "width": 56, + "height": 442 + }, + { + "x": 9867, + "y": 698, + "width": 447, + "height": 58 } ], "disappear": [ { - "x": 792, - "y": 462, - "width": 54, - "height": 468 + "x": 2079, + "y": 0, + "width": 61, + "height": 378 }, { - "x": 2005, - "y": 641, - "width": 141, - "height": 289 + "x": 8131, + "y": 440, + "width": 56, + "height": 313 } ], "win": { - "x": 3000, + "x": 12000, "y": 0, "width": 100, "height": 3000 diff --git a/game/src/character/mod.rs b/game/src/character/mod.rs index a02853b..4ee74e9 100644 --- a/game/src/character/mod.rs +++ b/game/src/character/mod.rs @@ -72,7 +72,7 @@ impl MainCharacter { // Handle extra external forces based on the character state self.movement_force = match &state { CharacterState::Running => Vector2::new(10.0, 0.0), - CharacterState::Jumping => Vector2::new(10.0, -30.0), + CharacterState::Jumping => Vector2::new(10.0, -40.0), CharacterState::Dashing => Vector2::new(30.0, -20.0), };