Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Water simulation
#1
I want to make a game with " water ". It's easy to make a particle system if the background is static. But if there are some objects which moves, it's more difficult.
Take a look at a simple water simulator at

http://www.ocf.berkeley.edu/~horie/h2o.bas.
Do you have any idea or code to help me ?
iskbart
Reply
#2
You don't have to make it like that, just select random points on the map (yes map, not screen) and have a sprited raindrop fall to that point, at which time you show the plopping animation. Take a look at Tales of Phantasia's rain.
am an asshole. Get used to it.
Reply
#3
http://www.fomalhautsoft.narod.ru/download/dqbdemo.zip
Here's possible solutions:
* Moving objects and water do not interact
* Moving objects 'teleports' water to the other side of them
* Moving object shifts or erases water
* Objects stops in collision with water
Reply
#4
Take a box without a line. Put water in it and rotate it. The water has to move. But i don't have any idea to make that...
iskbart
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)