diff options
| author | Jakob L. Kreuze <jakob@memeware.net> | 2018-10-26 14:13:54 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze <jakob@memeware.net> | 2018-10-26 14:13:54 -0400 |
| commit | a610d4f3c513107135ece5276afffa4223c7ee4b (patch) | |
| tree | 5bf84c3afe6608f3b3582240587a29f86b9d7c3e /player.fnl | |
| parent | 558d16e8b2577f9c698a75b833dfc08af4133db9 (diff) | |
Rest of greetz and maps. Game is essentially complete
Diffstat (limited to 'player.fnl')
| -rw-r--r-- | player.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ (fn bounce [player x-normal y-normal] (tset player :x-vel (- (* 8 x-normal) (. player :x-vel))) - (tset player :y-vel (- (math.abs (* 8 y-normal)) (. player :y-vel)))) + (tset player :y-vel (- (. player :y-vel) (math.abs (* 8 y-normal))))) (fn face-upwards [player] (tset player :action :sliming-up true)) |