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 / Enemy Kill Trouble

Author
Message
LuNaR
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location:
Posted: 7th Mar 2005 10:35
Hey! Its me again! I got help and fixed the game so it shoots, and added code so that the enemy gets deleted when its made contact with the lazer, but it doesn't work. Help would be appreciated



If you add anything, can you please explain to me what you added so I can learn? Thanks!

-If Practice makes Perfect, and nobody is perfect, why practice?-
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 7th Mar 2005 14:01
For your sprite collision you are checking 2 against 3

if SPRITE HIT(2,3)=1

Though you have sprite 6 for the nme ship

Try using

if SPRITE HIT(2,6)=1

Login to post a reply

Server time is: 2024-11-13 19:59:26
Your offset time is: 2024-11-13 19:59:26