You can increase the max speed temporarily. For example: increase max speed to 1000, do the recoil (set vector), wait 0.2 seconds, restore max speed to 200. You can also disable player controls during the recoil.
Change type to "Text area" in TextInput properties (on the left panel).
Develop games in your browser. Powerful, performant & highly capable.
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
Member since 26 May, 2016