An open API service indexing awesome lists of open source software.

https://github.com/mrmarble/sandbox

Sand simulation game
https://github.com/mrmarble/sandbox

ebiten ebitengine pixel sandbox-game

Last synced: 7 months ago
JSON representation

Sand simulation game

Awesome Lists containing this project

README

          

# Sandbox
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/mrmarble/sandbox)
[![Ebitengine](https://img.shields.io/badge/Ebitengine-v2-blue?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAtElEQVRYR+2WQQ6AIAwErR/Rgz5JH6lP0oN+xBovhjTA2gDhYDkDnexuC9RUXlS5fmMA2RXYp+5iovdeYuZhPduQ1dkBtrlnWWxcjmAdAyiuwJOBWCaKA/jC52bCANQKyD7XjnI5F9QAvj7X9L3cawBQAd9sd/satRnKCAT44nnRDPwPQOs5mvXqDJSWHM4BA0AKpHqexYLYHw+FzgCgAui9R//8ZAu0F6Tuh49RagF0vjrADVRzjyHVeT2EAAAAAElFTkSuQmCC)](https://ebitengine.org/)
![Lines of code](https://img.shields.io/tokei/lines/github/mrmarble/sandbox)
[![Go Report Card](https://goreportcard.com/badge/github.com/mrmarble/sandbox)](https://goreportcard.com/report/github.com/mrmarble/sandbox)
[![GitHub deployments](https://img.shields.io/github/deployments/mrmarble/sandbox/github-pages?label=deployment)](https://mrmarble.dev/sandbox/)

Simple sandbox simulation "game" written in Go using the [Ebitengine](https://ebitengine.org/) game engine.

## Online demo

You can try it out [here](https://mrmarble.dev/sandbox/).
> Note: The web version is not as performant as the desktop version.

## Controls

- Left click: Spawn a particle
- Wheel: Change brush size
- P: Toggle pause
- .: Advance one frame (when paused)
- D: Show debug info
- T: Toggle temperature effect
- Space: Clear the screen

## References
- https://powdertoy.co.uk/
- https://blog.winter.dev/2020/falling-sand-games/
- https://github.com/JMS55/sandbox
- https://github.com/hajimehoshi/ebiten/tree/main/examples
- https://github.com/divVerent/aaaaxy