some sort of fluid simulation
Posted: July 30th, 2014, 11:27 am
Hi everyone,
after countless hours of learning from Chili, I decided, it is time to made my first project. It is simple top-down fluid simulator. It isn't perfect, but I hope you'll like it You can add fluid by clicking in window.
I hope the code is readable but if you don't understand something, I will explain it to you.
I was inspired by Creeper World, which is game where you basically fight against fluid.
Any suggestions are welcomed. Also there is a bug which causes some pixels to freeze and i don't have faintest idea how to find this bug, so if you're bored then you can try to find it
Thank you Chili for tutorials, jokes, advices etc. Btw. never stop being Chili: D
P.S. I recommend to run the simulator in release mode!!!
Update: So here is new version of my simulator. I found my bug so there shouldn't be any more inactive pixels. There is little change, you can add fluid by right click. Btw. I don't like the way how I made option, main menu and slider classes, but I'm too lazy to make it batter
after countless hours of learning from Chili, I decided, it is time to made my first project. It is simple top-down fluid simulator. It isn't perfect, but I hope you'll like it You can add fluid by clicking in window.
I hope the code is readable but if you don't understand something, I will explain it to you.
I was inspired by Creeper World, which is game where you basically fight against fluid.
Any suggestions are welcomed. Also there is a bug which causes some pixels to freeze and i don't have faintest idea how to find this bug, so if you're bored then you can try to find it
Thank you Chili for tutorials, jokes, advices etc. Btw. never stop being Chili: D
P.S. I recommend to run the simulator in release mode!!!
Update: So here is new version of my simulator. I found my bug so there shouldn't be any more inactive pixels. There is little change, you can add fluid by right click. Btw. I don't like the way how I made option, main menu and slider classes, but I'm too lazy to make it batter