2018-09-07 11:00:48 -05:00
|
|
|
## Pixel Examples
|
|
|
|
|
|
|
|
This repository contains a few examples demonstrating [Pixel](https://github.com/faiface/pixel)'s functionality.
|
|
|
|
|
2021-04-30 21:24:49 -05:00
|
|
|
**To run an example**, navigate to its directory, then `go run` the `main.go` file. For example:
|
2018-09-07 11:00:48 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
$ cd platformer
|
|
|
|
$ go run main.go
|
|
|
|
```
|
|
|
|
|
|
|
|
Here are some screenshots from the examples!
|
|
|
|
|
|
|
|
| [Lights](lights) | [Platformer](platformer) |
|
|
|
|
| --- | --- |
|
|
|
|
| ![Lights](lights/screenshot.png) | ![Platformer](platformer/screenshot.png) |
|
|
|
|
|
|
|
|
| [Smoke](smoke) | [Typewriter](typewriter) |
|
|
|
|
| --- | --- |
|
|
|
|
| ![Smoke](smoke/screenshot.png) | ![Typewriter](typewriter/screenshot.png) |
|
|
|
|
|
|
|
|
| [Raycaster](community/raycaster) | [Starfield](community/starfield) |
|
|
|
|
| --- | --- |
|
|
|
|
| ![Raycaster](community/raycaster/screenshot.png) | ![Starfield](community/starfield/screenshot.png) |
|