diff options
| author | ne_mene <[email protected]> | 2026-03-17 22:06:18 +0100 |
|---|---|---|
| committer | ne_mene <[email protected]> | 2026-03-17 22:06:18 +0100 |
| commit | b865e92251b4a122aa811be025cf5ee1b5205674 (patch) | |
| tree | 34b7c07a749b4afea8532560653b6755f4eab0f2 /src/objs/player.lua | |
| parent | 27b53e9fdfd3b7f758236657e93e0bc524149603 (diff) | |
speck bounce
Diffstat (limited to 'src/objs/player.lua')
| -rw-r--r-- | src/objs/player.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/objs/player.lua b/src/objs/player.lua index 4f05c3b..3f1e2aa 100644 --- a/src/objs/player.lua +++ b/src/objs/player.lua @@ -96,6 +96,13 @@ function new_player(x, y) add_comp(ent, "Player") add_comp(ent, "Speck_System") + ent.speck_sys.interval = 0.05 + + ent.speck_sys.lifetime_max = 0.6 + ent.speck_sys.lifetime_min = 0.3 + + ent.speck_sys.forcey = 1000 + ent.speck_sys.bounce = true add_comp(ent, "Body", x, y, 8, 14, { offsetx = -4, |
