Ren'Py 6.12.0 Released
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Ren'Py 6.12.0 Released
You'll need to post the code surrounding this for us to help you.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Ren'Py 6.12.0 Released
Forgive me for forgetting. I didn't think it mattered because I honestly haven't coded much of anything yet.
Error text
Code: Select all
# You can place the script of your game in this file.
# Declare images below this line, using the image statement.
# eg. image eileen happy = "eileen_happy.png"
image bg interior = "interior.jpg"
# Declare characters used by this game.
define e = Character('Eileen', color="#c8ffc8")
# The game starts here.
label start:
e "You've created a new Ren'Py game."
e "Once you add a story, pictures, and music, you can release it to the world!"
scene interior
e "Just testing out things."
return
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
On line 5 of C:\Users\Lil Bit\Desktop\Renpy\Bunni and Kitty/game/script.rpy: image statement does not expect a block. Please check the indentation of the line after this one.
image bg interior = "interior.jpg"
^
Ren'Py Version: Ren'Py 6.12.0e
-
- Veteran
- Posts: 208
- Joined: Sat Nov 27, 2010 6:04 pm
- Completed: Secret Santa
- Projects: Memory Lane
- Contact:
Re: Ren'Py 6.12.0 Released
I think it's supposed to be:
Code: Select all
# Declare characters used by this game.
$ e = Character('Eileen', color="#c8ffc8")
# The game starts here.
label start:
e "You've created a new Ren'Py game."
...
Re: Ren'Py 6.12.0 Released
Eternal Dream, your using the old way of defining characters. The new characters can be defined like
But it's not defining characters that I have a problem with, it's defining my images.
Code: Select all
# Declare characters used by this game.
define e = Character('Eileen', color="#c8ffc8")
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Ren'Py 6.12.0 Released
Kittylove, the problem is actually with the line after the one it shows. Since the next line is indented, Ren'Py sees it as a block, and errors out. (This is probably something I should look into.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Veteran
- Posts: 208
- Joined: Sat Nov 27, 2010 6:04 pm
- Completed: Secret Santa
- Projects: Memory Lane
- Contact:
Re: Ren'Py 6.12.0 Released
Oh, really? My bad then. I'm not too used to the new stuff (ex. screens, etc) ^^;;
Re: Ren'Py 6.12.0 Released
Well, I'm glad it's not me. So what, me not indenting when I define my characters should fix it?
Edit: Okay. I can now start my game, but unfortunately renpy considers my background as undefined. I still don't get it. Am I doing something wrong?
Edit: Okay. I can now start my game, but unfortunately renpy considers my background as undefined. I still don't get it. Am I doing something wrong?
Code: Select all
# You can place the script of your game in this file.
# Declare images below this line, using the image statement.
# eg. image eileen happy = "eileen_happy.png"
image bg interior = "interior.jpg"
# Declare characters used by this game.
define e = Character('Eileen', color="#c8ffc8")
# The game starts here.
label start:
e "You've created a new Ren'Py game."
e "Once you add a story, pictures, and music, you can release it to the world!"
scene interior
e "Just testing out things."
return
- SleepKirby
- Veteran
- Posts: 255
- Joined: Mon Aug 09, 2010 10:02 pm
- Projects: Eastern Starlight Romance, Touhou Mecha
- Organization: Dai-Sukima Dan
- Location: California, USA
- Contact:
Re: Ren'Py 6.12.0 Released
To use the bg, you need "scene bg interior" instead of "scene interior".
Ren'Py treats bg images in the same way as character images such as "eileen happy". So in the same way that you need to say "show eileen happy" instead of "show happy", you'd need to say "scene bg interior" instead of "scene interior".
(By the way, the only difference between show and scene is that scene removes all of the current images from the screen.)
Ren'Py treats bg images in the same way as character images such as "eileen happy". So in the same way that you need to say "show eileen happy" instead of "show happy", you'd need to say "scene bg interior" instead of "scene interior".
(By the way, the only difference between show and scene is that scene removes all of the current images from the screen.)
Re: Ren'Py 6.12.0 Released
Yeah, um. It was shortly after I posted my reply that I found that out. Still, thanks for replying.
Hmm...I didn't quite know that.(By the way, the only difference between show and scene is that scene removes all of the current images from the screen.)
-
- Newbie
- Posts: 20
- Joined: Fri Jul 02, 2010 4:44 am
- Completed: Alternian Turnabout
- Contact:
Re: Ren'Py 6.12.0 Released
Hello,
Perhaps this is not an issue with 6.12.0 specifically since it has been a while since I updated. I have been using 6.10.2 up until today, and now I notice that the new Renpy is doing weird things to my master volume (of my computer) when it launches. Is there something to snip or edit to bring back the good old days?
Perhaps this is not an issue with 6.12.0 specifically since it has been a while since I updated. I have been using 6.10.2 up until today, and now I notice that the new Renpy is doing weird things to my master volume (of my computer) when it launches. Is there something to snip or edit to bring back the good old days?
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Ren'Py 6.12.0 Released
Ren'Py has always adjusted the volume on your computer at startup. (It restores it on shutdown.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Newbie
- Posts: 20
- Joined: Fri Jul 02, 2010 4:44 am
- Completed: Alternian Turnabout
- Contact:
Re: Ren'Py 6.12.0 Released
Huh, I wonder what might be different then. The new release is shooting my Wave volume way up both in and out of games, and yet the volume settings on whichever game I'm running are exactly as they were before.
- Aleema
- Lemma-Class Veteran
- Posts: 2677
- Joined: Fri May 23, 2008 2:11 pm
- Organization: happyB
- Tumblr: happybackwards
- Contact:
Re: Ren'Py 6.12.0 Released
I also noticed this for the first time with the newer version. Are you sure this behavior has always been present? If it did, it seems more exaggerated.
- Midnighticequeen
- Veteran
- Posts: 292
- Joined: Fri Apr 04, 2008 4:04 pm
- Completed: Bunni and Kitty, Sweethearts, Tiesa's Tales
- Projects: Wish
- Organization: Ice Queen Games
- itch: icequeenstudios
- Contact:
Re: Ren'Py 6.12.0 Released
I noticed a strange error when I was making Bunni and Kitty. After I changed my options to play my main menu music , I realized that that song keep playing even after I pressed the start button! It played right through the prologue of my story, even through the sound effects and everything.
A simple stop music at the beginning of the story stopped it, but still...
A simple stop music at the beginning of the story stopped it, but still...
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Ren'Py 6.12.0 Released
I wanted to allow people to have the music seamlessly continue from the main menu to the game, and I figured that the easy way to do so is to not stop the music automatically.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Google [Bot], thexerox123