Water?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
danielrr
Posts: 142
Joined: Mon Mar 04, 2013 4:03 pm

Water?

Post by danielrr » Tue Oct 01, 2013 11:43 am

DId anybody tried using LiveCode for a game, presentation or whaterver, where you must use an animation of water (like water coming out of a jar, or running under a bridge, etc.)? How did you solved it?

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Water?

Post by BvG » Tue Oct 01, 2013 7:22 pm

I doubt anyone did a physical simulation of water-visuals in LC, because the amount of animated objects is too limited when using this technology.

However if it's only about presentation, then the best way is to use a pre-rendered animation. So simple show a movie, animated gif or a button of which you set the icon to different images.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Water?

Post by Simon » Thu Oct 03, 2013 1:06 am

Take a look at
Www.tactilemedia.com
In his lessons there is a water sample.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

makeshyft
Posts: 222
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: Water?

Post by makeshyft » Mon Oct 07, 2013 8:47 pm

It is possible to display a browser window with an epic HTML5 & WebGL Water Simulation. No one would build a water simulator in Livecode because thats not what its for.

Sure you can make one work, its math. But it would be slow after so many particles.
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

Post Reply