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.
-
denzil
- Veteran
- Posts: 293
- Joined: Wed Apr 20, 2005 4:01 pm
-
Contact:
#1
Post
by denzil » Wed Sep 24, 2008 9:45 am
Ren'Py crashes when using this transition:
Code: Select all
$ whitefade = Fade(0.25, 0.1, 0.5, color = (255, 255, 255))
Anyone has idea why?
(traceback attached)
-
Attachments
-
- traceback.txt
- (1.41 KiB) Downloaded 102 times
Last edited by
denzil on Wed Sep 24, 2008 10:10 am, edited 1 time in total.
-
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:
#2
Post
by PyTom » Wed Sep 24, 2008 10:03 am
Okay, there are two errors going on here. The first is that (255, 255, 255) is not a color. The color is either (255, 255, 255, 255), including alpha... or one of the string colors, like "#fff".
The second error is one that is internal to Ren'Py, that occurs while failing to produce an error for the first. That's why you get a lousy error, rather than the "Not a color" error intended.
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
-
denzil
- Veteran
- Posts: 293
- Joined: Wed Apr 20, 2005 4:01 pm
-
Contact:
#3
Post
by denzil » Wed Sep 24, 2008 10:09 am
Oh, that's what was wrong. It works now. Thanks for the help.