Please Help! Unwanted BG

Status
Not open for further replies.

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
'Product Discussion and Support' is for asking about dlc and Resource Packs, not for implementation questions.
[move]RGSSx Script Support[/move]
Please edit your post to include a link to the script you are referring to. Without it people won't be able to check what's in it in order to give you advice.
 

Lin989

Villager
Member
Joined
May 18, 2018
Messages
12
Reaction score
1
First Language
Vietnamemese
Primarily Uses
RMVXA
'Product Discussion and Support' is for asking about dlc and Resource Packs, not for implementation questions.
[move]RGSSx Script Support[/move]
Please edit your post to include a link to the script you are referring to. Without it people won't be able to check what's in it in order to give you advice.
I'm so sorry, please forgive me!
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
Not a problem. Deciding the right place for a thread can be quite confusing at first, and we were all new once.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
Having a black background if you disable the draw_bg makes sense.

What do you want it to show instead?
 

Lin989

Villager
Member
Joined
May 18, 2018
Messages
12
Reaction score
1
First Language
Vietnamemese
Primarily Uses
RMVXA
Having a black background if you disable the draw_bg makes sense.

What do you want it to show instead?
I wanted the background to show a blur version of the map.
 

Lin989

Villager
Member
Joined
May 18, 2018
Messages
12
Reaction score
1
First Language
Vietnamemese
Primarily Uses
RMVXA
I've "photoshop" the example. Here's what i wanted it to look like :upload_2018-9-2_11-35-16.png
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
When you say you tried to delete the draw_bg command, do you really mean the draw_save_bg command?

If so, try putting it back to what it was, and change this:
Code:
def draw_save_bg
  @background = Sprite.new
  @background.bitmap = Cache.system(SUIKODEN_SAVE_BG_NAME)
end
to this:
Code:
def draw_save_bg
  @background = Sprite.new
  @background.bitmap = SceneManager.background_bitmap
  @background.color.set(16, 16, 16, 128)
end
which is what the menu scenes use to create a blurred version of the map.
 

Lin989

Villager
Member
Joined
May 18, 2018
Messages
12
Reaction score
1
First Language
Vietnamemese
Primarily Uses
RMVXA
thanks! You saved my life :)
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
I found that this only worked once. When you go back to the menu the background is gone and if you went into the save menu again the background was gone.
After a few hours of testing (and learning, I think) it works as desired like this.
Code:
  def draw_save_bg
        @background = Sprite.new
        @background.bitmap = SceneManager.background_bitmap
        @background.bitmap = Graphics.snap_to_bitmap
        @background.color.set(16, 16, 16, 128)
#~     @background.bitmap = Cache.system(SUIKODEN_SAVE_BG_NAME)
  end
 

Lin989

Villager
Member
Joined
May 18, 2018
Messages
12
Reaction score
1
First Language
Vietnamemese
Primarily Uses
RMVXA
I found that this only worked once. When you go back to the menu the background is gone and if you went into the save menu again the background was gone.
After a few hours of testing (and learning, I think) it works as desired like this.
Code:
  def draw_save_bg
        @background = Sprite.new
        @background.bitmap = SceneManager.background_bitmap
        @background.bitmap = Graphics.snap_to_bitmap
        @background.color.set(16, 16, 16, 128)
#~     @background.bitmap = Cache.system(SUIKODEN_SAVE_BG_NAME)
  end
Thank you so much!!!
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,472
Members
137,822
Latest member
madelbylz
Top