The Powder Toy is a desktop version of the classic 'falling sand' physics sandbox, it simulates air pressure and velocity as well as heat.
http://powdertoy.co.uk/
Get the latest version from the Powder Toy website.
To use online features such as saving, you need to register an account. You can also visit the official TPT forum.
Have you ever wanted to blow something up? Or maybe you always dreamt of operating an atomic power plant? Do you have a will to develop your own CPU? The Powder Toy lets you to do all of these, and even more!
The Powder Toy is a free physics sandbox game, which simulates air pressure and velocity, heat, gravity and a countless number of interactions between different substances! The game provides you with various building materials, liquids, gases and electronic components which can be used to construct complex machines, guns, bombs, realistic terrains and almost anything else. You can then mine them and watch cool explosions, add intricate wirings, play with little stickmen or operate your machine. You can browse and play thousands of different saves made by the community or upload your own – we welcome your creations!
There is a Lua API – you can automate your work or even make plugins for the game. The Powder Toy is free and the source code is distributed under the GNU General Public License, so you can modify the game yourself or help with development.
Build instructions
See the Powder Toy Development Help section on the main page of the wiki.
from https://github.com/The-Powder-Toy/The-Powder-Toy
----
Compiling for MacOS
Tested on MacOS 10.15 and 11.5.
Required environment setup
- install Homebrew (get it here)
- in a terminal, execute the following commands
- if for some reason you cannot or do not want to use luajit (e.g. because homebrew does not have prebuilt binaries for your architecture), install your lua package of choice instead and set the
lua
build option accordingly; see Build options
- if for some reason you cannot or do not want to use luajit (e.g. because homebrew does not have prebuilt binaries for your architecture), install your lua package of choice instead and set the
brew install pkg-config luajit fftw sdl2 meson ninja cd [wherever you keep your repositories] git clone https://github.com/The-Powder-Toy/The-Powder-Toy
Building for the first time
cd
to the repository root and execute the following commands
meson build-debug cd build-debug ninja
- you may see a few warnings throughout all of this, but no errors (if you do at any stage, do not try to skip it; ask us about it on the forum instead)
- if you are not sure, run Ninja again; if it says "no work to do", everything worked fine
- at this point, running TPT from the prompt should be possible
./powder
from https://powdertoy.co.uk/Wiki/W/Building_TPT_with_Meson.html#Compiling_for_MacOS
----
https://powdertoy.co.uk/Download/powder.dmg
from https://powdertoy.co.uk/Download.html
No comments:
Post a Comment