I'm having a little trouble with the Character Customization screen, getting the rollovers and selected-idle buttons to work.
Here's a screenshot of what my game currently looks like:
And this is what it's supposed to look like with rollovers:
But whenever I go to select the characters in my game, nothing happens! There is no interactivity or response at all. I've uploaded my game to google drive if any kind soul might want to take a look at it: https://drive.google.com/open?id=0B8oQ7 ... XZEeXRlR0E
Here is the code that I am using in the cc_screen.rpy file:
Code: Select all
define character_img = "character"
screen character_customization_screen:
zorder 1000
modal True
tag menu
# The main menu buttons.
imagemap:
ground "gui/characterselect-idle.png"
idle "gui/characterselect-hover.png"
hover "gui/characterselect-hover.png"
selected_idle "gui/characterselect-hover.png"
alpha False
# This is so that everything transparent is invisible to the cursor.
hotspot (63,98,55,62) action [ SetVariable( "characterclass", "Wildman")]
hotspot (125,98,55,62) action [ SetVariable( "characterclass", "skeleton")]
hotspot (187,98,55,62) action [ SetVariable( "characterclass", "dog")]
hotspot (249,98,55,62) action [ SetVariable( "characterclass", "druid")]
hotspot (311,98,55,62) action [ SetVariable( "characterclass", "wisewoman")]
hotspot (373,98,55,62) action [ SetVariable( "characterclass", "pilot")]
hotspot (63,181,55,62) action [ SetVariable( "characterclass", "islandman")]
hotspot (125,181,55,62) action [ SetVariable( "characterclass", "islandwoman")]
hotspot (187,181,55,62) action [ SetVariable( "characterclass", "archeologist")]
hotspot (249,181,55,62) action [ SetVariable( "characterclass", "girl")]
hotspot (311,181,55,62) action [ SetVariable( "characterclass", "mechanic")]
hotspot (373,181,55,62) action [ SetVariable( "characterclass", "nerd")]
hotspot (382,246,98,36) action Return()
add character_img: