Place an invisible tilemap, draw narrow paths on it from node to node. Set those tiles as walkable and the rest of the tilemap as not. Find a path, see which nodes it goes through, then move from node to node with MoveTo behavior.
I suggest using EasyStar pathfinding, but you can do the same with the official plugin too.
You do not have permission to view this post
Touch.XAt(index, layer) - is for touch index.
Touch.XForID(ID, layer) - is for touch ID.
Instead of "Set angle towards position" use "Set angle" action.
Angle: angle(thumbpad2.x, thumbpad2.y, leash2.x, leash.y)
Array.At(1,loopindex(Array.CurY))
Try Array.At(1, Array.CurY)
I prefer to use System loops when working with arrays:
System For "y" from 1 to (Array.Height-1)
Text append Array.At(1,loopindex)
In the future use instance variables.
How did you make rebindable controls for keyboard? Why can't you do the same for gamepad?
You can't store loopindex or any expressions in JSON. Here's what I would do:
JSON: {"line": "Hello to you in this example [offsetY=%] wavy text [/offsetY]."} Action: Text Set text to replace(JSON.get("line"), "%", str(sin(time * 300 + loopindex * 90) * 8))
Construct still needs to load a lot of stuff before it can show your loading layout.
You can add (or replace) images in Icons folder in your project, which will be used as a loading logo or app splash screen - click the file and change its purpose on the left properties panel.
Put it in quotes. And you value track is called "Value Track 1"
TimelineController.Value("derptimeline", "Value Track 1")
Develop games in your browser. Powerful, performant & highly capable.
Or just spend 20 minutes reading about C3 arrays. Copy all values from global variables into the array. Sort it. Display on the screen, or copy back to global variables.
Are you saying that BBcode tags don't work when you store them in JSON? Can you show your code and JSON contents?
Member since 26 May, 2016