How can I make a lightning beam effect in MMF. I want the one edge of the beam to be created from a moving enemy anf the other edge to stop when hitting the player or an obsticle. If it hits the player some events happen - like sub from value A
ok I've looked trhoug your example some mor, nutti. Its very good, just as I want it, exept for:
- The beam wont roteate with the player (e.g he cant shoot behind him)
- The beam doesnt stretch the entire screen
- and I am having troubles making two object shoot at the exact same time, I can make them shoot one and one. but I think its easy to fix though.
but if you want many enemies you'll have to modify the code kinda lot. I suggest you to take this as a tutorial and then code one yourself, so it'll be easier for you to understand.
allright, this is sweet. But it still has some limitations. What I had in mind was that the enemy would shoot at the player, now the enemy has to be able to shoot it at least 32 directions towards player. is there a way to do this without adding 32 additional codes!?