I have a Sprite
I want to create that several copies of Sprite between 2 points in a line
suppose Point "A" is x100, y100 and Point "B" is x800,y800
so Sprite will create between point "A" to Point "B" in a straight line
Here you go:
https://www.dropbox.com/s/ijonm1h61e2vi ... .capx?dl=0
Develop games in your browser. Powerful, performant & highly capable.
Here you go: https://www.dropbox.com/s/ijonm1h61e2vi ... .capx?dl=0
Thanks This is great
I have 1 more question
is it possible to create same sprite in curve
Here is formula for positioning sprites in a circle:
X=centerX+RADIUS*cos(angle)
Y=centerY+RADIUS*sin(angle)
If you change "angle" from 0 to 360, you'll have full circle.
Here is formula for positioning sprites in a circle: X=centerX+RADIUS*cos(angle) Y=centerY+RADIUS*sin(angle) If you change "angle" from 0 to 360, you'll have full circle.
I mean a Custom Curve like a path following
But i think this is not possible here