However, the sprites display strangely. When you click through one character's different sprites, the background is suddenly black, dissolves or fades the sprite in and out (depending on which option I put on the code I put below), and then the background is suddenly transparent.
I'm not a big fan of the transparent background, but the obnoxious part is the way it appears with no transition.
I want to know if there's a way to either
A. Put a background behind the sprite that transitions with the sprite or
B. Make the game transition to the transparent background
I created my gallery by copying from the example here: http://www.renpy.org/wiki/renpy/doc/coo ... CG_Gallery
And I added this code here: http://www.renpy.org/w/images/8/89/new_gallery.rpy
On that second page of code I just mentioned, I tried messing around with this here:
Code: Select all
class Gallery(object):
transition = dissolve
locked_button = None
locked_background = "#000"
hover_border = None
idle_border = None
background = None
Here's the way my transitions are set in the options file:
Code: Select all
## Transitions.
## Used when entering the game menu from the game.
config.enter_transition = dissolve
## Used when exiting the game menu to the game.
config.exit_transition = dissolve
## Used between screens of the game menu.
config.intra_transition = fade
## Used when entering the game menu from the main menu.
config.main_game_transition = dissolve
## Used when returning to the main menu from the game.
config.game_main_transition = dissolve
## Used when entering the main menu from the splashscreen.
config.end_splash_transition = fade
## Used when entering the main menu after the game has ended.
config.end_game_transition = dissolve
## Used when a game is loaded.
config.after_load_transition = dissolve
Code: Select all
g.page("Sprites")
g.button("tnJude.png")
g.unlock_image("jude snarky")
g.unlock_image("jude frown")
g.unlock_image("jude confused")
g.unlock_image("jude neutral")
g.unlock_image("jude off")
Thanks!