A Few Questions

Hi,
I am working on a shooter game in a birds eye view and I have a few questions. First, how would i make enemies randomly spawn and try to damage the player. Also how do I set the amount of times an enemy can get hit to get killed and leaving a little bit of blood and a coin. How could I make your player walk over the coin and then make it register in your money bank so you can buy more weapons, armor, and vehicles that can only be bought when you have the right amount of coins.
Second, how would I make a level very big and when you get close to the the end of the screen it would go to the next part. Like Mario games. Lastly, How do I put music in my game?
Thanks
I am working on a shooter game in a birds eye view and I have a few questions. First, how would i make enemies randomly spawn and try to damage the player. Also how do I set the amount of times an enemy can get hit to get killed and leaving a little bit of blood and a coin. How could I make your player walk over the coin and then make it register in your money bank so you can buy more weapons, armor, and vehicles that can only be bought when you have the right amount of coins.
Second, how would I make a level very big and when you get close to the the end of the screen it would go to the next part. Like Mario games. Lastly, How do I put music in my game?
Thanks
Comments
1) How would you make enemies randomly spawn and try to damage player
ANSWER TO MOVEMENT-- Okay, so line up 3 of the shooters near the left side of the screen & tell them to accelerate left at 200 with a max speed of 400. Then say on the shooters when self.postion.x < 100 (edit this number), change attribute self.position.x to random (510,590) {Edit these numbers as appropriate} Change attribute self.position.Y to random(30,450) {Edit as appropriate}
ANSWER TO DAMAGE-- Okay, so just have a actor which is a bullet. Create an integer attribute called health. When bullet collides with player change health to health-10. Tell the shooters to spawn bullet every random(1,3) seconds.
USING THE HEALTH-- Use this video to help you with a health bar.
Enjoy,
Matt
_________________________________________________
Full Game Creation Service
1 On 1 Project Help
Matt
How would I leave the coin?
Put in an actor on the screen:
Timer - Every Random (2,5) (play with the numbers) seconds spawn actor coin in a random position. In the up to down, random(30,290) in the left to right, random(30,450)
Matt
If you need any other help feel free to email me
_________________________________________________
Full Game Creation Service
1 On 1 Project Help