command
module
Version:
v0.0.0-...-89ec988
Opens a new window with list of versions in this module.
Published: Aug 2, 2024
License: CC0-1.0, MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
An example of a platformer with collision detection and resolution based on SweptAABB.
- Use WASD to control the player, space to jump, - and + to zoom in and out.
- The player and the crate will collide with tiles and each other.
Limitations:
- Only linear movement.
- No resizing while movement.
- Dynamic vs static detection and resolution.
Contents
Preview
Running
To run the example from sources do the following command:
go run github.com/seppedelanghe/mizu/examples/platformer@master
Please remember that @master only works since Go 17.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
|
|
helper
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.