Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
-
Jo'ogn
- Veteran
- Posts: 398
- Joined: Sat Jul 12, 2008 1:31 pm
- Projects: Kassiopeia [iVN]
- Location: Deutschland
-
Contact:
#76
Post
by Jo'ogn » Thu Dec 04, 2008 2:02 pm
I just experienced an interesting phenomena. Using an imagemap in the main menu I looked up the style hierachy and assumed the following sound events. This is how I set them in options.rpy
Code: Select all
style.imagemap_button.activate_sound = "sfx/gui.in.ogg"
style.imagemap_button.hover_sound = "sfx/gui.hover.ogg"
It turned out that either on hover as well as on a click (activation) I got the hover sound o_o
Then I changed their order (!)
<_<
>_>
Seriously.
Code: Select all
style.imagemap_button.hover_sound = "sfx/gui.hover.ogg"
style.imagemap_button.activate_sound = "sfx/gui.in.ogg"
This way round it works as intended o_0;
Now the big Q: Why is the order of setting style parameters relevant?
Secondly: why isn't the activation triggered on "start game" but all other buttons? =_=;
-
PyTom
- Ren'Py Creator
- Posts: 15893
- 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:
#77
Post
by PyTom » Thu Dec 04, 2008 3:17 pm
Hover implies activate because it's usually the right behavior when no more-specific activation behavior is given. (Think about button backgrounds, position, etc.)
It's not the right behavior for _sound, but that's one case out of ~100 style properties. (Unfortunately, it's also the most common case.)
I don't know why it's not working on start. I'll look into it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
-
Beastie
#78
Post
by Beastie » Fri Dec 05, 2008 10:36 pm
I too am having troubles getting the "Edit Script" button to work, and I too downloaded it onto a laptop with Vista- You suggested java script, but I have that. Is there a possibility that it doesn't work with Vista?
-
PyTom
- Ren'Py Creator
- Posts: 15893
- 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:
#79
Post
by PyTom » Fri Dec 05, 2008 10:38 pm
You need java (from
http://www.java.com ), not javascript. They are two different technologies.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
-
blakjak
- Veteran
- Posts: 224
- Joined: Fri Dec 21, 2007 2:36 pm
- Location: France
-
Contact:
#80
Post
by blakjak » Tue Dec 16, 2008 2:28 pm
I'm sorry if I'm posting this in the wrong thread. I was testing out the renpygame demo, all goes fine until Heileen says good luck, then I get this error message
http://img356.imageshack.us/img356/4531/errorge0.jpg
I don't know if it has to do with my pc r what, just thought I'd notify.
-
Attachments
-

-
PyTom
- Ren'Py Creator
- Posts: 15893
- 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:
#81
Post
by PyTom » Tue Dec 16, 2008 2:36 pm
Hm... I don't know what's causing this.
If you can come up with a set of steps that can repeat this, then I can try to check it out.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
-
blakjak
- Veteran
- Posts: 224
- Joined: Fri Dec 21, 2007 2:36 pm
- Location: France
-
Contact:
#82
Post
by blakjak » Tue Dec 16, 2008 3:09 pm
Well I tried launching the Aliens game by itself, and it works fine.
-I'm updating to Renpy 6.8.1 just in case.
-So I extract renpygame 1.1 in the renpy-6.8.1 folder.
-There appears a renpygamedemo folder.
-I go to the the launcher and select the renpygame-demo project
-I click launch
- Renpy window appears
-I click start game
- I click until Eileen says god luck and get the error message.
Is that what you meant by steps ?

-
PyTom
- Ren'Py Creator
- Posts: 15893
- 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:
#83
Post
by PyTom » Tue Dec 16, 2008 4:09 pm
The problem was that pygame 1.8 changed the implementation of the Color object, to a way that isn't packaged correctly.
Basically, there are two workarounds:
1) Don't use the Color object at all. Instead of using Color('white'), use (255, 255, 255, 255).
2) Wait for Ren'Py 6.9.0 to come out, which will include a better fix that gets Color working again.
I've gone ahead and updated renpygame to include the (1) style fix. You can download it from:
http://www.renpy.org/wiki/renpy/Frameworks
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
-
blakjak
- Veteran
- Posts: 224
- Joined: Fri Dec 21, 2007 2:36 pm
- Location: France
-
Contact:
#84
Post
by blakjak » Tue Dec 16, 2008 4:20 pm
The updated fix works fine, thank you :)
Users browsing this forum: Google [Bot]