Jump to content

Screen fade to black


Recommended Posts

Much to my surprise, I could not find the answer to this question anywhere. Is it possible to fade the whole screen to black (with a tween if possible) without the use of a custom filter? And if I do need to use a fragment shader, will I be able to tween it like any other variable?



Link to comment
Share on other sites

  • 1 year later...

Fade from black when you start state (oncreate)


Fade to black from state:

startGame: function (pointer) {
    fadeComplete: function () {

Make sure you have the latest version of phaser.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...