# The script of the game goes in this file.
# Declare characters used by this game. The color argument colorizes the
# name of the character.
define d = Character("Daryl")
define r = Character("Receptionist")
screen imagemap_office():
imagemap:
idle 'office.jpg'
hover 'officehover.jpg'
alpha False
hotspot(891, 309, 185, 538) action Jump("entrance") alt "Entrance"
hotspot(1260, 630, 200, 320) action Jump("newspaper") alt "Newspaper"
hotspot(1663, 340, 200, 400) action Jump("go") alt "Go"
screen imagemap_officelobby():
imagemap:
idle 'officelobby.jpg'
hover 'officelobbyh.jpg'
alpha False
hotspot(1685, 8, 220, 120) action Jump("start2") alt "Start2"
# The game starts here.
label start:
show black with dissolve
"You've created a new Ren'Py game."
# Call the imagemap_example screen.
label start2:
label imagemap_office:
call screen imagemap_office
label entrance:
d "Bemegyek az irodába."
label imagemap_officelobby:
call screen imagemap_officelobby
d "Senki sincs itt."
d "Körbenézek"
label newspaper:
show black
d "Megnézem az újságot"
scene newspaper
d "Valaki még olvassa ezeket?"
jump imagemap_done
label go:
d "Elindulok arra."
show go
d "Micsoda szarfészek"
jump imagemap_done
label imagemap_done:
d "Once you add a story, pictures, and music, you can release it to the world!"
# This ends the game.
return