C3 Version: construct.net/en/make-games/addons/436/greenworksredraw

Overlay breaks with letterbox projects because the browser does not update the area outside of the game. To fix that, we need to force the browser to render the whole thing again.

It has a few actions and properties.

Actions:

Redraw browser window: Redraws once

Redraw browser period: This will start a render loop that stops after X seconds

Activate constant redraw: This will start a render loop that won't stop on its own

Deactivate constant redraw: This will stop whatever render loop has been started

Set redraw wait: This sets the number of frames to wait between each render (when a render loop is active)

Properties:

Redraw Wait: The number of frames to wait between each render (when a render loop is active)

Auto Redraw: Automatically start a render loop.

Basically, when a render loop is active, this is what it does:

- Set Body opacity to 0.999

- Wait for one frame

- Set Body opacity to 1

- Stop if render loop needs to stop

- Wait for X frames

- Start over again

Download

1.2 Stable (40.18 KB)

Info

Statistics

  • Download count121 total downloads
  • Latest download count 94 downloads of latest version
  • Average download count1 downloads per day average

Owners

  • 2 Comments

  • Order by
Want to leave a comment? Login or Register an account!