aboutsummaryrefslogtreecommitdiff
path: root/src/objs
diff options
context:
space:
mode:
Diffstat (limited to 'src/objs')
-rw-r--r--src/objs/player.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/objs/player.lua b/src/objs/player.lua
index 5c7da0f..6d15058 100644
--- a/src/objs/player.lua
+++ b/src/objs/player.lua
@@ -45,6 +45,7 @@ local function player_normal_state_update(player, state, dt)
player.vy = -PLAYER_JUMP_FORCE
player.jumps = player.jumps - 1
new_speck_entity(player.x, player.y, "res/speck/test.speck.lua")
+ player.camera:shake(12, 0.1)
end
end
if not is_input_pressed("Jump") and player.vy < -100 then