Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] - liquid "simulator"

Author
Message
noobnerd
12
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 5th Feb 2012 15:06
just a simple but "real" liquid or slime simulator

the map is a grid where the yellower parts a higher up.

press space to place the liquid at your mouse
press the mousekeys to rise/lower the terrain

the program will crash if the liquid gets outside the screen.

i suggest running it in 1680x1050

Stab in the Dark software
Valued Member
19
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 6th Feb 2012 00:43
Very impressive, I will have to examine this code in detail.
You could possibly make this into a game of some sort.

[img][/img]


WindowsXP SP3,Vista,Windows 7 SP1, DBpro v7.7RC7
Stab In The Dark Editor
The coffee is lovely dark and deep,and I have code to write before I sleep.
noobnerd
12
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 6th Feb 2012 16:17 Edited at: 6th Feb 2012 16:17
i know

it was the original idea, but after further experimenting i realized that the game (atleast my version) would be very booring

But thanks very much!
noobnerd
12
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 6th Feb 2012 16:18
the code is probably very incomprehensible, as i code quite sloppily and my variables are mostly shortenings of both swedish and english words
gwheycs62egydws
13
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 11th Feb 2012 04:09
for what it dose it's a good start

it gives me a better idea about puddles and how
they could be affected with an object going through them

to move side ways - is to move forward
Since a Strait line gets thin fast
noobnerd
12
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 11th Feb 2012 15:17
@ Resourcefull : thanks ! you seem to have checked out all of my "liquid" posts here?
gwheycs62egydws
13
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 11th Feb 2012 17:08
@noobnerd

so I see that I have

thanks to people like you I am getting the code I need
to be used in a game Idea that has been floating around in my head for the last 2 years

one I get settled into my new place in a month I can start to put some effort
into bring it to life

to move side ways - is to move forward
Since a Strait line gets thin fast
noobnerd
12
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 11th Feb 2012 17:23
sounds good! good luck with making whatever you are making!

and thanks for the compliments, much appreciated!

Login to post a reply

Server time is: 2022-11-30 15:07:47
Your offset time is: 2022-11-30 15:07:47