June 16, 2025
Improved hovering over buttons placing sand, no more placing issues on the top bar.
Last devlog before v0.2.0-alpha ship
New Rendering method that has almost double the performance (in the windows binary form), web version hasn't changed performance
Added logic for plant
Improved Buttons Colors using suit
Overhauled the build script to make it work with suit and some other complications
Made sand color random and static
Made water color random and noisy
Made basic plant element (not interacting with water yet)
Improved cursor drawing (now a perfect circle)
Improved the element calculations to alternate the directions it is being calculated from so the elements (like water) don't move more into one direction
Started using a UI library called suit to make it easier to implement more buttons for elements. Everything besides font colors are working in this screenshot.
Tried improving the water physics with various approaches but failed, reverted back to the original state
The game can now be played in the Web thanks to lovejs and makelove!
https://jamedevofficial.github.io/SandSimulation/
Centered the whole game on the x axis
Added wall element
Made a build script to build the game for windows, macos and lovejs
(Time since ACTUAL last Devlog: 1h 21min, hackclub is a bit behind)
A lot of improvements in the background that can be read on the github commits, and added some more Debug Infos and hotkeys.
Water is now fully working! It still has some little imperfections but they aren't severe, just the water spiking up if there are too many pixels of water interacting with each other. Personally, I like this feature, as it looks like waves are beeing generated from the sand falling into it or too much water appearing!
added selection for different modes:
- empty
- sand
- water
made cursor size adjustable in code
fixed some bugs causing the game to crash
Sand can now spawn and fall down. It also distributes to prevent Stacks without a Pyramide shape.
Made the basic grid system work with love2d. It is resizing to the frame width and height and always keeps a 1:1 ratio.
Had a few struggles in the beginning with setting up love2d, but after watching a youtube video instead of following a complicated and outdated guide it worked very easily.
This project teaches me Lua and löve2d. I also learned how to compile a LÖVE2D game with makelove and make it playable in the web via lovejs. It is a simple sand (and more elements) simulation built with Lua, LÖVE2D and the suit library. Game Tested on: - Windows 11 - Android (via Löve2d app) - Web (Chrome)
This was widely regarded as a great move by everyone.