An exmaple of my code is below:
Code: Select all
label hill_dialogue:
scene hill
# dialogue
e "dialogue test"
"end of dialogue"
call screen Town
screen Hill():
imagemap:
ground "hill.png"
hover "hill_hover.png"
hotspot(520, 264, 664-520, 652-264) action Jump("hill_dialogue") # begin hill dialogue
hotspot(914, 842, 1610-914, 1080-838) action Show("Town") # path to town
screen Town():
imagemap:
ground "Town.png"
hover "town_hover.png"
hotspot(115, 451, 380-115, 724-451) action Show("Hill") # path to hill
hotspot(568, 502, 912-568, 700-502) action Show("Pub") # door to pub