Search found 88 matches

by Code Monkey
Thu Apr 19, 2012 1:51 am
Forum: Ren'Py Questions and Announcements
Topic: common property "default"
Replies: 3
Views: 379

Re: common property "default"

You're right, don't add a colon

Code: Select all

button default True
by Code Monkey
Thu Apr 19, 2012 1:14 am
Forum: Ren'Py Questions and Announcements
Topic: Error keeps coming up that MC isn't defined [RESOLVED]
Replies: 9
Views: 864

Re: Error keeps coming up that MC isn't defined

For your second question, calling the return statement in the script doesn't return you back to your previous label from a jump. It ends the game. If you want to go back to your menu you need to add a label before it and jump to it after your other label is complete. Example: label some_choice: menu...
by Code Monkey
Thu Apr 19, 2012 1:03 am
Forum: Ren'Py Questions and Announcements
Topic: Error keeps coming up that MC isn't defined [RESOLVED]
Replies: 9
Views: 864

Re: Error keeps coming up that MC isn't defined

Should you be defining the characters using Character? Unless you made some other constructors that return a Character object? So like

Code: Select all

define c = Character('Claire', color="#fffefe")
define w = Character('General Walter', color="#cc0033")
by Code Monkey
Thu Apr 19, 2012 12:49 am
Forum: Ren'Py Questions and Announcements
Topic: common property "default"
Replies: 3
Views: 379

Re: common property "default"

You're using screen language so the default statement in that case expects a variable not a boolean. http://www.renpy.org/doc/html/screens.html#default I'm not 100% sure so someone correct me if I'm wrong but I think the default statement you're looking at refers to a property that can be used in ui...
by Code Monkey
Wed Apr 18, 2012 11:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Layers not dissolving at the same rate [sort of solved]
Replies: 3
Views: 556

Re: Layers not dissolving at the same rate [sort of solved]

I came across a similar predicament just recently and the first way I attempted to solve the problem was to make LiveComposites with animations that get swapped in and out. I tried to dynamically change the animations but you can't since the transforms are saved on the heap and are never changed aga...
by Code Monkey
Wed Apr 18, 2012 3:23 am
Forum: Ren'Py Questions and Announcements
Topic: Can't import python module calendar
Replies: 6
Views: 2836

Can't import python module calendar

I get the following error I'm sorry, but an uncaught exception occurred. While executing init code: File "game/init.rpy", line 7, in script File "game/init.rpy", line 11, in python ImportError: No module named locale -- Full Traceback ------------------------------------------------------------ Full...
by Code Monkey
Wed Apr 18, 2012 3:04 am
Forum: Ren'Py Questions and Announcements
Topic: Error when using QuickSave() in a list of actions [Solved]
Replies: 2
Views: 570

Re: Error when using QuickSave() in a list of actions

Ahhh, combine the QuickSave list with the [ Return() ] list. That's a good way of going about it. I actually ended up just looking at the implementation for the QuickSave Action and simply using those actions manually in a list. The FileTakeScreenshot, FileSave, and Notify actions that is. I did not...
by Code Monkey
Wed Apr 11, 2012 9:34 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with Gallery, plz :3
Replies: 1
Views: 377

Re: Problem with Gallery, plz :3

Try putting your screen in a frame and then doing xpos 0.5 ypos 0.5
by Code Monkey
Wed Apr 11, 2012 2:14 am
Forum: Ren'Py Questions and Announcements
Topic: How do I get the volume of a channel?
Replies: 4
Views: 1069

Re: How do I get the volume of a channel?

Not sure if you're still looking for the answer to getting the volume from a channel but I had the same question for newly registered channels and after fishing around the renpy source code I came up with a solution. It's not pretty but there doesn't seem to be a get method for channel volumes. chan...
by Code Monkey
Wed Apr 11, 2012 12:45 am
Forum: Ren'Py Questions and Announcements
Topic: Error when using QuickSave() in a list of actions [Solved]
Replies: 2
Views: 570

Error when using QuickSave() in a list of actions [Solved]

I get the following error when I use the QuickSave function in a list of actions I'm sorry, but an uncaught exception occurred. While running game code: TypeError: 'RevertableList' object is not callable -- Full Traceback ------------------------------------------------------------ Full traceback: F...
by Code Monkey
Tue Apr 03, 2012 11:18 am
Forum: Ren'Py Questions and Announcements
Topic: Having trouble updating LiveComposite with animations
Replies: 4
Views: 507

Re: Having trouble updating LiveComposite with animations

What do you suggest to do then? I'm only given one big image that contains all the pieces. Is there any other way to crop the image and update the displayable with new crops?
by Code Monkey
Tue Apr 03, 2012 10:14 am
Forum: Ren'Py Questions and Announcements
Topic: Having trouble updating LiveComposite with animations
Replies: 4
Views: 507

Re: Having trouble updating LiveComposite with animations

I actually didn't try but I gave it a go just now; didn't seem to do the job unfortunately. Does it have anything to do with the fact that the LiveComposite is in an image? And that image isn't being updated?
by Code Monkey
Tue Apr 03, 2012 9:57 am
Forum: Ren'Py Questions and Announcements
Topic: Having trouble updating LiveComposite with animations
Replies: 4
Views: 507

Having trouble updating LiveComposite with animations

I have an image with some ATL and it looks like this: image heroine: xalign 0 yalign 0 LiveComposite( (460, 1505), #size (0, 0), im.Crop(heroine_image,0,0,460,1505), #body (230, 93), heroine_eyebrows_transform, # eyebrows (240, 100), heroine_blinking_animation, # eyes (275, 150), DisplaySpeaking("he...