construct.net/en/make-games/manuals/construct-3/tips-and-guides/installing-third-party-addons
Unzip the non-working project into a folder. Edit this file:
\objectTypes\dots.json
In line 11 change "sid" to this:
"sid": 945835785233453
After that it should work.
You do not have permission to view this post
rgb() takes numbers in 0-255 range, rgbex() uses 0-100 range.
Try rgbex255() or rgba255()
The old (working) file was probably copied/cloned from the original (third) file. But in the non-working file you created a new Dot sprite, that's why its ID is different.
Try removing Dot object completely from the second project, and then drag&drop it from the first project.
If it doesn't help and if you really need to re-use all that JSON data, you can probably manually edit the IDs in project files. I don't know if this can cause any other issues though.
I can't add anything to Alshey's answer. You saved JSON in one project, you can't use it to restore another object's state in a different project. Even if the name of both objects is the same, their internal IDs are different.
Can you post your project file together with the json data? I can't help you without it.
Ok, try this demo:
dropbox.com/s/8nie2jvl9brfzm7/Pathfinding_Stack2.c3p
Touch several points on the screen.
I admit I didn't thoroughly read that bug report. But did you see the release notes for new beta r215?
You can now make a snapshot of a portion of the screen. For example, the area with your 9-patch object, and then load this image into a sprite.
There are several methods, the easiest would probably be using a pair of local variables:
On Z pressed Cursor is over Sprite (or some other condition which picks one sprite) ...Local variable w ...Local variable h ......Set w to Sprite.width ......Set h to Sprite.height ......Sprite Set size to (w/2,h/2) ......Create New Sprite ......Sprite Set size to (w/2,h/2)
This is odd, I don't see any mistakes in your screenshots, the code should work.
Does the text "LOADED JSON" appear? Check that your array is set as global.
If nothing helps, please post your project file.
Develop games in your browser. Powerful, performant & highly capable.
Can you show the contents of PetalsData.json ?
I don't want someone's game or app.
I didn't mean that. I mean that it's a very bad idea - changing some random files after export and hoping that the apk will work.
Here is some apk, not sure how it will help you.
dropbox.com/s/6acuaygq4gtcrdr/NOtch-test.apk