Preventing pathfinding objects from overlapping is a popular topic, but there is no easy and universal solution. You can search the forum and tutorials, there are many posts about this. I have two examples, but they are quite complex and may not suit your game very well. (you can open them in free version of C3)
Check the last few pages in this thread! Working download links are always there.
It works for me. Press F12 in preview and see is there are any error messages in the console log.
Also, use this url:
https://m.ingo.dk/cs/Satellite/m/JDK1/dk_DK/pg1334077745046/INGO/Priser.html
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.
Develop games in your browser. Powerful, performant & highly capable.
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.
Member since 26 May, 2016