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 / Score and Adding Enemys

Author
Message
LuNaR
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location:
Posted: 8th Mar 2005 07:49
Hey again! I tried but couldn't figure out how to add score and another enemy after one is dead.
I added a Score = +50 at end of my blowup routine but it only adds once, and I can't really test out unless I have more enemys. So heres the code:



So if you can, tell me how I would make it to add another enemy to game at same place when the first enemy is dead. Thanks!

-If Practice makes Perfect, and nobody is perfect, why practice?-
WarGoat
20
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 8th Mar 2005 09:53
I dont know exactly what you want but, you can do if the enemie=0 then enemie=1 something like that and for the score you nedd to do score = score + 50.


hope it helped.

Windows XP,pentium IIII, 1,9 MGZ, 256 mb memory, 128 mb video card ATI Radeon 9200 se s80 'sett squadron back on the assault'
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 8th Mar 2005 20:03
This will add 1 enemy as each one is deleted and increase the score. Comments added.
You can put delays before replacing the enemy or add more enemies if you want.



Login to post a reply

Server time is: 2024-11-13 20:12:06
Your offset time is: 2024-11-13 20:12:06