Can you post your C3 project file, or a screenshot of the event list?
And also this JSON data in text format (not as a picture).
Have you tried opening this php directly from the browser address bar? If it outputs "[object Object]" (and not a JSON string) on the screen, then you will know that the problem is in the PHP code.
Why do you need this value in "On item set"? This event is triggered immediately after "Set item" action. So you should still have this value stored in a variable (or array/dictionary/etc.), you don't need to read it back from local storage.
Rotating a drawing canvas can definitely be useful. Please vote for this idea here:
construct3.ideas.aha.io/ideas/C3-I-1050
jobel I just found that chadorireborn's plugin collection includes full version of Globals plugin. It does have "For each variable" event, and "Set variable by index" action.
I have the same problem, anyone knows how to fix it?
I believe the actual error is this:
Nothing like this.. Did you read my comment?
On Button click DrawingCanvas Set size to (BlueBox.width, BlueBox.height) DrawingCanvas Set position to (BlueBox.x, BlueBox.y) DrawingCanvas Paste sprite1 DrawingCanvas Paste sprite2 DrawingCanvas Paste sprite3 ... Wait 0 (may not be needed) DrawingCanvas Save Image Wait for previous action to complete Browser invoke download DrawingCanvas.SavedImageURL
Develop games in your browser. Powerful, performant & highly capable.
Yes, set the size and position of Drawing Canvas to the size and position of the blue box sprite. Then paste objects, then save image.
Use DrawingCanvas object. Set its size and position, then paste all sprites onto it. Then use "Drawing Canvas Save image" action, wait for "Drawing Canvas On saved image" event, your image will be in DrawingCanvas.SavedImageURL expression.
It works for me in desktop version of C3. It won't work in browser I guess.
Also, press F12 and check if there are any errors in Console log.
No, this is a good way to pick instances. You can also pick by Unique ID, IID, or some other properties.
Check the last couple of pages, fresh download links are always there.
Member since 26 May, 2016