Change the jump() condition from checking velocity to detecting whether the character's feet are touching a platform. This prevents mid-air jumps and makes jump behavior more intuitive for platformer gameplay.
8 lines
107 B
Markdown
8 lines
107 B
Markdown
## How to run
|
|
|
|
Simply run:
|
|
```python
|
|
python3 -m http.server 8081
|
|
```
|
|
|
|
Inside of the project's cloned folder |