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.
This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2012-08-10 18:57:53 -06:00
build Remove Python console stuff 2011-10-26 14:50:50 +01:00
font Font editor makefile for Windows 2012-01-31 12:35:18 +00:00
includes Give menu color to elements without one (stickmen, TRON, and WARP) The color is ignored, so they still look the same 2012-08-09 22:47:24 +01:00
src Fix setting ctype names in old console 2012-08-10 20:56:57 +01:00
.gitattributes Added '.gitattributes' file s that '.gitignore' won't be included in archives that are created with 'git archive' 2012-05-26 22:23:05 +01:00
.gitignore Add Visual Studio project files to gitignore 2012-05-30 16:09:11 +01:00
LICENSE Change license from GPLv2+ to GPLv3+ 2012-05-06 02:20:57 +01:00
Makefile Compiler flag for gravity.c, to fix FFTW crash due to misaligned stack on Windows 2012-01-15 06:26:26 +08:00
README Removed History 2012-08-10 18:57:53 -06:00

The Powder Toy - August 2012

Get 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


Thanks:

---------------------------------------------------------------------------

Stanislaw K Skowronek - Designed the original
Simon Robertshaw
Skresanov Savely
cracker64
Bryan Hoyle
Nathan Cousins
jacksonmj
Lieuwe Mosch
Anthony Boot
Matthew Miller
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:

---------------------------------------------------------------------------

Caps Lock 	Specific Element Erase
Insert 	Replace mode
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
C 		Cycle view mode
1-9 		Set view mode
P 		Save screenshot to .ppm
F 		Pause and go to next frame
G 		Grid
H 		Show/Hide HUD
Ctrl + H	Show intro text
F1		Show intro text
D 		Debug mode (+ Shift when STK2 is out)
I 		Invert Pressure and Velocity map
T 		Vine mode
W 		Toggle gravity modes (+ Ctrl when STK2 is out)
Y		Toggle air modes
R 		Reset LIFE generation
N		"Sand effect" for drawing powders
B		Decoration editor
Ctrl + B	Toggle decorations on/off
U		Toggle ambient heat on/off
M		switch left and right selected elements
E       Element search
Ctrl + I	Install powder toy for loading saves/stamps by double clicking
~ 		Console
= 		Reset pressure and velocity map
[ 		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
MMB / Alt + LMB 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
Ctrl + Left Alt			Select element for Specific Element erase
Ctrl + = 				Reset Electricity


Command Line:

---------------------------------------------------------------------------

scale:1 - Normal window resolution
scale:2 - Doubled window resolution
kiosk -   Fullscreen mode
proxy:<server>:<port> (ie, 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
nohud - disables the hud
sound - enable sound to be played from console
scripts - enable scripts to be run from old console
ptsave:<save id>#<name, optional> (ex. ptsave:2198#Destroyable_city_5_wth_metro~dima-gord)