BTW - what does "BUMP" mean?
You mean on this forum? It's when you are posting a comment in your post just to move to the top of the list of topics. When no one replies to your post for several days, it may go to page 2 or 3 where many people will not see it. So you use "bump" to return it to the first page.
Are you using Construct 2? The files should be located where you saved them. Try looking in the Documents folder, or search the entire drive for *.capx or *.caproj files.
Check out this demo:
howtoconstructdemos.com/enemies-walking-around-walls-metroid-style-or-patrolling-the-perimeter-enemy-ai-capx
For-each loop should work in this scenario. Please post a screenshot of your code or the project file.
It works for me.
Try this:
JSON For each "array" : List Add Item JSON.CurrentValue
Develop games in your browser. Powerful, performant & highly capable.
Press F12 in browser and check if there are any errors in Console log.
Do you mean this?
howtoconstructdemos.com/auto-zoom-and-scroll-the-screen-to-fit-multiple-characters
If you need to create a hierarchy relationship between two instances of the same object, you need to pick each instance separately. The easiest way to do this is with a family - pick one instance of the object and one instance of the family.
Pick Family with UID=1 Pick Sprite with UID=2 Family add child Sprite
Since you already have a family, if it's not possible to pick an individual object, you can create another family (with the same members).
Pick FamilyA with UID=1 Pick FamilyB with UID=2 FamilyA add child FamilyB
I often do this:
Bullets Is Moving -> (no actions) Else -> your actions here
You can also use:
Bullets NOT Moving compare two values Bullets.PickedCount=Bullets.Count
AJAX request project file
On AJAX completed -> Dictionary load from AJAX.LastData
The question is too vague. You need to add a condition to "On key pressed" event, to check if the previous action has finished.
.
Here is a simple way to restrict pressing a key only once a second:
Global Variable timer On "F" key pressed Compare variable timer<(time-1) ..... Set timer to time ..... (do the other stuff)
— OP was not asking how to move objects on a grid. The question was about chess.js API - the correct syntax used to promote a pawn.
Also check these examples:
howtoconstructdemos.com/category/virtual-joystick
There are two separate events on your screenshot.
The second event has no conditions, that's why "Timer add dt" action is triggered on every tick.
You need to move this action into the first event.