How to fade the game screen when you pause the game?

Hi everyone, i was wondering how would I fade the game screen, when I pause the game?
Thankyou.

Comments

  • KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291

    @TheTiger said:
    Hi everyone, i was wondering how would I fade the game screen, when I pause the game?
    Thankyou.

    Do you mean have a transparent gray overlay over your game? If so just have an actor and make it black. Set its opacity to 50 or what ever looks better then put it in the scene or pause scene. Make it the size or bigger of the scene it will be displayed in. If you are placing it in the game scene then in the actor you would want a rule such as; when pause is true, change self. color alpha to 0.5 otherwise change self. color alpha to 0. If it's placed in a pause scene then you can just leave its self color at 0.5.

    Hope that is what you are looking for and looking to do.

Sign In or Register to comment.