here you go.
https://dl.dropboxusercontent.com/u/143 ... n%202.capx
https://dl.dropboxusercontent.com/u/143636437/for%20the%20web/rescuecopteredit01-3gdlmh4lt81me.capx
Tom - I've just noticed this on my account so the bug still exists/is back.
(In case you wish to upload and send the fixed project file, please post it only as PM and not as a reply).
why?
https://dl.dropboxusercontent.com/u/143 ... point.capx
I would look at using the built in "pick nearest / furthest" command ...
edit
https://www.dropbox.com/s/p19c038edd8b6 ... .capx?dl=0
any good as a starting point?
https://www.dropbox.com/s/9sxapz6haa0p4 ... .capx?dl=0
"Nadolig Llawen a Blwyddyn Newydd Dda"
change your animations so frame 16 becomes frame 0 (move 0-15 to the end.)
AQre 16 and 17 the same ?
or add 180 into your equation
Have a look at
https://www.scirra.com/tutorials/358/as ... 100-events
look at the position of your laserbeams origin point - try moving it to the left side of your image.
Nitari
floor(x) Round down x e.g. floor(5.9) = 5
round(x) Round x to the nearest whole number e.g. round(5.6) = 6
( https://www.scirra.com/manual/126/system-expressions )
I might of misunderstood your question but depending on the origin point
far right x=sprite.x+sprite.width (origin point far left)
far right x=sprite.x+sprite.width/2 (origin point centered)
Develop games in your browser. Powerful, performant & highly capable.
Ok, I think I understand, there are several ways of doing this.
There are always several ways of doing anything in programming ...
Glad I could help