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 / i need...

Author
Message
freak_oz
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: castricum
Posted: 21st Jul 2004 21:48
a script that 1 object follows a other...

FREAK_OZ CREATIONS THE GAME COMPANY!(but not in darkbasic)
plzzz help im a noob in dark basic but almost a expert in gamemaker( a other program)but i wanna learn thiS! anyone?
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 21st Jul 2004 22:25
Have a look at the NewXValue and NewZValue commands, and for the angle value, use the rotation of the first object - 180 ( behind the object ), and then you can figure out the rest

If you need any more help, just ask

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 21st Jul 2004 22:43
Simplest way to do it would be to use "Point Object" and "Move Object" commands.

freak_oz
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: castricum
Posted: 21st Jul 2004 22:51 Edited at: 21st Jul 2004 22:52
but how? im dutch so i dont understand evrything from that tutorial...
and only 11

FREAK_OZ CREATIONS THE GAME COMPANY!(but not in darkbasic)
plzzz help im a noob in dark basic but almost a expert in gamemaker( a other program)but i wanna learn thiS! anyone?
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 22nd Jul 2004 00:10
Quote: "but how? im dutch so i dont understand evrything from that tutorial..."


Don't believe you! You all speak better English in the Netherlands than we speak in England! I have to be very careful whenI speak to my Dutch customers so that they understand me, but they speak as clear as anything.

OK, maybe I've gone off-topic

BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 22nd Jul 2004 01:30
Lol BatVink, you'd be suprised. And at 11, how long do you think he's been learning English?

@freak_oz:
Ik neem aan dat je het over de newxvalue en newzvalue tutorials had, dus ik zal proberen het in Nederlands uit te leggen.

Wanneer je in 3D beweegt, ligt alles er aan welke kant je op kijkt. Wanneer je recht naar voren gaat, en je loop bijvoorbeel 5 eenheden, is 't makkelijk, want dan kom je op position 5. Maar als je wat meer naar links kijkt, en dan met 5 naar voren gaat, klopt het niet meer. Daarom gebruik je newxvalue en newzvalue om de nieuwe posities uit te rekenen.

Je hebt 3 variables nodig, xPositie#, zPositie#, en kameraHoek#.
Elke keer waneer je beweegt, gebruik je dan newxvalue(xPositie#,kameraHoek#,5) (5 staat voor de afstand)
en newzvalue(zPositie#,kameraHoek#,5)
en dan doet DBP al het rekenwerk voor je

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
freak_oz
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: castricum
Posted: 22nd Jul 2004 05:07
thank you all peaple but i need a clear script i still dont understand the tutorials:S...

FREAK_OZ CREATIONS THE GAME COMPANY!(but not in darkbasic)
plzzz help im a noob in dark basic but almost a expert in gamemaker( a other program)but i wanna learn thiS! anyone?
Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 22nd Jul 2004 22:34
Hehe, this is exasperating. Maybe you should contact Kentaree, or another Dutch speaker, using MSMessenger.

Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 23rd Jul 2004 03:58
alright i explain it (in dutch, im dutch myself so.. )

Je kunt het heel simpel doen met de commands point object en move object zoals arkeii al eerder zei. Ik heb hier een code voor je, heel erg simpel gewoon uitvoeren in db:



k hoop dat je het zo snapt

syntax error??? it isn't an error, it is a feature
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 23rd Jul 2004 20:19
en? snap je het?

syntax error??? it isn't an error, it is a feature

Login to post a reply

Server time is: 2025-05-25 01:32:24
Your offset time is: 2025-05-25 01:32:24