This is my code, the first image recorded appears but not of the other slots. How I can solve the problem? And....
● you can add a box with the latest text on the game? Or..
● you can add custom text? (the players can add whatever they want in the box)
● where I have to add "key "save_delete""? and with what action?
Code: Select all
screen cu:
add FileScreenshot(number) xpos 50 ypos 92
screen file_picker():
imagebutton auto "dat001/back_%s.png" xpos 15 ypos 10 focus_mask True action Return()
$ config.thumbnail_height = 118
$ config.thumbnail_width = 203
imagemap:
# ypos 596 xpos 383
alpha True
ground "dat001/unozul.png"
idle "dat001/unozul.png"
hover "dat001/unocele.png"
selected_idle "dat001/unocele.png"
selected_hover "dat001/unozul.png"
hotspot (244, 421, 34, 34) action FilePage(1)
hotspot (276, 421, 34, 34) action FilePage(2)
hotspot (309, 421, 34, 34) action FilePage(3)
hotspot (342, 421, 34, 34) action FilePage(4)
hotspot (274, 421, 34, 34) action FilePage(5)
hotspot (408, 421, 34, 34) action FilePage(6)
hotspot (440, 421, 34, 34) action FilePage(7)
hotspot (473, 421, 34, 34) action FilePage(8)
hotspot (504, 421, 34, 34) action FilePage(9)
hotspot (583, 421, 34, 34) action FilePage(10)
$ x = 47
$ y = 255
for number in range(1,7):
$ filetime = FileTime(number, empty=_(""))
$ fileslot = "nro %02s" % (FileSlotName(number, 4))
imagebutton auto "dat001/cdro_%s.png" xpos x ypos y action [FileAction(number)]
use cu
if filetime:
add "dat001/vcio.png" xpos x ypos y
$ xt = x + 7
$ yt = y + 50
$ xs = x + 70
$ ys = y + 4
text filetime xpos xt ypos yt size 12 outlines [(1, "#000", 0, 0)]
text fileslot xpos xs ypos ys size 16 outlines [(1, "#000", 0, 0)]
$ x += 147
if number == 5:
$ y += 80
$ x = 47
screen save():
tag menu
use file_picker
screen load():
add "dat001/load.png"
tag menu
use file_picker
init -2:
style file_picker_frame is menu_frame
style file_picker_nav_button is small_button
style file_picker_nav_button_text is small_button_text
style file_picker_button is large_button
style file_picker_text is large_button_text
Sorry for my bad english.
