Create another object (let's call it "Base"), and make it immovable. Create a revolute joint between your object and the Base. Your object should rotate around this joint.
Check out this demo:
howtoconstructdemos.com/seesaw-in-a-platformer-game
Your event #3 is executed on every tick. You need to put it as a sub-event under "AJAX On Completed".
howtoconstructdemos.com/text-displayed-as-a-moving-sine-wave-with-fade-capx
I may have found a partial solution. Set Obstacles: custom in behavior properties, spawn the object, then add obstacles and regenerate the region around. Because when the object is created it has no obstacles, the full map generation happens much faster and the initial lag is small.
Regenerate region?
I'm talking about the initial obstacle map generation. It's taking a lot of time because of the huge layout size. After that I can do "Regenerate region" and it's executed much faster. What I need is a way to skip that initial map generation.
It is generated on layout start, if there are instances with Pathfinding behavior. There will still be the lag, but on layout start. Also, it's regenerated if you load a saved game, again with the lag.
My layout is huge, but I only need Pathfinding to work on a small portion of it. However, when an object with Pathfinding behavior is spawned, there is a 2 seconds lag because the obstacle map is automatically generated for the entire layout.
Is there any way (maybe some trick or hack) to avoid this?
A common way to detect controls is to add a screen with a "Start" button. Then wait for player to touch it, or click it, or press a key on keyboard.
See "Detecting input method" template.
Because Construct has a visual code editor, Search function doesn't work very well there. You can search for an object name, or for a specific word/phrase in the action or condition. But if you try searching for, say "Sprite Set Angle", it won't work, and this is pretty disappointing.
There is no such expression, but you can add a condition checking that the game is not over. For example, if you have a global variable GameFinished - you can use that.
Develop games in your browser. Powerful, performant & highly capable.
Here is the expression for the angle of motion:
angle(0, 0, Obj.Physics.VelocityX, Obj.Physics.VelocityY)
And the overall velocity:
distance(0, 0, Obj.Physics.VelocityX, Obj.Physics.VelocityY)
This means many of my old and not so old projects will stop working.
Ashley Can you at least give us more time? You keep saying "contact the addon developer", but for lots of old addons it's not possible. People who created them have left the forum. And for some addons there are simply no alternatives.
You can connect other ad networks through Admob mediation, or purchase Chadori's collection of addons and use IronSource.
Publishers may require you to implement their own SDK, and if there is no C3 addon for it - you are in trouble.
There is a paid version of this template, it contains examples of endless runner and endless jumper levels. See Demos C and D:
construct.net/en/free-online-games/random-level-generator-23488/play
It feels like a bug. Restoring an already owned product is not the same as making a purchase. This may trigger an unnecessary "thank you for your purchase" dialog, or send some wrong analytics events every time the app is launched.