Welko 1 Report post Posted October 12, 2013 (edited) I am changing the menu architecture of my game trying to make a small menu on the corner and I want to make the background transparent. This is the change I made related to this purpose: class Scene_Menu def main @background = Spriteset_Map.new I added @background.dispose and @background.update as wellThe problem is I am using Pictures to make flashlight effect and dark and they appear above the menu, making it difficult to see the window. Image: The game is in Brazilian Portuguese, by the way.How can I fix this? Edited October 12, 2013 by Welko 1 uldamoc reacted to this Share this post Link to post Share on other sites
0 Metaclaw 21 Report post Posted October 12, 2013 looks like spriteset_map draws pictures in viewport2, with a z value of 200. try changing that z value, using: class Spriteset_Map attr_accessor :viewport2 endthen, in your menu do def main @background = Spriteset_Map.new @background.viewport2.z = [ some number. I'm guessing 1~99 will do ] ... end 2 Marked and uldamoc reacted to this Share this post Link to post Share on other sites
0 Welko 1 Report post Posted October 12, 2013 Thank you very much! /o/ Share this post Link to post Share on other sites
I am changing the menu architecture of my game trying to make a small menu on the corner and I want to make the background transparent.
This is the change I made related to this purpose:
I added @background.dispose and @background.update as well
The problem is I am using Pictures to make flashlight effect and dark and they appear above the menu, making it difficult to see the window.
Image:
Edited by WelkoThe game is in Brazilian Portuguese, by the way.
How can I fix this?
Share this post
Link to post
Share on other sites