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.

Newcomers DBPro Corner / need help finishing a demo

Author
Message
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 12th Jun 2004 22:57
ok iv done a little bit more in dark basic classic now iv programed a matrix with walls(because i havent got a world builder) and iv programed a fps style thing with gun modle from dark matter and a zombie the zombie is just in a set position so it dosent move but now im stuck there are no more tutorials on stuff like makeing monster walk after the player and atacking with his hands (iv got the animation in dark matter) but my main problum is i dont under stand collion plz could some one help me finish this little demo plz

every thing that has a begining has an end
Hepy
20
Years of Service
User Offline
Joined: 16th Apr 2004
Location: United Kingdom
Posted: 12th Jun 2004 23:06 Edited at: 12th Jun 2004 23:07
hey, i've lernt collision recently. use these commands for accurate collision:
set object collision to polygons player#
set object collision to polygons zombie#
and these if that don't work:
set object collision to boxes player#
set object collision to boxes zombie#
in the loop but these:
do
if object collision(zombie#,0) = player# then
and then do the commands you wish, sorry if i didn't help,
Hepy

Hepy
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 12th Jun 2004 23:18
thanx for the code list but could u plz give me 1 example of cheaking for a bullet hitting the zombie then something hapening eg dieing

every thing that has a begining has an end

Login to post a reply

Server time is: 2024-11-26 20:34:08
Your offset time is: 2024-11-26 20:34:08