Skip to content

Commit

Permalink
Volume of hit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikketer committed Jul 18, 2024
1 parent e3fe313 commit 0211913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enemy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
type EnemyTarget = { sprite: Sprite, health: number, hit: (who: Enemy, amount: number) => void }

class Enemy {
static hitSound: music.SoundEffect = music.createSoundEffect(WaveShape.Noise, 1839, 287, 150, 0, 150, SoundExpressionEffect.Warble, InterpolationCurve.Logarithmic)
static hitSound: music.SoundEffect = music.createSoundEffect(WaveShape.Noise, 1839, 287, 255, 70, 150, SoundExpressionEffect.Warble, InterpolationCurve.Logarithmic)

public sprite: Sprite
public health: number = 1
Expand Down

0 comments on commit 0211913

Please sign in to comment.