The format of MapAsJSON is probably incompatible with Array.AsJSON
You can output both into a text or browser log and compare.
For example, array JSON should look like this:
{"c2array":true,"size":[2],"data":["apple","banana"]}
Ashley admitted that there are issues with OR-blocks in Construct. You can test if your code is working if you break this event into two:
1. Platform speed>250 ... Set test to 1
2. Animation is playing ... Set test to 1
.
If two events work, but when you combine them into one OR-block, it stops working, then I suggest you make a small project replicating the problem and submit a bug report here:
github.com/Scirra/Construct-3-bugs/issues
Try posting your question in the plugin post, people who commented on it will get notifications and someone might help you:
construct.net/forum/extending-construct-2/work-in-progress-addons-30/plugin-spine-plugin-68156
In the "Image upload" box please add information that the uploaded image needs to be actually inserted into the message using the "img" tag.
Many people don't know that and I've seen too many posts saying "see the attached a screenshot" and of course there was nothing attached.
Your text file contains line breaks. When you use tokenat() with ";" separator, the next token includes line break from the previous line. So your "glow" key actually looks like this:
" glow"
You need to add trim() to your expression to remove all line breaks, spaces, tabs etc from the beginning and end of the string.
Or you can remove “;” and use line breaks to separate keys:
tokenat(tokenat(AJAX.LastData, loop, newline), 0, "|")
Something like this?
dropbox.com/s/6drs0fiqhkcdzag/TiledLine.capx
You need to upload your capx to some file sharing service like dropbox and post the link here.
To round to the nearest 0.01 use this formula:
set x to round(x*100)/100
See this demo:
dropbox.com/s/1cz1k5x3teikbv5/DictionaryLocalStorage.capx
Develop games in your browser. Powerful, performant & highly capable.
You can also try Rex's Spline addon:
construct.net/forum/extending-construct-2/work-in-progress-addons-30/behavior-rex-spline-114539
Try this:
See event #7 in this example:
dropbox.com/s/mnwudpcocy1k823/GamepadAim.capx
Member since 26 May, 2016