How to check the player's opengl?

  • I passed my game in html5 to a player, and reported that all "Dinamic Lights" do not work. The light effect does not work. How to check if it supports hi as well as multiplayer object?

    Tk at All. Good Projects...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can use the renderer and rendererdetail system expressions to display that information.

    https://www.scirra.com/manual/126/system-expressions

    [quote:2wgj5u0v]renderer

    The name of the renderer used to draw the game, currently either canvas2d or webgl. See Technology for more information on canvas renderers.

    rendererDetail

    The name of the graphics hardware in use to draw the game, such as "NVIDIA GeForce GTX 660" or "Adreno 330". This is only available in WebGL mode in certain browsers and platforms; unsupported browsers/systems will return "(unavailable)". Projects should not rely on this string having any exact contents, but it can be useful to diagnose which GPU is in use in dual-GPU systems, or to look for keywords and apply default graphics settings based on the type of hardware.

  • You can use the renderer and rendererdetail system expressions to display that information.

    https://www.scirra.com/manual/126/system-expressions

    [quote:2fitgty8]renderer

    The name of the renderer used to draw the game, currently either canvas2d or webgl. See Technology for more information on canvas renderers.

    rendererDetail

    The name of the graphics hardware in use to draw the game, such as "NVIDIA GeForce GTX 660" or "Adreno 330". This is only available in WebGL mode in certain browsers and platforms; unsupported browsers/systems will return "(unavailable)". Projects should not rely on this string having any exact contents, but it can be useful to diagnose which GPU is in use in dual-GPU systems, or to look for keywords and apply default graphics settings based on the type of hardware.

    Many thanks for your tip, but for reasons of being a beginner could you tell me what the condition really is? <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Not sure what your question is...

    Create a debug text object. Set text to renderer.

    Now your user can see if they are using webgl or not.

  • Not sure what your question is...

    Create a debug text object. Set text to renderer.

    Now your user can see if they are using webgl or not.

    TK GUY...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)