Logo
Explore Help
Register Sign In
humza/sml-projects
1
0
Fork 0
You've already forked sml-projects
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
1017bf1b7ad3bc892b4f50cedb9a7ca2c6b0b9a1
sml-projects/fcore/player.sml
Humza Shahid 1017bf1b7a cache 'jumpPressed' state inside player type. We use this boolean to check if the player has jumped before. If they have jumped before, then holding the up button does not cause another jump when falling down (unlike before this commit)
2024-12-14 21:05:51 +00:00

6.7 KiB
Raw Blame History

View Raw
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 32ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API