Another option is to use Tween. Not sure if it will work if you tween from 0 to 360 degrees, but you can always tween a value and set sprite angle to self.Tween.Value
If you don't need multi-touch, use index 0.
So, for example you can use an event like "Touch.SpeedAt(0) is between values 100 and 2000"
To convert coordinates from layer A to B:
X = CanvasToLayerX("B", LayerToCanvasX("A", x, y), LayerToCanvasY("A", x, y))
Y = CanvasToLayerY("B", LayerToCanvasX("A", x, y), LayerToCanvasY("A", x, y))
Put angle(self.x, self.y, player.x, player.y) in Degrees field.
You know what they say - "one demo project is worth a thousand words" :)
I am not sure if I understand what you are asking. But if you want to replace only one occurence of a sub-string in text, you can use expressions find, left, right and len
construct.net/en/make-games/manuals/construct-3/system-reference/system-expressions
Something like this, but I haven't tested it:
Set s to left(s, find(s, "Pie")) & right(s, len(s)-find(s, "Pie")-len("Pie"))
Use Anchor behavior.
You do not have permission to view this post
There is a Mobile Notifications plugin in the Construct Master Collection.
chadorixd.itch.io/construct-master-collection
Develop games in your browser. Powerful, performant & highly capable.
In project properties make sure you have selected "Construct 3 runtime". All these behaviors don't work with Construct 2 runtime.
Check out this tutorial:
construct.net/en/tutorials/how-to-setup-a-simple-animation-system-for-8directions-behaiour-200
If your player doesn't rotate, you can compare Player.8Direction.MovingAngle expression instead.
Member since 26 May, 2016