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.
Develop games in your browser. Powerful, performant & highly capable.
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.
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.
According to the documentation:
So I guess on Android the non-consumable purchases are restored automatically on every app launch, and this triggers "On purchase success" event.
Still doesn't seem right to me, because this is not a new purchase. I think it should trigger "On Product Owned" event, not "On purchase".
Discovered a weird thing today:
I published a game on Google Play and was testing in-app purchases yesterday with test account. Now every time I run this game on my phone, "On Purchase Success" event is triggered by itself! Even if I clear all cache and data, even if I uninstall and re-install the app, and even if I set my phone to Airplane mode. It's still triggered.
I don't use "Restore purchases" action anywhere.
Check settings on the slider bar, instance variables and everything else. You probably missed some small detail.
Member since 26 May, 2016