fredriksthlm's Forum Posts

  • check the console

  • I need to add new function on the instant game plugin how to do it

    Which functions do you plan to include?

  • How did it go with this project? Did you manage to make a multiplayer instant game?

  • Without going through the thread, is there an official fix for this or are we waiting for Google to sort it out?

    Does this mean we can’t export for android unless we choose to deselect WebGL and settle for low quality graphics?

    1 wait for google

    2 no (you can amend the runtime file manually)

  • an easy helper plugin can be made for this since the official plugin loads the SDK

    yes, or you can use the javascript functions directly, via browser plugin

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • fredriksthlm Well, I gave it a try with something very simple but it didn't work so I removed it from the production version.

    I think the create shortcut prompt you saw is something automatic on Facebook side when a player opens a game for the first time. If he doesn't accept, popup disappears and is no longer shown.

    Looking at Instant Games documentation, I saw that we're missing the canCreateShortcutAsync( ) function (source: developers.facebook.com/docs/...).

    I hope Scirra is going to update the official IG plugin because we really need those new features so that we may fully benefit from the platform and Construct.

    the scirra plugin actually uses this, the the createshortcut within this function, if the function is true.

    but actually I remembered you had a specific button for the shortcut... maybe I played your game is some testversion then :D

  • :( WebGL Turn ON and in 1 click we are losing 60% of end users... this is a poor vision...

    I am staring to pray, to GPU ODMs and WebGL dev. to fix this situation.

    just disable webgl2

  • METR1C

    Regarding to performance:

    1). FPS

    WebGL OFF(-5%) vs WebGL ON -> WebGL ON (+1)

    2). Random artefacts on Qualcomm GPU

    WebGL OFF(none) vs WebGL ON ( Occur) -> WebGL OFF (+1)

    3). Black/Blue/Withe screens with audio in BG Qualcomm GPU (Samsung, Honor)

    WebGL OFF(none) vs WebGL ON ( Always) -> WebGL OFF (+1)

    4). Random APK resets

    WebGL OFF(none) vs WebGL ON ( Occur) -> WebGL OFF (+1)

    On MediaTek GPU all is OK when we have a WebGL ON :)

    In my personal opinion i don't feel a big drop of FPS in a project.

    Furthermore i can find more advantages in my case during WebGL is OFF.

    I think that this is a very individual decision depend on project complexity to use WebGL ON or OFF those days.

    All because of ODM GPU poor drivers:

    https://www.xda-developers.com/google-chrome-samsung-galaxy-s6-graphics-driver-bug/

    I hope that ODM improve ASAP drivers and WebGL 2.0 will improve library

    Regarding to market share of mobile GPU Qualcomm is a top player now:

    For some users "going down" to canvas will have huge performance issues, so to turn off WebGL seems crazy since it is only WebGL2 thats cause the issues...

    With C3 runtime you will not be able to run canvas at all..

  • did you use the createshortcut functionality? I thoguht I saw that in your game in the beginning, but cannot see it now..?

  • I just commented your "performance boost", since that was incorrect.

    We have like ten threads saying there is an issue with android devices and webgl, so we all know it. In fact the issue seems to be with Webgl2 not webgl, but if you turn off webgl totally it will also work of course (I would though not recommend it, since canvas sucks in comparison)

  • The performance boost is not the result of turning off WebGL, it is the result of removing your effects.

    If you will use WebGL without effects it will be even more improved.

  • if the game starts with only the bg color visible you have run into the webgl2 issue, as almost everyone else.

    amend your runtime file

  • It is a lot of features that are not in the plugin.

    You have to use javascript with the browser plugin instead

  • You do not have permission to view this post

  • Well... if this could be fixed temporarily by amending the runtime file it is a suitable work around for me atleast.

    Since currently this is quite critical, since the games cannot be opened on androids from time to time

    this should be possible to do also for minified exports, just search the runtime