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.

Author
Message
Doomwad
20
Years of Service
User Offline
Joined: 29th Dec 2003
Location:
Posted: 25th Mar 2004 05:08
I know this is a stupid question, but how to you detect collision between two objects? Like for instance... I want a man to collide with a wall, he should stop. But, if he collides with a monster. The only code I've seen for collision so far is:

if object collision(1,0)>1
cls
print "YOU DIED!"
goto levelone
endif

End that means that the man would collide with anything and die. Please help....
diablo fan
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: michigan usa
Posted: 25th Mar 2004 05:18
look at this code


please dont make fun of my spelling,or sentence structure.Id rather study math or programming

Login to post a reply

Server time is: 2024-09-22 02:35:07
Your offset time is: 2024-09-22 02:35:07