Search found 88 matches
- Fri Jun 08, 2012 7:33 am
- Forum: Ren'Py Questions and Announcements
- Topic: Side image on the right side and different textboxes?
- Replies: 5
- Views: 981
Re: Side image on the right side and different textboxes?
The size of the padding is only dependent on the width of the image, not the location of it. The only thing the location of the image effects is where you put the padding. So for each character you would define their own styles with their padding on different sides. Of course if the size of the imag...
- Thu Jun 07, 2012 8:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Pickling error when trying to save (Solved)
- Replies: 9
- Views: 5357
Re: Pickling error when trying to save
Couldn't get that to work, so I removed the staticmethod and just made it a function and it works! Thanks a lot PyTom!
- Thu Jun 07, 2012 1:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Pickling error when trying to save (Solved)
- Replies: 9
- Views: 5357
Re: Pickling error when trying to save
I did as you said and I did get a better error message. It points to a callback function and I renamed it but it still gives the same error. Perhaps some code would help. The callback function is defined in a class like so: @staticmethod def transform_callback(d, st, at, **kwargs): for k, v in kwarg...
- Thu Jun 07, 2012 9:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to align new-lines to the left
- Replies: 6
- Views: 1571
Re: How to align new-lines to the left
I don't think it's a bug, the backslash adds a space. From the documentation.
\ (backslash-space)
Includes an additional space in a Ren'Py string. By default, Ren'Py script text collapses adjacent whitespace into a single space character.
\ (backslash-space)
Includes an additional space in a Ren'Py string. By default, Ren'Py script text collapses adjacent whitespace into a single space character.
- Thu Jun 07, 2012 8:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: Side image on the right side and different textboxes?
- Replies: 5
- Views: 981
Re: Side image on the right side and different textboxes?
Ya you're right, you gotta add padding. You can either pass it to the Character constructor directly or define the style along with the initial style definition define char_1 = Character(u'Char 1', window_right_padding=160, show_side_image=Image("something.png", xalign=1.0, yalign=1.0)) or...
- Thu Jun 07, 2012 2:53 am
- Forum: Ren'Py Questions and Announcements
- Topic: Pickling error when trying to save (Solved)
- Replies: 9
- Views: 5357
Pickling error when trying to save (Solved)
Saving works sometimes, but sometimes I get the following error: I'm sorry, but an uncaught exception occurred. While running game code: PicklingError: Can't pickle <type 'function'>: attribute lookup __builtin__.function failed -- Full Traceback -----------------------------------------------------...
- Thu Jun 07, 2012 2:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: Help with quick menu, custom buttons image
- Replies: 7
- Views: 1491
Re: Help with quick menu, custom buttons image
You're making your screen with python code and that little snippet of code you put with "action Preference" is screen language. It's best to make all your screens with screen language since it's more up to date. You can call the actions directly, so if you want to toggle auto-forward do: T...
- Thu Jun 07, 2012 2:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: Side image on the right side and different textboxes?
- Replies: 5
- Views: 981
Re: Side image on the right side and different textboxes?
In screens.rpy, under the say screen you'll find code like. Try changing the xalign to 1.0 # If there's a side image, display it above the text. if side_image: add side_image else: add SideImage() xalign 0.0 yalign 1.0 If you want different styles for each person you need to define the window styles...
- Mon Jun 04, 2012 1:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: Dissolving an image within an interaction
- Replies: 2
- Views: 512
Re: Dissolving an image within an interaction
That was a great suggestion, it works! Thanks a lot!
- Sun Jun 03, 2012 12:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Dissolving an image within an interaction
- Replies: 2
- Views: 512
Dissolving an image within an interaction
Is this possible? I have a screen with an interaction where the user does stuff and then a function is called that shows an image with dissolve and I get the "Cannot start an interaction in the middle of an interaction, without creating a new context." error. renpy.show_screen('some_screen...
- Tue May 01, 2012 6:50 am
- Forum: Ren'Py Questions and Announcements
- Topic: Filepicker consisting of screenshot? [SOLVED]
- Replies: 5
- Views: 931
Re: Filepicker consisting of screenshot? [SOLVED]
No problem! Glad it worked out
- Wed Apr 25, 2012 8:49 am
- Forum: Completed Games
- Topic: Moonlight Walks 2.0 Released
- Replies: 65
- Views: 34662
Re: Moonlight Walks 2.0 Released
I hate to be a party pooper but I found a bug in the game >.< T_T
If you're in skip mode when you finish the game and then try to see the extra material, you can't because the game is still in skip mode. So sorry!
If you're in skip mode when you finish the game and then try to see the extra material, you can't because the game is still in skip mode. So sorry!
- Wed Apr 25, 2012 5:39 am
- Forum: Demos & Beta Testing
- Topic: Online visual novel platform
- Replies: 4
- Views: 2071
Re: Online visual novel platform
"Master is forcing me to paint a large set of stock backgrounds..." "He also keeps a lot of girls like me and Madoka for future artists to use." Poor girls! They're being held as prisoners to do your bidding and are used by people T_T You're sick! I'm kidding, but anyways I think...
- Wed Apr 25, 2012 2:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to put (min, max) values within a variable [SOLVED]
- Replies: 3
- Views: 1683
Re: How to put (min, max) values within a variable [SOLVED]
No problem! :) Glad that helped. You're right, the operators aren't really explained in any of the documentation for renpy (at least I can't find it either). So you kinda have to resort to python documentation. The python 2.6 doc explains the operators in more detail and shows more operators and oth...
- Tue Apr 24, 2012 8:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: Adding timestamps
- Replies: 1
- Views: 688
Re: Adding timestamps
You can use the datetime python module to make timestamps.
Code: Select all
python:
import datetime
timestamp = datetime.datetime.now()