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 / Creating 'asteroids' style movement using vectors [DBP]

Author
Message
ESC_
21
Years of Service
User Offline
Joined: 29th Aug 2003
Location: Mass.
Posted: 13th Oct 2003 02:29
This is just a quick tutorial I put together for people who want to create drifting and momentum in their games using vectors.

http://www.dannywartnaby.co.uk/rgt/attachments/vectors.zip

"That's not a bug, it's a feature!"
"Variables won't, constants aren't."
Morales
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: - Please Select -
Posted: 13th Oct 2003 03:16
O_o still dont understand. lol
I rilly need to learn vectors. maybe this will help a little.
thanks for it thow!
ESC_
21
Years of Service
User Offline
Joined: 29th Aug 2003
Location: Mass.
Posted: 13th Oct 2003 03:24
Vectors are much easier than you'd think. All a vector is is an angle and a magnitude (amount of movement). You can also seperate them into their scalar components. There are all sorts of good explanations on the internet:

http://www.netcomuk.co.uk/~jenolive/homevec.html

http://www.physics.uoguelph.ca/tutorials/vectors/vectors.html

"That's not a bug, it's a feature!"
"Variables won't, constants aren't."
ESC_
21
Years of Service
User Offline
Joined: 29th Aug 2003
Location: Mass.
Posted: 13th Oct 2003 18:17
Oh, forgot to mention that the ship's from
[href]http://twh.telefragged.com/2d/cannon.html [/href]

"That's not a bug, it's a feature!"
"Variables won't, constants aren't."
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 15th Oct 2003 08:17
worth a look. i'll get to it later, like everything else I do.
ESC_
21
Years of Service
User Offline
Joined: 29th Aug 2003
Location: Mass.
Posted: 16th Oct 2003 04:56


"That's not a bug, it's a feature!"
"Variables won't, constants aren't."
MatriX
21
Years of Service
User Offline
Joined: 19th Oct 2003
Location: Deer Park, New York
Posted: 7th Nov 2003 05:41
Thanks. I think that this explains alot.

In life try hard. Success does not come easy.

Login to post a reply

Server time is: 2024-11-23 23:41:03
Your offset time is: 2024-11-23 23:41:03