I have, aa program right now, a prototype if you will, that i’m really building my game around.
I have a Lazar class, attatched to a small red line movieclip
when you hit space bar it rapid fire those lines like this
)- - - - - - - - - - - - - - -
but i want a lazar,
)----------------------->
what i want, and what you all can help me with
some sort of sample code, even psuedo code
that would allow me to make it so that:
A) the lazar is one straigt line, not a whole bunch of little lines
…so the solid ______________ and not - - - - - - - -
b) scale of lazar only as big as hit test with wall or edge of stage
)------------->} the ) is where the lazar originates, the >} is a movieclip that represents the lazar hitting a wall
c) if you want to see the code let me know, but i’m really looking for more of a push in the right direction than an answer but either is great.