platformer

command module
v0.0.0-...-f4fbe18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2023 License: CC0-1.0, MIT Imports: 7 Imported by: 0

README

platformer Platformer

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

platformer-preview

Running

To run the example from sources do the following command:

go run github.com/sedyh/mizu/examples/platformer@master

Please remember that @master only works since Go 17.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
helper
geo
num

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL