Log In  
Follow
Chell3
[ :: Read More :: ]

Cart #powdermouse-0 | 2022-03-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1


I added mouse support to my powder game.
Use the up/down arrow keys to change the size of your brush.
Use the left/right arrow keys to change the material that you're spawning.
Click to spawn a material.

P#108997 2022-03-22 02:32

[ :: Read More :: ]

Cart #simplepowdergame-1 | 2021-07-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

V1.1 I forgot to comment the code. I felt like that would be a useful thing to do so that people understand how this works. Also, I changed the massive if chain in the tick() function to an elseif chain which should slightly improve performance, though optimization has never been my strong suit, so if anyone wants to try to fix my spaghetti code, be my guest.

Cart #simplepowdergame-0 | 2021-07-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

This is my first thing that I made outside of simple experimentation with the engine! I hope you all like it! Most things have interactions with most other things, so just play around and see what you can do!

P#94843 2021-07-14 09:20 ( Edited 2021-07-14 11:41)