Ashley's Recent Forum Activity

  • Apple do not support this in Safari 8. They did in Safari 7.1 with the "minimal-ui" viewport mode, which C2 uses, but they removed support for this in Safari 8, and have not added support for the Fullscreen API or orientation lock, so there is simply no alternative. I'm not aware of any HTML5 engine or framework that can do this, since as far as I can tell Safari simply does not support this at all. The only workarounds are try to stick to portrait mode (since landscape mode has big invisible areas that bring back the browser UI and generally get in the way of the game), or rely on 'Add to home screen' or publishing a native app. Hopefully a future version of Safari will add support for this.

    It's not a problem with all mobile browsers though: Chrome for Android supports both 'Request fullscreen' and orientation locking. See fullscreen and orientation lock in browsers for more information.

  • In the past a crash when the layout view first appears (when using File - New or File - Open) has always been a graphics driver issue.

    Do you have a dual-GPU laptop? For example if you have Intel HD graphics integrated and a separate nVidia card, it may ignore your settings or otherwise default to the Intel chip. You should make sure you have the latest drivers for the Intel graphics as well, to rule out that being the cause of the problem.

  • If you're that close you might be able to get it under the limit by:

    • use JPEG anywhere you can (think you said you were doing this already) - remember to set this in the Image Format options dialog from the C2 image editor, C2 ignores the imported format
    • use PNG-8 anywhere you can without causing a significantly noticable reduction in image quality (as above set this in the Image Format dialog in the image editor)
    • delete any .m4a files that are exported - Android can play the .ogg files. Mobile speakers are often not great so you may be able to get away with pretty low quality (unless headphones audio is especially important)
    • use an external tool to re-encode any large .ogg files to an even lower quality
    • any images which are blurry/same color/low contrast, resize the image smaller in the image editor, then stretch the image up again in the layout view. This makes the image smaller while producing a similar looking result
    • simply cut any artwork, music or sound effects that aren't strictly necessary

    Expansion APK support is in the works for Crosswalk, so hopefully that will be able to split off at least the images from the main APK file.

    Maybe I should write up a blog post on minimising the download size?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The easiest option is to use "letterbox scale" fullscreen mode and it will work on any size screen at all. If the aspect ratio is different, it'll show black bars down the sides (like 16:9 movies on a 4:3 TV).

  • [quote:ti7keqfg]Make that file in use (open it in a program that will lock the file)

    How exactly are you doing this step? You need to provide exact steps to follow so we can do exactly what you are doing.

  • You shouldn't do this. Plugins shouldn't go round making arbitrary changes to other objects. It should be up to the user to make that happen. Also the plugin condition, action and expression functions are written to be called by the C2 event engine, not any other code, so they may not even work correctly if you use them outside of the event system (depending on the flags or the event system customisations used). Plugins don't specify a more friendly JS API because it's not intended that you do this at all.

  • You do not have permission to view this post

  • zizomass - the crash should be fixed in r192, have you tried it?

    What you say does not change the fact you could easily make this project use far, far less memory. For example you have 4096 pixel wide images which are just grey with a line of doors on it. You could have a 32x32 grey tiled background with individual door sprites placed along it on top, for example, and you've saved about 60mb of memory right there.

    Like the blog post I linked to says, no tool is going to cope well with such extreme requirements on texture usage.

  • FWIW filed a bug with Apple here: https://bugs.webkit.org/show_bug.cgi?id=139545

  • I filed a bug with Apple here: https://bugs.webkit.org/show_bug.cgi?id=139545

  • I think it's FRAPS' job to be compatible with all software, not all software's job to be compatible with FRAPS.

  • Sounds a bit like this bug report: https://www.scirra.com/forum/importing-certain-wav-files-crashes-on-safari_t120520

    I think sometimes very short sound effects can produce a .m4a file that crashes Safari, maybe that's what's happened in your project? It's definitely a Safari bug, I'll try writing up a report for Apple.

Ashley's avatar

Ashley

Online Now
Early Adopter

Member since 21 May, 2007
Last online 27 Oct, 2026

Twitter
Ashley has 1,834,734 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x126
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x6
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x44
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs