A sandspiel copy (I did not know that sandspiel existed when I started this project) made in python tkinter. It includes some basic mechanics of different blocks falling down; water, lava and acid spilling. Wall being as immovable obstacle and simple sinking of sand in water and water forming stone in contact with lava. It also includes few different sizes for creation of blocks. I coded without AI and did not generate anything with it.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Fixed error when closing the window with the 'X'. Also compiled the exe file and published it on github.
Added 2 new blocks, lava and stone. In contact with water, lava converts into stone. Stone does not fall. Both of them can be dissolved by acid.
Also added slider for diameter of creation blocks at cursor.
Added acid to the game, it dissolves everything except air and itself. While creating it, I refactored some of the code to make it more readable.
Made sand falling down through water, it turned out to be more complex than I first thought.
Created a menu to select which block to create on canvas. Now the pixel window has an internal variable that tracks which block is currently selected to be drawn, when you choose from the menu, it changes. Otherwise no more blocks or block functionality added.
I have created an enum for block types, due to that I also had to correct the code to accept the enum instead of the integer. As next I have added colors to the blocks, and added 3 blocks in total: sand, wall and water. Currently only sand and wall blocks have implemented functionality. Sand logic is the logic from previous devlogs, and the wall is just standing still.
Added new rule for falling, to the pixels, now when they are on some other pixel, they will fall diagonally down either to the right or to the left, if there is free spot.
The pixel now have only 1 rule for falling, that is when it is free beneath them, they will fall. You can create more pixels by dragging with left mouse button pressed.
Created a pixel window class, which resizes based on number of rows, columns and pixel size.