Artpunk's Recent Forum Activity

  • i hope google fix the issue soon

    I dont think they know what it is. If you follow that bug report through that you posted above, it just fizzles out. They ask each other if they have any idea what could be causing it.. then nothing.

    A quote from one of the devs in that thread:

    "Bo, any suggestions for how to figure out why this app on this device is slower in WebView than equivalent HTML content in Chrome?"

    After that... No resolution and no more discussion.

    Same thing happens in the related bug report I posted above. A lot of discussion but ultimately no resolution.

    SO... As Chadori has said in another thread, its possible that web worker support for Android Apps could be introducted in the future. That might help performance, but who knows when. Ashley posted about WebGPU as an alternative to WebGL. Maybe that would help, but thats probably years away??

    So with things as they are, I am basically looking at holding off from publishing on Android for the time being, and hope for improvements in the future. Next Ill be testing out iOS, I have to hope I get better performance there. Hopefully I dont get the same jankiness, so I can at least publish on iPhone.

    Beyond that Ill look at Facebook Instant Games if that is still a thing... my game *should* play well there as its flawless on Chrome and mobile Chrome, although I havent tested yet.

  • i think it bug we all have the same issue ( the mobile performance still not good for big games except the new phones )

    this link for the bug

    https://bugs.chromium.org/p/chromium/issues/detail?id=1127307#c33

    Thanks for that link. I put Canary WebView on my phone like they recommended in that thread, and tested with that enabled (no change).

    It really does seem like this is a bug.. Not with Construct, something to do with WebView on Android..

    This is a good read as well:

    bugs.chromium.org/p/chromium/issues/detail

    github.com/mrdoob/three.js/issues/21088

  • Ashley in your blog post about web workers you made the comment:

    "...it's not yet supported in Android apps or non-Chromium browsers yet, but hopefully those will all follow in due course."

    Do you know where I could look for information about that? When / if support for web workers might be included for Android Apps? Id like to advocate for that to happen but im not sure who to talk to.

    I posted on the Chromium discussion board..

  • Ah. I just read this in Ashley's blog post about WebWorkers:

    Finally it's not yet supported in Android apps or non-Chromium browsers yet, but hopefully those will all follow in due course.

    So probably that accounts for it. I've been testing in Chrome on Android with WebWorker enabled. But APKs don't support WebWorkers. I should have been testing with WebWorker disabled to get a more realistic idea of how it will run as an app.

    So new question.. I wonder how long it will be before APKs support WebWorkers?

  • Sorry bro, Its a joke.. I wrote it because it is the answers you are going to hear from scirra team.

    Ah got ya. Well, maybe not. Maybe the answer is something about webworkers not working in Cordova? Thats what Im wondering.

  • I've never subscribed to C3 but used C2 previously, thought I'd checkout the forum and low and behold one of the first posts is to do with performance, not that this is going to be helpful in anyway, but it's yet another forum post on the performance issues that has plagued Construct since C2, it doesn't matter what the dev's say regarding html5 tech, they keep saying compatibility or performance is better with latest mobile tech, it still doesn't help the fact that html5 performance was and appears still to be terrible on those mobile formats & don't even think about larger projects, look at the debacle of 'The Next Penelope'.

    I'm not knocking the engine as a development tool, as i'm still to see any engine you can get something playable built so quickly, but it seems its the final hurdle every time with Construct, always performance issues. If I get back into development it will be with a tool that has native exporters all the way, I just can't be done with the wrappers workaround.

    Hope you can get it worked out.

    Hey man, yeah I started back on C2 as well. They've definitely made huge strides since the C2 days. Like, the C3 compiler for building apks and ipas is pretty awesome. Also the C3 runtime and WebWorker option definitely gives better performance.

    My game isn't unplayable, for the most part its pretty good. I'd just really like to iron out this jankiness issue I get when game play gets busy... Im so close to having a smoothly playing game :D

  • Let me help you.

    Its your device(s). Its the gpu blacklist on chromium.

    There is nothing that can be done.

    Probably all the answers.

    Edit: And also, there is no significant difference between this building system and a native export.

    rsrsrs

    Pretty sure thats not it. My device says is using WebGL when I use 'Renderer' system expression.

    For the record the GPUs for my devices are:

    Pixel 4a: Adreno 618

    Pixel 2: Adreno 540

  • Im having similar problems to whats discussed in these threads:

    Game Perfromance on Android Sucks

    Chrome vs Cordova performance

    Basically Im noticing a marked difference in performance between Chrome on Android (remote preview and HTML5 hosted online) and Android APK export.

    Ive been testing on two phones: a Pixel 2 and more recently a Pixel 4a. So correct me if Im wrong but as these are Google phones, there shouldn't be any problem with blacklisted GPUs.

    So basically I feel that my game is pretty well optimised. When testing on both devices the game runs at a constant 60FPS, and cpu usage stays within a tolerable range (30-40% on Pixel 2, and ~25% on Pixel 4a). This is true when testing in Chrome on Android AND Android APK. So to be clear, on Andoid APK I get 60FPS and ~25% cpu (Pixel 4a).

    BUT the difference Im noticing is, in busy parts of the game, when more enemies and projectiles are moving around on screen, the Android APK will get slightly janky (happens on BOTH devices, even the new Pixel 4a). Its playable, but janks are definitely noticable.

    This jankiness is simply not present when testing in Chrome on either device.

    So I dont get it... Unlike the guys posting in threads above, who experienced drops in FPS (down to 40FPS for example), my game runs at a constant 60FPS and reasonable CPU usage (25% on Pixel 4a), yet I get janks!!!

    Why is it that when Im seeing this jankiness, there is no corresnponding drop in FPS or increase in CPU usage...

    So.. I feel like, theres something about running the game as an APK that affects performance. Its playable, but Im bummed that performance isnt the same as Chrome...

    A question. I think I read a comment in one of the threads above that Cordova doesnt make use of webworkers? Is that right? So running the game as an APK is basically like playing it in Chrome with webworker disabled? Is that the case?

    Some details about my project settings:

    • C3 runtime
    • Webwork: YES
    • Fullscreen Quality: HIGH
    • Im exporting a Signed Debug APK

    Game has GooglePlay, InAPP and MobileAds plugins (Ive tried removing these altogether, no effect).

    Ive tried exporting with Minify disabled / set to simple (Ashley says minification has no effect on performance).. and in my case he was right, this didnt help.

    I dont really know what else to try.

  • A small thing thats annoying me. does anyone know the trick to rearrange the order of subfolders in the animations editor?

    I have dozens of animations organized into subfolders within a sprite. At the top level I want to change the order subfolders are displayed in the animations pane. When I drag a subfolder to put it above another folder, it just drops into the folder above??? I cant rearrange them by dragging / dropping... if that makes sense.

    When dragging animations, a thin divider line is shown, indicating where the animation will be dropped. This doesnt happen for subfolders though?

    Hope its clear what Im talking about?

  • Bump Nepeo

    Still looking for a solution / work around for this if anyone has any advice.

    Just to restate this issue:

    Is it possible to clear a non-consumable purchase on Android, or set it back to an 'un-purchased' state, so I can retest the purchase of that item multiple times.

  • Try Construct 3

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

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

    Im currently testing the C3 MobileIAP plugin.

    When I make a test purchase of a non-consumable product, that item remains 'purchased' for all future test apks. Is there a way to clear non-consumable purchases? To set them back to an un-purchased state, so I can retest?

    Back in the day, one of the old third party IAP plugins had an action to 'consume product'.

    So after testing a non-consumable purchase, you could set up a separate button to fire an action to 'consume' that product, and it would be treated as if it was consumable and used up... the result being your non-consumable product would be set back to a pre-purchased state, and you could test and retest purchasing that item.

    There's no way I can achieve this with MobileIAP plugin? There's no 'consume' action... anyone got a workaround?

  • Its probably already been said, but when optimising ur events you need to use groups, so you can see in the debugger where cpu is spending the most time.

Artpunk's avatar

Artpunk

Member since 10 Apr, 2014

Twitter
Artpunk has 5 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies