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 / virtual town

Author
Message
bibz1st
22
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 13th Mar 2004 16:28
Hi,
I'm trying to make a virtual version of my home town, it wont be a game initially so there doesnt need to be any fancy coding.
I'm using Magicworld, texturing a matrix with an aeriel photo then attaching plains (textured with photos again) as shop fronts/sides and backs to the correct position according to the photo.What I want to know is how do I implement sliding collision so you cant walk through the walls, bearing in mind that the plains will be at various Y angles.I dont have the enhancement pack just yet so cant use NG's DLL.
rob
hexGEAR
22
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 13th Mar 2004 16:47
nice idea

dark basic classic has two basic methods of collision detection, static boxes and normal object collision. If each of your houses are individual objects then you could use object collision boxes, if not then static collision boxes, they are object independent and can be positioned anywhere.

check out these commands (not sure about the names):

make static collision box
make object collision box

they should be well documented in the dark basic help files with good examples to get you going! that's how i learned... a long time ago

Login to post a reply

Server time is: 2025-05-23 11:05:41
Your offset time is: 2025-05-23 11:05:41