Skip to content

v-atamanenko/sdl2sand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDL2Sand

SDL2Sand is another implementation of the now-classic Falling Sand Game, old-school and minimalistic. The game simulates different particles (such as sand, water, oil or fire) interacting with each other. Freedom is given to the player to experiment with different materials in a sandbox environment.

SDL2Sand is based on sdlsand by T.R. Sidor and K. Jensen. While—for now—the core gameplay stayed exactly the same, the game was ported to SDL2 and optimized to run on PlayStation Vita with better looks and performances. In the future, more gameplay elements and code refactoring/optimization work is expected.

Controls

Button Action
cross Paint with selected brush type
circl Erase
squar Enable/disable top emitters
trian Enable/disable precise cursor mode
joysl Move cursor
dpadh Change brush type
dpadv Decrease/increase pen size
selec/start Clear screen
trigl/trigr Decrease/increase top emitters density

Usage

Tap to select a brush type from the panel on the bottom part of the screen or choose one using dpadh. Then draw using either joysl analog stick and cross or touchscreen. Use circl instead of cross to erase. Use the trian button to perform more accurate cursor movements. The particles falling from the top of the screen can be disabled at any moment by pressing squar, or decreased/increased with trigl/trigr shoulder buttons.

Brush types (from left to right):

Group 1 (particles) Group 2 (emitters) Group 3 (solids) Group 4
water water waterspout water spout wall wall eraser eraser
sand sand sandspout sand spout torch torch
salt salt saltspout salt spout stove stove
oil oil oilspout oil spout plant plant
fire fire ice ice
acid acid ironwall iron wall
dirt dirt void void

Authors

  1. Thomas RenÈ Sidor (Studying computer science at the university of Copenhagen, Denmark) (Personal homepage)
  2. Kristian Jensen (Studying computer science at Roskilde University, Denmark)
  3. Artur Rojek: GCW Zero port
  4. Volodymyr Atamanenko: SDL2 and PS Vita port

Acknowledgements

  • SDL - Simple DirectMedia Library
  • CCmdLine - command line parser by Chris Losinger

Links

License

SDL2Sand is released under GPLv2 license. See the LICENSE file for details.