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.

Code Snippets / CurveValue Demo

Author
Message
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 24th Jul 2006 21:06 Edited at: 26th Jul 2006 13:09
hey all, i've made that demo to a m8 that wanted to know how to make smooth player movement..
so using the CurveValue command you can do that v. easy.




keys:
UP/Down/Left/Right for the player control.

MyNewSite:http://gogetax.com
Forums(About BLO and more):http://gogetax.com/forum
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 24th Jul 2006 21:09
Incredible! Genious! Fantastic! Awesome!!


Nah just kidding lol - I'd rather be insulted about something like this than be complimented, I'd feel like a n00b, but since it's for your mate, then: 'Cool, it's good.'

lower logic
18
Years of Service
User Offline
Joined: 15th Jun 2006
Location:
Posted: 25th Jul 2006 00:58
So short and so simple, yet so smooth! I love it!
Oh and if anyone else gets a black screen, adding a "sync" to the loop will fix it.
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 25th Jul 2006 02:04 Edited at: 26th Jul 2006 00:55
This will help a lot of noobs! I made another version of your code, maybe a simpler one that has the REM command in it? It introduces the Curveangle command too, which keeps the value between 0 and 360 degrees.




Without the REMS:



Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 25th Jul 2006 17:35
oh yeah i forgot the SYNC command..

and about the REMs; im not good at making comments in my codez. besides. im not good at explaining at all.
thanks for the REMS Sixty Squares.

MyNewSite:http://gogetax.com
Forums(About BLO and more):http://gogetax.com/forum
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 26th Jul 2006 00:53 Edited at: 26th Jul 2006 00:56
lol no problem Don't worry, I too find it tedious to write rems in my code so I always skip them. They do help people who are new to DB though, so I write them only in tutorials. And my code is different than yours btw in case you did not notice

Good tutorial though

Jedi Lord
20
Years of Service
User Offline
Joined: 11th Jun 2004
Location: Jedi Temple
Posted: 26th Jul 2006 07:39
Pretty cool... I could right click and people will walk to the position I ordered them and it will make it smooth.

Whoa... I like a shiny thing... let's touch it .
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 26th Jul 2006 13:08
Quote: "And my code is different than yours btw in case you did not notice"

no i didnt even readed it. >_<

MyNewSite:http://gogetax.com
Forums(About BLO and more):http://gogetax.com/forum
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 28th Jul 2006 03:00
lol

Login to post a reply

Server time is: 2024-11-23 03:50:51
Your offset time is: 2024-11-23 03:50:51