For a school assignment, i need to make a game that has enemies that shoot at you, and respawn! sadly the teacher has not taught us directly how to do so. if anyone could help, or show me how to do either, it would help immensely.
Offline
I'm hesitant to offer you the direct solution, but here are somethings to ponder:
a) how do you get your gun to always be located on your sprite, but always pointing at your mouse?
b) when a sprite dies, it has to hide, wait for a little bit, and respawn. What blocks make a sprite hide, wait a bit, and then reveal itself?
c) a sprite dies when it...
if(doing what is needed to die)
{
die
}
Offline
I can help with when you shoot an enemy.
Doing a full explanation would be WAY TOO LONG!
Here is a script for when you shoot an enemy:
when gf clicked show forever if <touching [bullet v]> hide wait (3) seconds show endThere! If you need anything else, I'm happy to help!
Last edited by SOScratch (2012-02-28 18:57:04)
Offline