tembac

Rendering: Auto, Canvas or WebGl? detect device os?

Recommended Posts

I'm making a game that need to run on web desktop and mobile devices. 

At first we were using rendering Auto but we noticed that it was slow on ios. It reached 30fps top on iphone 5. We noticed that auto seem to always choose webgl on ios. On android and desktop it worked perfect.

Now we switched to rendering canvas and it works at 60fps on the iphone 5 but we noticed some big, sporadic, slowdowns on Android and desktop.

What is the best approach for multiplatform games? Do I need to detect the os of the device? How is this done?

Share this post


Link to post
Share on other sites
On 24/6/2016 at 4:53 AM, VitaZheltyakov said:

I always use Canvas. In the game settings, the user can select WebGL

We will do that but I'm still have the same doubt to see if there is an option to make it automatically. Our sponsor is not happy with the Webgl toggle.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.