diff options
| author | iamcheeseman <[email protected]> | 2026-03-19 19:55:33 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-03-19 19:55:33 -0400 |
| commit | a1528b5860074e29dfb6814193ff7c618caa7339 (patch) | |
| tree | cdf2a2390557837add5d14f1e775663bcb2ded1b /src/objs/player.lua | |
| parent | 49e527a25c658dedaac0c00dfaa0938d4ba4d4e3 (diff) | |
add initial velocity to specks
Diffstat (limited to 'src/objs/player.lua')
| -rw-r--r-- | src/objs/player.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/objs/player.lua b/src/objs/player.lua index 3f1e2aa..4a12334 100644 --- a/src/objs/player.lua +++ b/src/objs/player.lua @@ -101,6 +101,9 @@ function new_player(x, y) ent.speck_sys.lifetime_max = 0.6 ent.speck_sys.lifetime_min = 0.3 + ent.speck_sys.initial_velx = 100 + ent.speck_sys.initial_vely = -75 + ent.speck_sys.forcey = 1000 ent.speck_sys.bounce = true |
