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 / Tilting objects

Author
Message
Guffie
19
Years of Service
User Offline
Joined: 8th Nov 2005
Location: Australia
Posted: 8th Nov 2005 12:16
Hi all i am making a game where you drive a car around and other cars come after you and crash into you then you loose life. so could someone tell me how to do the following
1)Tilt and object so it sits flat on the side of the matrix
2)Make the other cars chase me

p.s. i have checked other tilt posts but they were no good
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 8th Nov 2005 16:33
you should search in tutorials. Go to the developers network and check in the menu tutorials > DarkBasic. Select Binary Moon tutorial.

It includes a detailled explanation of tilting and AI (turning the other players to a target).

Math knowledge is needed!

Immunity and Annihalation makes Immunihalation...
HWT
20
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 8th Nov 2005 23:44
Hi there

That sounds like real fun!

Anyway, I'm trying out some stuff to help you out. I'll get back to you ASAP.

HelloWorld Tommorrow
Guffie
19
Years of Service
User Offline
Joined: 8th Nov 2005
Location: Australia
Posted: 9th Nov 2005 09:21
Thanks you guys i have tried the Binary Moon tutorial but although it is great it didn't help me and yea so far apparently it is fun
Guffie
19
Years of Service
User Offline
Joined: 8th Nov 2005
Location: Australia
Posted: 9th Nov 2005 09:45
lol , i just rememberedwe have just been learning how to work out gradients at school (my smileys dont work so i will guess the short keys) :dead: so i probably could work it out . but could peoples still try to get back to me with tutorials and i will try to work it out.
Regards
Cameron
HWT
20
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 11th Nov 2005 17:50
Sorry to disappoint but I can't get it done right away - I'm busy with my own project. I'll get back to you ASAP

HelloWorld Tommorrow
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 12th Nov 2005 09:57
A chopped up version of some older code written in DBP, but I think it'll work in classic. I had a more thorough example somewhere. (and it was written in classic)





Deadly Night Assassins
Robot
20
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 12th Nov 2005 11:43
It took quite a lot of alteration but I have managed to make Phalax's code work in DBC and here it is.

Guffie
19
Years of Service
User Offline
Joined: 8th Nov 2005
Location: Australia
Posted: 19th Nov 2005 12:56
That is so cool thank-you so much, sorry about my late reply i have assignments and stuff but school holidays soon and i will post a link to my game for people to see
If anyone is interested in game development with me (not that you would be ) then visit my website www.CamacGames.tk I will soon be asking for help from people (and the website will be updated )

Login to post a reply

Server time is: 2025-05-22 15:20:58
Your offset time is: 2025-05-22 15:20:58