Each image is a separate object? It's not a good idea, I suggest using a single sprite object with multiple frames instead.
If you prefer many separate objects, you need to add them all into a family, and then add Drag&Drop behavior to the family.
Develop games in your browser. Powerful, performant & highly capable.
Check out this demo, I believe it's what you are trying to make
howtoconstructdemos.com/push-objects-in-tile-based-game-sokoban-style
By cross a trail you mean follow it?
There are many ways you can do it, the easiest is probably with MoveTo behavior. Use "Add waypoint" mode to add all points of the trail. Check out this demo:
howtoconstructdemos.com/draw-a-path-on-the-screen-and-move-your-character-along-it
You can upload to any file sharing service and post the download link here.
You should be able to change the id of this instance variable in AsJSON data to match the "sid" value in Dots.json
It should work if you do it correctly and change all occurances.
Try this example:
dropbox.com/s/8ecwxt9d92dr6q8/asyncfunc.c3p
So you need to create 1 sprite at the top, then 2 at the bottom, then repeat? And a pause between each sprite?
Try this:
Try to change the variable "loop" in the first function to static too.
And you can remove "Wait for previous action", it has no effect there.
A common approach is to use a different invisible sprite (just a rectangle) for movement and collisions. And pin your visible character sprite to it. This way you can have frames of variable shape and size in character animations, and they will not affect character movement. All you need to do is set the origin point correctly in all frames.
Check how it's done in the official Kiwi Story template. There's Player_Base sprite and Player_Mask sprite.
You can change their density, but not gravity.
Did you import this font into the project?
The safest method is to use SpriteFont - it will look the same on all devices.
Select your keyboard event and press B. This will create a sub-event. The variables and the rest of the code should be in the sub-event.
Member since 26 May, 2016