go-opengl-pixel/examples/platformer
faiface 2afe44a9c9 add instructions to platformer readme 2017-04-22 14:22:09 +02:00
..
README.md add instructions to platformer readme 2017-04-22 14:22:09 +02:00
main.go adjust camera movement in platformer example 2017-04-22 14:20:51 +02:00
screenshot.png add platformer example 2017-04-22 13:09:23 +02:00
sheet.csv add platformer example 2017-04-22 13:09:23 +02:00
sheet.png add platformer example 2017-04-22 13:09:23 +02:00

README.md

Platformer

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

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

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.

Screenshot