This might be obvious to people who have been using love a bit but I've been thinking about it and I don't have any clean ideas
I want to make a boat game where the water surface is some arbitrary function. I'm just not sure how to draw an arbitrary rounded surface.
I want the curvature of the water surface to interact with the boats, so I can't just fake it and make an animation in front of the boats.
But some combination of sine waves of differing frequencies would be satisfactory, I'm just not sure how to draw that.
cheers
Scott
Arbitrary interface
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Arbitrary interface
You could probably make it better, I'm pretty shit at maths and this sort of stuff.
The waves are more triangular than they are smooth, but the concept is here, you should be able to make it how you want it from this.
http://kudomiku.com/dump/water.love
The waves are more triangular than they are smooth, but the concept is here, you should be able to make it how you want it from this.
http://kudomiku.com/dump/water.love
- groomed_goose
- Prole
- Posts: 7
- Joined: Thu Dec 04, 2008 7:03 am
Re: Arbitrary interface
Thanks for the idea, thats a good way of doing it, let you know how it goes
Who is online
Users browsing this forum: Ahrefs [Bot], MrFariator and 3 guests