Code: Select all
screen character_select:
zorder 100 #this makes sure the imagemap is on top of everything else
imagemap:
ground "choose!.png" #what the imagemap looks like normally
hover "mhm.png" #what it looks like when everything's hovered over
hotspot (173, 99, 333, 446) clicked Return("sakura")
hotspot (519, 100, 330, 445) clicked Return("takuya")
label start:
show image "choose!.png"
with dissolve #these two lines are because I'm a perfectionist and want the screen to fade in, which it can't do normally when you use call
# and you have to use call NOT SHOW for an imagemap screen, otherwise the game will just take you back to the main menu afterward/skip over the screen, basically
call screen character_select
$ result = _return #makes that return into a variable so you can use it
if result == "takuya":
jump takuya_start
elif result == "sakura":
jump sakura_start
# The game starts here.
menu:
"Sakura":
$ character = "A"
"Takuya":
$ character = "B"
if character == "A":
"could not find sakura_start" the one I bolded, so what do you think is wrong with it?
note: the codes, I just copied and pasted so I don't really know what I'm doing haha. I just started today so, yeah. please guide me~elif result == "sakura":
jump sakura_start
EDIT:
okay so I got it to work but then it shows it like this