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.
8ec0f41fb1
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). |
||
---|---|---|
build | ||
font | ||
includes | ||
src | ||
.gitattributes | ||
.gitignore | ||
Changelog | ||
LICENSE | ||
Makefile | ||
README |
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)