Written in C++ and using SDL, The Powder Toy is a desktop version of the classic 'falling sand' physics sandbox, it simulates air pressure and velocity as well as heat.
Go to file
2013-01-26 18:04:24 +00:00
data Sample tool, fixes #122 2012-08-17 13:40:10 +01:00
resources Icons for OS X 2012-09-26 14:43:24 +01:00
site_scons/site_tools Very very basic wall rendering for opengl 2012-08-14 23:18:39 -04:00
src Piston fix: Adjust colour and prevent piston from pushing too far when there's empty space 2013-01-26 18:04:24 +00:00
tptlibrary Hooked more functions to VM. 2012-09-15 21:34:27 +07:00
.gitattributes Fix gitattributes file 2012-08-21 13:37:06 +01:00
.gitignore typing '~' doesn't close the lua console 2013-01-25 22:57:51 -05:00
Changelog.txt Initial 2012-01-08 17:39:03 +00:00
generator.py Update generator to support derived element classes (In the form of Element_TWO:Element_ONE where Element_TWO derives from Element_ONE) 2012-08-24 12:52:17 +01:00
LICENSE Add missing license file (GPLv3) 2012-05-24 19:01:00 +01:00
README add (slightly updated) README from tpt 2012-11-16 18:20:48 -05:00
SConscript Small fixes to Sconscript 2013-01-22 20:08:36 +00:00
SConstruct move clipboard functions out of misc.cpp without creating errors 2013-01-18 14:37:24 -05:00
SDLMain.h Remove QTCreator project files 2012-05-13 14:30:00 +01:00
SDLMain.m Remove QTCreator project files 2012-05-13 14:30:00 +01:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The Powder Toy - November 2012

Get the latest version here:  http://powdertoy.co.uk/Download.html

To use online features such as saving, you need to register at: http://powdertoy.co.uk/Register.html


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. Tpt is compiled using scons.


Thanks:
---------------------------------------------------------------------------

Stanislaw K Skowronek - Designed the original
Simon Robertshaw
Skresanov Savely
cracker64
Catelite
Bryan Hoyle
Nathan Cousins
jacksonmj
Lieuwe Mosch
Anthony Boot
Matthew Miller
MaksProg
jacob1


Instructions:
---------------------------------------------------------------------------

Click on the elements with the mouse and draw in the field, like in MS Paint. The rest of the game is learning what happens next.


Controls:
---------------------------------------------------------------------------


TAB 				Switch between circle/square/triangle brush
Space 			Pause
Q 				Quit
Esc 				Quit
Z 				Zoom
S 				Save stamp (+ Ctrl when STK2 is out)
L 				Load last saved stamp
K 				Stamp library
1-9 				Set view mode
P 				Save screenshot to .png
F 				Pause and go to next frame
G 				Increase grid size
Shift + G			Decrease grid size
H 				Show/Hide HUD
Ctrl + H			Show intro text
F1				Show intro text
D 				Debug mode (+ Ctrl when STK2 is out)
I 				Invert Pressure and Velocity map
W 				Toggle gravity modes (+ Ctrl when STK2 is out)
Y				Toggle air modes
Ctrl + B			Toggle decorations on/off
U				Toggle ambient heat on/off
Ctrl + I			Install powder toy, for loading saves/stamps by double clicking
~ 				Console
= 				Reset pressure and velocity map
Ctrl + = 				Reset Electricity
[ 				Decrease brush size
] 				Increase brush size
Alt + [			Decrease brush size by 1
Alt + ]			Increase brush size by 1

Ctrl + C/V/X 			Copy/Paste/Cut
Ctrl + Z 				Undo
Ctrl + Cursor drag 		Rectangle
Shift + Cursor drag 		Line
Middle click			Sample element
Alt + Left click 		Sample element
Mouse scroll 			Change brush size
Ctrl + Mouse scroll 		Change vertical brush size
Shift + Mouse scroll		Change horizontal brush size
Shift + Ctrl + R 		Horizontal mirror for selected area
Ctrl + R 				Rotate selected area counterclockwise

Only the left Ctrl, Shift, and Alt buttons are enabled to work, not the ones on the right


Command Line:
---------------------------------------------------------------------------

scale:1		Normal window resolution
scale:2		Doubled window resolution
kiosk			Fullscreen mode
proxy:server[:port]	Proxy server to use [Example: proxy:wwwcache.lancs.ac.uk:8080]
open <file>		Opens the file as a stamp or game save
ddir <directory>	Directory used for saving stamps and preferences
ptsave:<save id>#<name(Optional)> (ex. ptsave:2198#Destroyable_city_5_wth_metro~dima-gord)