Skip to content

GameEngineering/EP01_SandSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recreating Noita's Falling Sand Simulation | Game Engineering - EP01

https://www.youtube.com/watch?v=VLZjd_Y1gJ8

Inspired by Noita, this is a simple "falling sand" simulation to demonstrate the mechanics and ideas behind Cellular Automata.

Building

NOTE(john): Currently requires at least OpenGL v3.3 to run. This will be addressed in the future to allow for previous opengl versions.

  • windows:
    • You'll need to have Visual Studio 2015 or greater.
    • From start menu, search for "x64 Native Tool Command Prompt for {Insert your Version Here}"
    • Navigate to where you have EP01_SandSim repo placed
    • run proc\win\cl.bat
    • The executable will be placed in bin\
    • run bin\SandSim.exe
  • mac:
    • You'll need gcc
    • From the terminal, cdinto the root directory for this project.
    • run bash ./proc/osx/gcc.sh
    • The exectuable will be placed in bin/
    • run ./bin/SandSim
  • linux:
    • You'll need gcc
    • From the terminal, cd into the root directory for this project.
    • run bash ./proc/linux/gcc.sh
    • The exectuable will be placed in bin/
    • run ./bin/SandSim

Controls

  • [: Decrease paint tool radius
  • ]: Increase paint tool radius
  • c: Clear canvas of all particles
  • i: Enable/Disable all UI
  • p: Pause simulation
  • b: Enable/Disable post-processing
  • esc: Quit application
  • Left click mouse to paint particles into scene
  • Right click mouse to erase particles from scene
  • The user can drag & drop images into the program. Any .png, .jpeg/.jpg images will work.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages