TheTomster/sandish
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
3D FALLING SAND INSTALLATION None required, simply unzip everything to a nice clean folder, and run build/sandish.exe COMPILATION Because of the crazy build setup and prerequisites, it's probably better to look at the source and enjoy the precompiled binary I'm providing. If you really want to compile the code, you'll need CMake. I used MinGW to compile. You'll need to have Lua, GLFW, and GL3W compiled and ready to go in order to build this project. Assuming you have all prerequisites, cd to the project source directory and run: rm -rf build/* cd build cmake .. make RUNNING I tested on Windows 7, with an ATI Radeon HD4850. It is /not/ portable to other operating systems. To run, simply run build/sandish.exe. If all resources are located properly, it should work. One problem I've come across is that on some computers, it seems to have trouble locating main.lua. I was unable to determine why this would happen (works fine on many computers, the files were present, etc etc). Also due to some differences in OpenGL implementations, I saw some issues running on Nvidia cards. I think all of those issues have been resolved. Once the program starts, you should see a floor. This marks the bottom of the cube. Use the WASD keys to move the camera. Use the mouse to look around. If you move closer to the cube, you should see a floating cube appear. This is your cursor. When you click, cubes will be added to the simulation at the cursor. By default, you'll add sand. To change the current cube type, press the keys 1-4. 1 sand 2 water 3 concrete 4 worker
About
3d falling sand
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published