Скрин
Код
$ result = renpy.imagemap("bg test.jpg", "bg testH.jpg", [
(1707, 204, 1908, 801, "us1"),
(282, 659, 343, 811, "us2"),
], focus="imagemap")
if result == "us1":
scene bg test
show elza at left
e "Опять!?"
jump ofic
elif result == "us2":
scene bg test
show elza at left
e "Опять пёшь!?"
$ of1 +=1
jump ofic
label ofic:
if of1 == 1:
$ result = renpy.imagemap("bg testB.jpg", "bg testH.jpg", [
(1707, 204, 1908, 801, "us1"),
], focus="imagemap")
if result == "us1":
scene bg test
show elza at left
e "Опять!?"
jump ofic
elif of1 == 0:
$ result = renpy.imagemap("bg test.jpg", "bg testH.jpg", [
(1707, 204, 1908, 801, "us1"),
(282, 659, 343, 811, "us2"),
], focus="imagemap")
if result == "us1":
scene bg test
show elza at left
e "Опять!?"
jump ofic
elif result == "us2":
scene bg test
show elza at left
e "Опять пёшь!?"
$ of1 +=1
jump ofic
(1707, 204, 1908, 801, "us1"),
(282, 659, 343, 811, "us2"),
], focus="imagemap")
if result == "us1":
scene bg test
show elza at left
e "Опять!?"
jump ofic
elif result == "us2":
scene bg test
show elza at left
e "Опять пёшь!?"
$ of1 +=1
jump ofic
label ofic:
if of1 == 1:
$ result = renpy.imagemap("bg testB.jpg", "bg testH.jpg", [
(1707, 204, 1908, 801, "us1"),
], focus="imagemap")
if result == "us1":
scene bg test
show elza at left
e "Опять!?"
jump ofic
elif of1 == 0:
$ result = renpy.imagemap("bg test.jpg", "bg testH.jpg", [
(1707, 204, 1908, 801, "us1"),
(282, 659, 343, 811, "us2"),
], focus="imagemap")
if result == "us1":
scene bg test
show elza at left
e "Опять!?"
jump ofic
elif result == "us2":
scene bg test
show elza at left
e "Опять пёшь!?"
$ of1 +=1
jump ofic
Объясните дураку что я делаю не так