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 with 2d scroller

Author
Message
Destrugter 1
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location:
Posted: 3rd Oct 2007 05:12
ok, i am using darkbasic pro...and i am having trouble detecting collision on my 2d scroller. I am using Mike Shah's 2d scroller tutorial and i tried adding a collision and i replaced the hero and enemy as sprites...but it prints collision to the screen even though the hero is not touching the enemy...here is my code so far.



please any help is appreciated...my collision code is near the bottom of the code...please tell me what i am doing wrong with this code

do you love video games a lot ¿¿¿ then comeon down too game zone252 @ http://www.freewebs.com/gamezone252/

Login to post a reply

Server time is: 2024-11-25 11:37:25
Your offset time is: 2024-11-25 11:37:25