This is my ery first post on the forum, so hello everyone . I need help with some weird boxes that show up in random places.
So first, this is my code for end credits:
Code: Select all
init python:
credits_texts = [
("Pomysł", "For"),
("", "Gwiazdeczka"),
("", "Kira"),
("", "Silent"),
("", ""),
("Scenariusz", "For"),
("", "Gwiazdeczka"),
("", "Kira"),
("", "Silent"),
("", ""),
("Programowanie","For"),
("", "Silent"),
("", ""),
("Design postaci", "Gwiazdeczka"),
("", "Kira"),
("", "Silent"),
("", ""),
("Grafiki", "Gwiazdeczka"),
("", "Kira"),
("", "Silent"),
("", ""),
("Testerzy", "For"),
("", "Gwiazdeczka"),
("", "Kira"),
("", "Silent"),
("", ""),
("Muzyka", "???"),
("", ""),
("Stworzone za pomocą"," {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only]."),
("", ""),
("Podziękowania dla", "użytkowników serwisu TitansGo.pl"),
("", "wszystkich fanów Nightwatch"),
("", "Lemma Soft Forums"),
("", "")
]
init:
image credits_text_left = Text(
"\r\n".join(x[0] for x in credits_texts),
xanchor = 1.0,
text_align = 1.0,
xpos = 0.5,
yoffset = 1200,
xoffset = -20,
size = 32)
image credits_text_right = Text(
"\r\n".join(x[1] for x in credits_texts),
color = gui.text_color,
xanchor = 0.0,
text_align = 0.0,
xpos = 0.5,
yoffset = 1200,
xcenter = 0.5,
xoffset = 20,
size = 32)
image credits_text_end = Text(
"oraz Tobie, za zagranie w naszą grę! Dziękujemy!\r\n\r\n© 2018\nZałoga Nightwatch",
color = gui.text_color,
text_align = 0.5,
xpos = 0.5,
yoffset = 2950,
xcenter = 0.5,
size = 32)
label end_credits:
scene black
$ config.skipping = False
$ hide_quick_menu = True
$ _game_menu_screen = None
show black
$ renpy.pause(2, hard = True)
show logo main light at credits_logo
show credits_text_left at credits_text
show credits_text_right at credits_text
show credits_text_end at credits_text
$ renpy.pause(31, hard = True)
$ config.skipping = True
$ hide_quick_menu = False
$ _game_menu_screen = "save_screen"
$ renpy.full_restart()
return
transform credits_logo:
on show:
xcenter 0.5
ycenter 0.5
alpha 0.0
linear 2.5 alpha 1.0
linear 0.5 alpha 1.0
linear 24 yoffset -2500
transform credits_text:
on show:
linear 3 alpha 1.0
linear 24 yoffset -2500
http://i66.tinypic.com/nv7gb7.jpg
Does anyone have any idea what could possibly cause that? I use the same code in my other game and everything works perfectly normal, there's no boxes.
Thank you for your time and all the help in advance