Code: Select all
I'm sorry, but an uncaught exception occurred.
While parsing C:\Users\Mam\Downloads\Fish\Renpy\Game List\Anime Academy/game/screens.rpy.
TypeError: 'ScreenLangScreen' object is not iterable
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\bootstrap.py", line 288, in bootstrap
renpy.main.main()
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\main.py", line 250, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\script.py", line 177, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\script.py", line 443, in load_appropriate_file
if not self.load_file(dir, fn + source, initcode):
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\script.py", line 310, in load_file
data, stmts = self.load_file_core(dir, fn)
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\script.py", line 250, in load_file_core
stmts = renpy.parser.parse(fullfn)
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\parser.py", line 2221, in parse
rv = parse_block(l)
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\parser.py", line 2186, in parse_block
stmt = parse_statement(l)
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\parser.py", line 2169, in parse_statement
return pf(l, loc)
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\parser.py", line 1860, in screen_statement
screen = renpy.screenlang.parse_screen(l)
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\screenlang.py", line 1345, in parse_screen
screen = screen_parser.parse(l)
File "C:\Users\Mam\Downloads\Fish\Renpy\renpy\screenlang.py", line 1309, in parse
rv.extend(c)
TypeError: 'ScreenLangScreen' object is not iterable
Windows-7-6.1.7601-SP1
Ren'Py 6.17.4.409
Code: Select all
#Hey Renpy I got some music tracks...
init python:
# Step 1. Create a MusicRoom instance.
mr = MusicRoom(fadeout=1.0)
# Step 2. Add music files.
mr.add("music/4th String Quartet.mp3", always_unlocked=True)
mr.add("music/Adventure Time.mp3", always_unlocked=True)
mr.add("music/Asterisk Bleach.mp3", always_unlocked=True)
mr.add("music/Can Do Kuroko No Basket.mp3", always_unlocked=True)
mr.add("music/Death Note.mp3", always_unlocked=True)
mr.add("music/Fruits Basket.mp3", always_unlocked=True)
mr.add("music/Glaring Dream Gravitation.mp3", always_unlocked=True)
mr.add("music/Gotta Go Fast Sonic X.mp3", always_unlocked=True)
mr.add("music/Hatafutte Parade.mp3", always_unlocked=True)
mr.add("music/I Will Fullmetal Alchemist.mp3", always_unlocked=True)
mr.add("music/Let Me Be With You Chobits.mp3", always_unlocked=True)
mr.add("music/Monochrome No Kiss Black Butler.mp3", always_unlocked=True)
mr.add("music/Pokemon.mp3", always_unlocked=True)
mr.add("music/Rage On Free.mp3", always_unlocked=True)
mr.add("music/Resonance Soul Eater.mp3", always_unlocked=True)
mr.add("music/Sakura Kiss Ouran High.mp3", always_unlocked=True)
mr.add("music/Snow Fairy Fairy Tail.mp3", always_unlocked=True)
mr.add("music/The Orphans.mp3", always_unlocked=True)
#Hey Renpy now I gotta make a player to play em...
screen music_room:
tag menu
window:
style "gm_root"
frame:
style_group "gm_nav"
size_group "mm"
xpos 720
ypos 580
has vbox:
xalign 0.98
yalign 0.98
screen music_room:
textbutton _("Return") action Return()
frame: #these positioning changes depending on your layout
xpos 10
ypos 10
xmargin .05
yanchor 0
ypadding 0
has vbox:
xalign .5
yalign .5
spacing 0
# The buttons that play each track. MUST CORRESPOND TO THE TRACK LIST ABOVE
textbutton "4th String Quartet" action mr.Play("music/4th String Quartet.mp3")
textbutton "Adventure T Theme" action mr.Play("music/Adventure Time.mp3")
textbutton "Asterik" action mr.Play("music/Asterisk Bleach.mp3")
textbutton "Can Do" action mr.Play("music/Can Do Kuroko No Basket.mp3")
textbutton "Death Note Theme" action mr.Play("music/Death Note.mp3")
textbutton "Fruits Basket Theme" action mr.Play("music/Fruits Basket.mp3")
textbutton "Gotta Go Fast" action mr.Play("music/Gotta Go Fast Sonic X.mp3")
textbutton "Hatafutte Parade" action mr.Play("music/Hatafutte Parade.mp3")
textbutton "I Will" action mr.Play("music/I Will Fullmetal Alchemist.mp3")
textbutton "Let Me Be With You" action mr.Play("music/Let Me Be With You Chobits.mp3")
textbutton "Monochrome No Kiss" action mr.Play("music/Monochrome No Kiss Black Butler.mp3")
textbutton "Pokémon Theme" action mr.Play("music/Pokemon.mp3")
textbutton "Rage On" action mr.Play("music/Rage On Free.mp3")
textbutton "Resonance" action mr.Play("music/Resonance Soul Eater.mp3")
textbutton "Sakura Kiss" action mr.Play("music/Sakura Kiss Ouran High.mp3")
textbutton "Snow Fairy" action mr.Play("music/Snow Fairy Fairy Tail.mp3")
textbutton "Super Drive" action mr.Play("music/Glaring Dream Gravitation.mp3")
textbutton "The Orphans" action mr.Play("music/The Orphans.mp3")
frame:
xpos 500
ypos 535
has hbox:
xalign 0.98
yalign 0.98
# Buttons that let us advance tracks.
textbutton "<<" action mr.Previous()
textbutton "II" action mr.Stop()
textbutton ">>" action mr.Next()
# Start the music playing on entry to the music room.
on "replace" action mr.Play()
# Restore the main menu music upon leaving.
on "replaced" action Play("music", "music/Bright wish.mp3")
imagemap:
ground "frame.png"
hover "frame1.png"
hotspot (480, 280, 140, 40) action [ Play("4th String Quartet", "TZB.png"), Show("music_info", info="TZB.png") ]
hotspot (480, 320, 140, 40) action [ Play("Adventure T Theme", "title.jpg"), Show("music_info", info="title.jpg") ]
hotspot (480, 280, 140, 40) action [ Play("Asterik", "971606931.jpg"), Show("music_info", info="971606931.jpg") ]
hotspot (480, 320, 140, 40) action [ Play("Can Do", "KnB.jpg"), Show("music_info", info="KnB.jpg") ]
hotspot (480, 280, 140, 40) action [ Play("Death Note Theme", "DN.png"), Show("music_info", info="DN.png") ]
hotspot (480, 320, 140, 40) action [ Play("Fruits Basket Theme", "6865467.jpg"), Show("music_info", info="6865467.jpg") ]
hotspot (480, 280, 140, 40) action [ Play("Gotta Go Fast", "Sonic.jpg"), Show("music_info", info="Sonic.jpg") ]
hotspot (480, 320, 140, 40) action [ Play("Hatafutte Parade", "1.jpg"), Show("music_info", info="1.jpg") ]
hotspot (480, 280, 140, 40) action [ Play("I Will", "cover_I.jpg"), Show("music_info", info="cover_I.jpg") ]
hotspot (480, 320, 140, 40) action [ Play("Let Me Be With You", "chobits.jpg"), Show("music_info", info="chobits.jpg") ]
hotspot (480, 280, 140, 40) action [ Play("Monochrome No Kiss", "BB.jpg"), Show("music_info", info="BB.jpg") ]
hotspot (480, 320, 140, 40) action [ Play("Pokémon Theme", "P.png"), Show("music_info", info="P.png") ]
hotspot (480, 280, 140, 40) action [ Play("Rage On", "F.jpg"), Show("music_info", info="F.jpg") ]
hotspot (480, 320, 140, 40) action [ Play("Resonance", "17.jpg"), Show("music_info", info="17.jpg") ]
hotspot (480, 280, 140, 40) action [ Play("Sakura Kiss", "OH.jpg"), Show("music_info", info="OH.jpg") ]
hotspot (480, 320, 140, 40) action [ Play("Snow Fairy", "cover.jpg"), Show("music_info", info="cover.jpg") ]
hotspot (480, 280, 140, 40) action [ Play("Super Drive", "download.jpg"), Show("music_info", info="download.jpg") ]
hotspot (480, 320, 140, 40) action [ Play("The Orphans", "To.png"), Show("music_info", info="To.png") ]
hotspot (480, 360, 140, 40) action [ Stop("music"), Hide("music_info") ]
hotspot (480, 400, 140, 40) action Return()
screen music_info:
zorder 1
add info xpos 40 ypos 40
label music_room:
call screen music_room
return