Gadasara wrote:
hi guys! How can i make a sprite shoot multiple rockets? And how can i make enemies move separately from the scroll? thx
Multiple rockets: Use sperate sprites and a counter-like variable.
Then use scripts like this:
And for the projectile(Missile)
Offline
For the enemies, I'm assuming you're using a scrollx variable, correct?
If so, first make a new variable for the enemy, preferably with "for this sprite only" selected, especially if you have a lot of enemies. In this example, I'll call it X position. Now use this script:
There are other ways, but this is the easiest.
Simple, right?
Last edited by hmnwilson (2010-06-10 11:53:47)
Offline