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
jacksonmj 8ec0f41fb1 Powered pipe, based on jacob1's commits
PSCN to turn on, NSCN to turn off, INST to reverse.

Differences from jacob1's commit include: flood fill function that
includes 1px diagonal pipes, powered/reversed state stored in tmp
instead of flags, sparks from PSCN/NSCN/INST always take effect the
following frame, single pixel pipe directions are a number from 0 to 7
so "if(coords)" does not check whether one is set (store another
"transfers according to 1px pipe direction" bit for reverse flow).
2012-08-13 23:48:55 +01: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 Powered pipe, based on jacob1's commits 2012-08-13 23:48:55 +01:00
src Powered pipe, based on jacob1's commits 2012-08-13 23:48:55 +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
Changelog Moved history to Changelog, as it was getting to be a little too long. 2012-08-10 19:05:34 -06: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 Moved history to Changelog, as it was getting to be a little too long. 2012-08-10 19:05:34 -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
N				Toggle pretty powders
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]	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
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)