Skip to content

Commit 149970a

Browse files
Updated animation speed and bonking speed™
1 parent 16ca9a5 commit 149970a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/dk/sdu/mmmi/modulemon/Collision/CollisionProcessing.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private void playBonkSound(){
7171
loader.getSoundAsset("/sounds/bonk.ogg", this.getClass()).play( ((int) settings.getSetting(SettingsRegistry.getInstance().getSoundVolumeSetting()) / 100f) / 2f);
7272
}
7373
else loader.getSoundAsset("/sounds/bonk.ogg", this.getClass()).play( );
74-
bonkCooldown = 0.5f;
74+
bonkCooldown = 0.35f;
7575
}
7676
}
7777

src/main/java/dk/sdu/mmmi/modulemon/CommonMap/Data/EntityParts/SpritePart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class SpritePart implements EntityPart {
2323
private List<Texture> rightIdleSprite;
2424

2525
private float timer = 0;
26-
private float duration = 0.25f;
26+
private float duration = 0.15f;
2727
private int frameIndex = 0;
2828

2929
private Texture currentSprite;

0 commit comments

Comments
 (0)