History
I actually started this in C around January 2008 or so, but my bad C skills and complete non-use of OOP led to a horribly buggy and slow prototype. Recently I've been learning Java for Minecraft stuff, and decided to make a sand game with Java. So, I present to you, realSand!
Introduction
This game uses vectors for physics instead of the standard if-no-particle-below-then-move behavior, so simulation is much more realistic and modding is much more flexible. However, I tried to make it similar to the original FSGs in the way particles behave, so you can't make giant columns of sand like in the powder game, for example. Also, you can do basic modding like in most FSGs, or you can take full capability of Lua.
I know there's bad horizontal bias right now, I'll fix it later
There is no wind yet, since I have no idea how to do that, but with the vector collisions and physics it might not be too hard if I find a guide somewhere. Collisions are done with sectors for increased performance, and everything uses object-oriented programming.
Prototype
I don't want to sound like I'm making uncertain promises, so here is a download link.
Download prototype v2 (requires Java)
UPDATE at 5:10 ET:
-Added a simple GUI, now there can be more than 2 elements
-Physics speed improvements
-Minor physics changes to remove bias and fix some inaccuracies
Old Versions
Prototype 1
Controls: Left click to place sand, right for a "trampoline" element, and middle (press mouse wheel) for a kind of explosion (sort of). As I said, it's just a demonstration.
Modding
The game is already powered by Lua, but modding is not finished yet, although you're welcome to try (might be hard with two elements!) If you look in default.lua you can see what modding will eventually be like (later, this file will just be a library of functions, and user mods will be stored in separate files.) You can use addElement() and addInteraction() [not implemented yet] for basic FSG modding, or you can specify a collision function that is called every time a particle of the specified element hits any other particle. The trampoline is an example of this. I'll make a more complete guide to modding as I add more features and the game is closer to finished.
Please try it, and tell me if you like it! I'm going to hopefully update often.





