- Home /
Pause Menu Background
So I have this pause menu GUI script, and I would like that once the pause menu is showned the background would be darker or something, like this:
its like a blue texture
Answer by ahgr123 · Aug 17, 2014 at 05:05 PM
Well open your graphics application and create a alpha channel picture (transparent area) colorize it in black (or any color you want) and lower opacity. Save as png or any other format that supports alpha channel. Use this as gui texture and call it when pause menu is shown up.
is there a option to make it stretch to you screen or do I just have to make it huge
You just use
0,0, Screen.width, Screen.height
as the coordinates and size of the rectangle that describes your background image via GUI.DrawTexture.
Your answer
Follow this Question
Related Questions
How do I put a texture on my Cube using code (JavaScript) 1 Answer
Minecraft world generation in JavaScript 0 Answers
Pause menu 'Exit' scene change problem 0 Answers
World Generation with Interesting Terrain 0 Answers
How do you place a smaller background over the previous background on a new state. 0 Answers