25 lines
791 B
Markdown
25 lines
791 B
Markdown
## Pixel Examples
|
|
|
|
This repository contains a few examples demonstrating [Pixel](https://github.com/faiface/pixel)'s functionality.
|
|
|
|
**To run an example**, navigate to its directory, then `go run` the `main.go` file. For example:
|
|
|
|
```
|
|
$ 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) |
|