Functions map is the intended way to do this, but I find it difficult to use.
Another option is call the function using scripting. Copy the function name into a local variable, then execute this script:
runtime.callFunction(localVars.f);
You need to use either global variables, or instance, not both.
If you are using instance variables, then change the expression to left(Self.t, Self.index)
These variables can be global or instance on BubbleText object. Or even local+static.
The code should work, if it doesn't please post a screenshot of your events, or share your project file.
String Variable t=Your real text here Number Variable index=0 On any key pressed: Add 1 to index BubbleText Set text to left(t, index)
This will clear X axis at Y=3
For "n" from 0 to (Array.width-1) : Array Set 0 at (X=loopindex, Y=3)
This will clear Y axis at X=3
For "n" from 0 to (Array.height-1) : Array Set 0 at (X=3, Y=loopindex)
"saveinfo" is an array. Try JSON.get("saveinfo.0.date")
Eren I need to develop a specific addon for C3, this will be a paid job. If you are interested, could you please email me at doperst2006urs@gmail.com ?
Try sending "{'character_id': 1}", maybe the API is expecting JSON-formatted string.
Also, instead of signals you should use "Wait for previous action to complete" action.
You can remove isOverlap variable, it's not really needed.
Press F12 and check browser log for error messages.
Develop games in your browser. Powerful, performant & highly capable.
There are multiple mistakes in your code. You don't need to link lamps and detectors by id, they are already linked because they are in the same container. Also, "Else" with conditions that check overlapping for multiple instances will not work correctly. You need to add "For each".
I fixed your project:
dropbox.com/s/hgbghu09lawkpcv/LampsFixed.capx
You do not have permission to view this post
Member since 26 May, 2016 Last online 18 Oct, 2026