New answers tagged actionscript-3
All you have to do to be able to freely move your items in a circle around the screen is: Measure the x and y distance from 0, 0 to the center of the circle. Put the values into variables. Set the x and y positions based off of the sin and cos values. Add the x and y from the first step to the current positions. Is this what you're looking for?
A friend of mine actually provided a great solution on Facebook. Healthratio = currentHealth/MaxHealth tintRatio = 1.0 - healthratio Anyway, I wanted to share that in the off chance anyone ever has a similar problem and wants a quick solution. Shout out to @keirmiron for that.
Top 50 recent answers are included