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.

DarkBASIC Professional Discussion / Enemy still fire once dead.

Author
Message
MightyRy
15
Years of Service
User Offline
Joined: 19th Oct 2010
Location:
Posted: 14th Jan 2011 14:16 Edited at: 14th Jan 2011 14:18
I have tried to set my game up so once the enemy are hit they dissapear and stop firing. At the moment the enemy dissapear but you can still see the bullets being fired.

Here is all the code:



Cant see the problem myself, any help?

Thanks
SH4773R
16
Years of Service
User Offline
Joined: 18th Jan 2010
Location: AMERICA!!!
Posted: 16th Jan 2011 08:52
As far as I can tell your not checking if the enemys dead before you fire his weapon

Login to post a reply

Server time is: 2026-07-18 02:09:10
Your offset time is: 2026-07-18 02:09:10