Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

HTML5 rendering paused
Started by larrypmason Nov 25 2019 01:43 PM

- - - - -
No replies to this topic
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 1 posts
  • Corona SDK

I'm using websockets to receive messages from other users.  On the macOS and tvOS versions of the app, changes to the screen are reflected immediately.  On the HTML5 version, the screen only changes if the browser is the active program.  Otherwise it seems all rendering is queued.  I've seen numerous other webgl apps animate while the browser is not the active program, since I don't believe it is a webgl/browser issue.  Is this a "feature" implemented by the Corona logic?  Is there anything I can call to force at least a single refresh within my message processing logic (ie drop into native javascript code to force a redraw)?  Any other setting I can tweak to allow continuous rendering?