You need to post an example of your array! I know what token is, I don't know how are you using it in your project.
What do you mean by "11 tokenats", "28 tokenats"?
You should probably post your project or some screenshots of your array and the result you want to achieve.
You can try Set layout scale to 2
But I don't recommend that. Perhaps reduce the viewport size in project properties?
Develop games in your browser. Powerful, performant & highly capable.
Do you want to split the result of that expression?
tokenat(chooseindex(...), index, separator)
Or save it to a variable first, and then use tokenat on the variable.
tokenat(result, index, separator)
ProUI addon doesn't work with NWJS v77
The exported application shows black screen and this error in console log:
[C3 runtime] Failed to load all engine scripts in worker: TypeError: Failed to execute 'createObjectURL' on 'URL': Overload resolution failed. at LoadScripts (workermain.js:2:258) at InitRuntime (workermain.js:5:264) at HandleInitRuntimeMessage (workermain.js:1:151)
It works when exported using previous versions - 76, 75, 71 etc.
Is this something that can be fixed?
Instead of Set JSON.Current key to 1 try this:
Set "." to 1
You do not have permission to view this post
1. Use the Debug View (Shift+F4) to find what's causing bad performance. Things to look for:
2. All behaviors are already using delta time. If you move objects with events, you must use dt. For example, Move 5*60*dt
MoveTo behavior has MovingAngle expression. Use System conditions like "Is within angle", "Is between angles" to compare it.
For example:
Enemy.MoveTo.MovingAngle is within 45 degrees of 270
This means it's moving up.
It's better to prepare array files directly in Construct using the built-in array editor.
Try something like this
const d = runtime.objects.Dictionary.getFirstInstance(); console.log(d.getDataMap().get('foo'));
construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/plugin-interfaces/dictionary
You can try loading that string into JSON object, but not into a C3 array.
Arrays in Construct have a specific structure, for example:
{"c2array":true,"size":[2,2,1],"data":[[["line1"],["line2"]],[["Hello!"],["How are you?"]]]}
It's easier to use Array Editor in C3, it's very similar to Excel. And I'm pretty sure you can store quotation marks as they are, no need to double or triple them.
Change the expression to 60/distance()
"Gacha" is an array. You need to loop through it in reverse order and remove values one by one.
+ System: On start of layout -> JSON: Set path to "Gacha" ----+ System: For "n" from JSON.ArraySize(".")-1 to 0 --------+ System: JSON.Get("." & LoopIndex) is between 29 and 34 ---------> JSON: Remove 1 values at "." starting LoopIndex