Skip to content

Commit

Permalink
Jump animation and speed adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
gregchan550 committed Sep 19, 2023
1 parent fbaf223 commit 7d863df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class DemonBossTask extends DefaultTask implements PriorityTask {

// Constants
private static final int PRIORITY = 3;
private static final Vector2 DEMON_JUMP_SPEED = new Vector2(2f, 2f);
private static final Vector2 DEMON_JUMP_SPEED = new Vector2(1f, 1f);
private static final float STOP_DISTANCE = 0.1f;
private static final int BURN_BALLS = 5;
private static final int X_LENGTH = 20; // for projectile destination calculations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static Entity createDemonBoss() {
animator.addAnimation("demon_death", 0.2f, Animation.PlayMode.LOOP);
animator.addAnimation("demon_fire_breath", 0.2f, Animation.PlayMode.LOOP);
animator.addAnimation("demon_idle", 0.2f, Animation.PlayMode.LOOP);
animator.addAnimation("demon_smash", 0.10f, Animation.PlayMode.LOOP);
animator.addAnimation("demon_smash", 0.2f, Animation.PlayMode.LOOP);
animator.addAnimation("demon_take_hit", 0.2f, Animation.PlayMode.LOOP);
animator.addAnimation("demon_walk", 0.2f, Animation.PlayMode.LOOP);
animator.addAnimation("idle", 0.2f, Animation.PlayMode.LOOP);
Expand Down

0 comments on commit 7d863df

Please sign in to comment.