Ashley's Forum Posts

  • It looks like it's crashing in the device's graphics driver (libGLESv2_adreno.so). There's not much you can do about that other than try to report it to the GPU vendor...

  • See the scripting reference section in the manual for the currently available APIs you can use in scripting. This is being updated over time as the feature is relatively new and we're continuing to add new APIs. In the mean time if you need to run some actions from script which there aren't equivalent APIs for, use runtime.callFunction() to call an event which runs the actions you want.

  • Construct doesn't yet have a built-in way to run games in the background, because most games don't need it, and unnecessary background services drain the device battery.

    You can do timer-based logic without any background services at all - just compare the time since the app was last running.

  • The new 'Move to' Behavior looks very handy, but I'm a little unsure of it's usage exctly - there's isn't any tutorials available for it yet and nothing in the online manual.

    In the latest beta there are two examples you can find in the Start Page - 'Move to position' and 'Move along path'.

    I'm hoping someone can give a me a simple example or screenshot as to how to use it to move a basic platform back and forth.

    That's not really what the Move To behavior is for. If it's oscillating, the Sine behavior would be more appropriate.

  • That error appears to indicate a crash in native code, so would be nothing to do with JavaScript. It could be a bug in iOS itself.

    • Post link icon

    TheRealDannyyy - there are various workarounds like you suggest, and there's also the fact you can copy and paste images now which might help make it quick to move content between editors too. There's another Project Fugu feature request though to launch an external app with a file which I think would do it.

  • I don't know where READ_EXTERNAL_STORAGE comes from, but WRITE_EXTERNAL_STORAGE is currently added by Cordova. An issue was filed for it here: https://github.com/Scirra/Construct-3-bugs/issues/3306

    I think the permissions can be removed manually if you do an Android Studio build? Maybe Nepeo can tell more.

    Alternatively you could just reply and say they're added by the Cordova framework but aren't currently used, and see if Google accept that.

  • If you're just trying to get something working I'd strongly advise: create a new project and figure it out with the fewest objects and events. Then move it over to your main project.

    As it is it sounds like you are constantly running in to conflicts with the rest of your project, which sounds like it includes hundreds of events. It will make your life harder, and it makes it confusing to explain and difficult for others to help.

    • Post link icon

    We'll figure out an alternatives for those at some point along the way. I'm not sure about keyboard shortcuts, I think there might be a separate feature being tracked for better keyboard shortcut access somewhere.

    • Post link icon

    There is a provisional schedule at goo.gle/fugu-api-tracker. I think that is subject to change, but it suggests the native file system origin trial will last through Chrome 78-80, and then ship for everyone in 81. We've signed up to the origin trial though, so it'll be enabled by default at editor.construct.net through Chrome 78-80, albeit behind the "experimental features" setting in Construct. We might wait a bit longer after Chrome 81 before enabling it by default in Construct itself, since we have to be sure project saving is totally robust before enabling it for everyone.

  • You should refer to the Instant Games documentation on testing, publishing and sharing. If you run in to problems it may be best to use Facebook's own support/developer communities for that, since it's their service.

    • Post link icon

    There is now support for local file & folder saves in Chrome. This works right from the browser - there's no need to download the desktop app version for file access!

    What you can do with it

    • Save single-file projects (.c3p) anywhere on disk (previously you could only 'Download a copy')
    • Open a single-file project (.c3p), edit it, and save it back over the original file on disk
    • Use folder-based projects in the browser
    • Set backups to be saved to a local folder

    This is made possible by a new experimental feature in Chrome which we are using in Construct 3. You can help test it too.

    Accessing the feature

    This feature is available when you use:

    • Construct 3 r219.2+
    • Chrome 86+

    Using it

    In the main menu you should now find options Open local file and Open local project folder. These will load projects directly from disk. If you then edit them and press Save, it will save back over the same file/folder on disk. Similarly there are new save options Save as single file... and Save as project folder.... You will see various permission prompts while using these to ensure Chrome can access the files/folders on disk, but generally once you've granted access to a particular file/folder, you can continue using it for the rest of the session without any further prompts.

  • I've already done something like that thanks to dop2000's awesome help (with the URI), but I get lots of scary red warnings on the console (F12) when importing which are total gibberish to me and I'm afraid it will cause issues later.

    What warnings? Please always include the exact text of any such errors, it's impossible to comment without it.

    Any chance for how to do #4 ?

    Load the PNG in to a Binary Data object, then use the Sprite action to load an image from a URL, and use the Binary Data object's URL.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
    • Post link icon

    The system 'Sort Z order' action works the same as the way using for-each ordered, but much faster.

    If you were using 'For each Family order by Family.Y ascending: send to front', instead use 'Every tick: set Family sortOrder to Family.Y, sort by Z order by variable sortOrder'.

  • You're a bit late to the party - this all happened in January. And the Construct 3 vs. Construct 2 discussion has also been done to death already. That all happened in 2017, and here we are - doing better than ever, actually! Rumours of our demise have long been exaggerated.