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 / A few questions.

Author
Message
LuNaR
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location:
Posted: 9th Mar 2005 07:51
One how do I make an enemy in this game move from side to side? Not up or down just move from left to right and not stop until its dead.

Also, how would I make it so that the enemy shoots down at random?
Thanks in Advance!

Heres the code


By the way, sorry if I am annoying and asking questions, I am trying to finish this game so that my dad can see and by me the full DBP. My trial running out thats why I want to hurry, and when I do get DBP im gunna get this manual so it will be cool

-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: 9th Mar 2005 09:06 Edited at: 9th Mar 2005 09:17
Here's some code you you to look at. I added comments on new stuff except where I just copied routines from your code. You need to add the image loading code for images 10 to 20 for the explosions.



[edit] You can keep using one post for this project since it is in the newcomers section and you are just learning in general with this game.

Login to post a reply

Server time is: 2024-11-13 19:58:46
Your offset time is: 2024-11-13 19:58:46