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 / collision problems

Author
Message
Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 9th Aug 2005 03:14
hey I am having a hard time programmming collision in the game! when I wrote this code



it won't evenprint hit when I wrote this


I'll be waiting for you on halo 2 with a magnum and shotgun in hand!
http://media.teamxbox.com/wallpapers/halo2_1029_800.jpg
Deep Thought 42
19
Years of Service
User Offline
Joined: 31st Jul 2005
Location: New Jersey, USA
Posted: 9th Aug 2005 04:38
Move your loop to after the "endif" like this:

I've also changed it a little so you can actually see it bounce. It is a bit twitchy though. You simply misplaced the loop.

"Winners never quit and quitters never win. But those who never win and never quit are idiots."
Resident Evil 4 fanboy
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Where evil doers are!Oh wait, my room!
Posted: 10th Aug 2005 01:13
thank you!

I'll be waiting for you on halo 2 with a magnum and shotgun in hand!
http://media.teamxbox.com/wallpapers/halo2_1029_800.jpg

Login to post a reply

Server time is: 2024-11-27 21:37:07
Your offset time is: 2024-11-27 21:37:07