Cool Water Effect (WIP)

ZoytZoyt Member Posts: 374
edited July 2012 in Miscellaneous
Hello,
I just thought up and threw together this cool water-like effect. Something moves through the water and waves occur. But it's not just dragging a waves animation behind a boat. It puts water particles (IDK what else to call it) in a grid and you can move through them. Then there will be waves with lights and all. In the state it currently is in (v.01), it's not very good yet. Here's what I have left to accomplish:
• Keep the water from getting stuck on other particles.
• Keep the water from being pulled too far from it's position.
• Get a more realistic boat size with a tip on the front and a square body.
• Make the lighting more realistic.
• Add a few more startup functions (water size difference, boat size, etc.).
• Find out a way to make the water look more realistic without it just being blocks.

Any other ideas are welcome. To use the app, follow these very simple instructions:
1. Click on the button that says "Resolution: " and set it to your resolution you want. If it is 4 or lower, the water particles won't display. I'll fix that. Also, when you get down to around 8 or below, it gets really REALLY slow and sometimes freezes GameSalad.
2. Press "Render Water".
3. Sit back and relax while you wait for the water to load. I would like to suggest getting a cup of coffee, go help someone on the forums, or if it takes long enough, program the next Angry Birds.
4. Press ➡ to turn right, ⬅ to go left, and ⬆ to go forward.
5. Excuse the lag. I can't help it, even though it runs surprisingly fast on the web.
6. Press reset to go back to the title screen. Be aware that you will have to rerender everything if you do that.

Here it is:

http://gamesalad.com/game/96288

You can find the source code if you search the GameSalad welcome screen with the example projects for "Cool Water Effect". Please let me know what you think!
Thanks!
P.S. That main screenshot was rendered at the resolution of 5. It took about 45 minutes on a Mac Mini with just that GameSalad project running on 8 GB of RAM. And it wasn't on the web.
Sign In or Register to comment.