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.

DarkBASIC Discussion / Hey! OBESE!

Author
Message
Dark Dragon
16
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 17th Aug 2009 21:11
Srry bout the title......

Does anyone Remeber this by obese? I Dont understand how it works and would like some help.......

http://forum.thegamecreators.com/?m=forum_view&t=122936&b=6

(\__/) HHAHAHAHAHAH!
(O.o ) / WORLD DOMINATION!!!!!!!!!!
(> < )
Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 18th Aug 2009 02:56 Edited at: 18th Aug 2009 02:56
HEY!
It's all about the curvevalue command, have you used it before?
Curvevalue([destination value],[current value],[speed])
lets call the current value "a", the destination "b" and the speed "s".
The command returns: a + (b - a)/s
So the higher speed the longer it will take; speed is the word used in the help files but "iterations" or "factor" makes more sense to me.

So to keep the circles at different speeds (we really are talking about speed now) I set them to update at different rates (25-n).

TGC Forum - converting error messages into sarcasm since 2002.
Dark Dragon
16
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 18th Aug 2009 03:16
Quote: "It's all about the curvevalue command, have you used it before?"


yep, thanks cuz i learn by trial and error, not the help files so it was just a miracle i could get it to work before.

I think i see, now, and now i'm off to play with it

(\__/) HHAHAHAHAHAH!
(O.o ) / WORLD DOMINATION!!!!!!!!!!
(> < )

Login to post a reply

Server time is: 2024-05-01 15:37:35
Your offset time is: 2024-05-01 15:37:35