vincentlnalls's Recent Forum Activity

  • Test your app in a different browser to see if the issue is specific to one browser. If the problem persists, try testing the app on a different device.

    Double-check your code to make sure you have not made any syntax errors or made changes that could have caused the plugin to stop working.

    use contrcut2 debugger to helo you identify any syntax errors

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    saw an old thread regarding some issues using html5 apk builder, because of oldness of thread i am not able to reply there, so i am posting the solution here, it may solve other mates problem regarding same issue..

    Old Thread

    I've tried cocoonjs and get good performance mixed with a lot of jank (around 10-63 FPS). I've tried crosswalk and get a TERRIBLE frame rate (7 FPS). What I've had the best performance with is the HTML5 APK Builder (http://www.mrchay.com/projects/HTML5toAPK). I've been getting 25-40 FPS but it runs much more smoothly than the other options I've tried. I'm having a few issues with it and wanted to start a place where people could share experiences and info. I also have a few questions about it. I've heard people talk about screen orientation lock issues with crosswalk, I'm also experiencing them with the APK Builder. How can one go about setting and locking the orientation? I also am having a slight audio lag and music isn't playing at all. Can I fix these? If so, how?

    Solution

    If somneone facing the same issue you can use the screen orientation plugin for Cordova/PhoneGap to lock the screen orientation. run this command in your project directory

    cordova plugin add cordova-plugin-screen-orientation

    after installing this you can install this

    screen.orientation.lock()

    Regrarding audi issues there must be some lagging reasons you may need to adjust the 'preload' and 'autoplay' attributes to ensure that the audio files are loaded and played correctly.

vincentlnalls's avatar

vincentlnalls

Member since 21 Apr, 2023

None one is following vincentlnalls yet!

Trophy Case

  • 1-Year Club
  • Email Verified

Progress

2/44
How to earn trophies