1. Export to Cordova, download the zip.
2. Unzip to an empty folder and edit files config.json and config.xml with Notepad.
3. Remove these lines (make sure to remove the comma in JSON):
4. Zip all the files.
5. Open Export Manager in Construct 3, upload the updated zip and build an apk.
I haven't tried building for iOS, but I'm guessing it'll be the same.
tarek2 Yeah, the problem I had with my game a few weeks ago was that I couldn't detect if the screen had a notch. Nor was I able to get the position and size of the notch. You are right saying that the notch support in C3 is very limited, it's basically not existing.
Setting "Viewport Fit" to "Auto" or "Cover" doesn't seem to make any difference. And the "construct-mobile-notchfix" plugin that's automatically added to all exports simply ignores the notch, stretching the viewport to the entire screen, which may cause problems in many games.
LaurenceBedford Yeah, if you remove the plugin, there will be a black area where the notch is. So the viewport will be smaller than the screen size, but at least it will not cover your graphics.
To convert from layer A to B:
X = CanvasToLayerX("B", LayerToCanvasX("A", x, y), LayerToCanvasY("A", x, y))
Y = CanvasToLayerY("B", LayerToCanvasX("A", x, y), LayerToCanvasY("A", x, y))
The only solution that worked for me was removing "construct-mobile-notchfix" plugin from the export. Export to Cordova, remove plugin from the config.json and config.xml, then zip and build an apk with C3.
You do not have permission to view this post
I just recently made this demo:
howtoconstructdemos.com/generate-random-levels-from-pre-built-scenes
Develop games in your browser. Powerful, performant & highly capable.
You can do this with blend modes:
https://editor.construct.net/#open=blend-modes
Check out this example:
dropbox.com/s/43c9z9u762l35pw/TileWorkaround_w_Projector2.c3p
Also, take a look at EasyStar plugin (C3 link in comments):
construct.net/en/forum/extending-construct-2/addons-29/behavior-easystar-js-96215
It's better suited for tilemaps and turn-based games than the official Pathfinding behavior.
If you want a realistic looking chain, you'll need Physics. Or you can try Pin to actually restrict the movement of the character, and Physics behavior only to animate the chain.
Actually, you probably need to include "not checked" for all other checkboxes that don't need to be checked. So your event may look like this:
This is really simple:
Yeah, you can add a bunch of events like "Keyboard is 'D' key down -> Player simulate moving right". If you have Default Controls=Yes on the behavior, then you will be able to control the player with both WASD and arrow keys.
Btw would you happen to know how I could set it so it only travels a certain distance along the path like maybe I could set a distance of only 5 or 6 tiles?
I can't think of an easy way to do this.. You can calculate traveled distance on every tick and when its close to 5 tiles, stop at the nearest tile center.
Or you can try Tile Movement instead of MoveTo - move 1 tile at a time to the next Pathfinding waypoint. After 5 tiles stop.
From the documentation link above, it does specify this in the 'Mobile Browser' plugin which is part of the collection.
As I understand, LaurenceBedford wants to exit the application to Android home screen.
I think there is a different plugin for that - "Mobile Background". It has an action "Go Background" - "If on Android, call to move the application to the background."
It doesn't matter how you run Construct 3, addons are installed the same way.
construct.net/en/make-games/manuals/construct-3/tips-and-guides/installing-third-party-addons
youtube.com/watch