platformer

command
v0.0.0-...-b0a6657 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 15 Imported by: 0

README

Platformer

This example demostrates a way to put things together and create a simple platformer game with a Gopher!

Use arrow keys to run and jump around. Press ENTER to restart. (And hush, hush, secret. Press TAB for slo-mo!)

The retro feel is, other than from the pixel art spritesheet, achieved by using a 160x120px large off-screen canvas, drawing everything to it and then stretching it to fit the window.

The Gopher spritesheet comes from excellent Egon Elbre.

Screenshot

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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