2017-04-22 06:09:23 -05:00
|
|
|
# Platformer
|
|
|
|
|
|
|
|
This example demostrates a way to put things together and create a simple platformer game with a
|
|
|
|
Gopher!
|
|
|
|
|
2017-04-22 08:56:56 -05:00
|
|
|
Use **arrow keys** to run and jump around. Press **ENTER** to restart. (And hush, hush, secret.
|
2017-04-22 07:22:09 -05:00
|
|
|
Press TAB for slo-mo!)
|
|
|
|
|
2017-04-22 06:09:23 -05:00
|
|
|
The pixel art 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](https://github.com/egonelbre/gophers).
|
|
|
|
|
2017-04-22 06:11:26 -05:00
|
|
|
![Screenshot](screenshot.png)
|