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 / My First Game

Author
Message
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 6th Oct 2004 01:07
Hi i have made my game and i have loaded my sky box but when im controling my object i go streight through it.

i have tried collision but can some on give me a basic coliision code that works i am using dark basic classic.

200GB HARD DRIVE 1GB RAM 256MB GRAPHICS CARD
Dom
20
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 6th Oct 2004 03:23
Ummmmm... Hmmmmm... Uhhhh... Ok but it is VERY! SIMPLE! this was my first attempt at collision.

Make object collision box obj,x1,y1,z1,x2,y2,z2
Make object collision box obj2,x1,y1,z1,x2,y2,z2

If Object Collision(1,0)=2 then position object 1,posx#,posy#,posz#

OK!

I am currently working on : A Medievil style game
By the way I'm 13 years old!!
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 6th Oct 2004 03:43
Thanks i cant try the code at the mo but ill get bak two u

200GB HARD DRIVE 1GB RAM 256MB GRAPHICS CARD

Login to post a reply

Server time is: 2025-05-24 19:24:16
Your offset time is: 2025-05-24 19:24:16