I saw a video on youtube using interpolation to call an image so I assumed I could try and use it with an imagemap
I set a variable fo the time of the day, and this will decide wich image will be used for the imagemap
The images are named "overworld_day_hover/idle/ground" and "overworld_night_hover/idle/ground", so I used the following code:
Code: Select all
default time_of_day = "day"
screen overworld():
imagemap:
auto "gui/overworld_[time_of_day]_%s.png"
hotspot (245, 149, 105, 124) clicked [ Hide("overworld"), Jump("teste")]
hotspot (244, 466, 104, 155) clicked [ Hide("overworld"), Jump("teste")]
Is it not possible to use it for imagemaps os am I doing it wrong?
