Using UIDs is not always practical. You can add an instance variable PointID and use "For each Waypoint ordered by Waypoint.PointID" loop.
You can. But you'll get the entire page in HTML and will need to find the way to extract the prices from it.
Not sure what the problem is. You can simply do this:
For each WaypointSprite -> Character MoveTo WaypointSprite (add waypoint)
Here is a demo I made recently to get day of week from the internet:
dropbox.com/s/pzhuot5i7779tn8/DOW_FromInternet.c3p
Here is my version:
dropbox.com/s/a7e6l7c9x30pt5i/CoyoteJump.c3p
If you need double-jump or jump sustain, this will require more work.
Here is a simple way to get overall velocity:
velocity=distance(0, 0, velocityX, velocityY)
You request the URL with AJAX, then wait for the response, then get the prices from AJAX.LastData. The task will be much easier if the page returns the data in XML or JSON format, otherwise you'll have to parse HTML and it's not pretty.
I think it will be better if you set text Orgin to left of center, and align it with the center of the 9patch. Still, it may shift up or down on different browsers/devices.
If you want a perfect placement, you should use SpriteFont.
Be aware, that when the window size changes (in "On resolution change" event), you might need to redraw the canvas and regenerate the snapshot.
Yeah, snapshot dimensions may be different, you need to take this into account:
construct.net/en/make-games/manuals/construct-3/plugin-reference/drawing-canvas
So I'm guessing you need (mouse.x-DrawingCanvas.BBoxLeft)/DrawingCanvas.PixelScale
or possibly multiply :)
Try this:
snapshotRedAt(mouse.x-DrawingCanvas.BBoxLeft,mouse.y-DrawingCanvas.BBoxTop)
Also, check out this demo I made some time ago:
howtoconstructdemos.com/hsv-color-picker-tool-c3p
Develop games in your browser. Powerful, performant & highly capable.
It's not easy to update the string when some score changes.
I recommend using an array instead.
Member since 26 May, 2016