Search found 93 matches

by Gumaster
Fri Oct 14, 2011 7:04 am
Forum: Ren'Py Questions and Announcements
Topic: negative newline_indent
Replies: 0
Views: 258

negative newline_indent

I played around with the newline_indent for a while, and with these settings: style.default.first_indent = 7 style.default.rest_indent = 7 style.default.newline_indent = True #Nothing changes if I use style.default.newline_indent = False instead of True got this: Sample sentence Sample sentence2 Sam...
by Gumaster
Thu Aug 11, 2011 6:40 am
Forum: Ren'Py Cookbook
Topic: [Tutorial] Customizing Menus
Replies: 157
Views: 159572

Re: [Tutorial] Customizing Menus

(I'm using it with textbuttons in the preferences screen, in case it matters) It does fix the original problem, but it throws the positioning of all the text out (basically, it center aligns it, so changing style's xpos doesn't help, and I'm not sure if I can/how to change the xpos for each individu...
by Gumaster
Wed Aug 10, 2011 10:48 pm
Forum: Ren'Py Cookbook
Topic: [Tutorial] Customizing Menus
Replies: 157
Views: 159572

Re: [Tutorial] Customizing Menus

I tried having an outline effect for only selected menu options, but this results in the text moving slightly when the outline is active. I guess this is because when it renders the text it takes the outlines into account and adjusts accordingly. Is there a way to stop it from doing this? It's not r...
by Gumaster
Wed Aug 10, 2011 10:38 pm
Forum: Development of Ren'Py
Topic: 6.12.x: Style Preferences
Replies: 7
Views: 1499

Re: 6.12.x: Style Preferences

Couldn't this possibly cause problems with the game text, though? For example, pages with text that barely managed to fit in would overflow if the size increased (not game-breaking, but a bit unpleasant to look at), and spacing text out with spaces (like having, say, "\ \ \ \ \ \ \ \ \ Boo!", to hav...
by Gumaster
Tue Jul 26, 2011 12:25 am
Forum: Ren'Py Questions and Announcements
Topic: Is there an alternative to MultipleTransition?
Replies: 2
Views: 433

Is there an alternative to MultipleTransition?

I've been having a problem (for some time now) with the following code: init: $ thinblind = ImageDissolve ("blinds.png", 0.5) $ blindfade = MultipleTransition([False, thinblind, "black.jpg", thinblind, True]) ........... scene bg uni $ renpy.transition(blindfade) $ renpy.pause(1.0, hard=True) The tr...
by Gumaster
Sun Jul 24, 2011 7:53 am
Forum: Ren'Py Questions and Announcements
Topic: "Reset to default" preferences?
Replies: 3
Views: 1819

Re: "Reset to default" preferences?

Works (at least, to the extent that I tested it)
I'm not using it as a replacement for the volume bar (I'd prefer more control too), simply as a way to set music and sound volumes to max using the 'reset to default' button
by Gumaster
Sun Jul 24, 2011 5:51 am
Forum: Ren'Py Questions and Announcements
Topic: "Reset to default" preferences?
Replies: 3
Views: 1819

"Reset to default" preferences?

There was a thread almost a year ago about this, but I'm curious as to how this is done with screen language. I can set *most* values by listing the relevant actions (such as Preferences("skip", "seen")), but I'm stuck with music and sound volumes, as there doesn't seem to be a way to set them to ma...
by Gumaster
Sun Jul 24, 2011 2:49 am
Forum: Ren'Py Questions and Announcements
Topic: Disabling auto-skip after 'return'?
Replies: 3
Views: 355

Re: Disabling auto-skip after 'return'?

Added it in, doesn't seem to change anything.
If it's important, I'm using screens for the menus
by Gumaster
Sun Jul 24, 2011 1:47 am
Forum: Ren'Py Questions and Announcements
Topic: Disabling auto-skip after 'return'?
Replies: 3
Views: 355

Disabling auto-skip after 'return'?

If 'begin skipping' (ie autoskip) is used, and then the user encounters a 'return' (either in the script (end of game/bad end) or 'exit to main' in the menu), the game returns to the main menu with auto-skip still on. Is there some way to cause it to switch off when the user returns to the main menu?
by Gumaster
Wed Jul 20, 2011 5:10 am
Forum: Ren'Py Questions and Announcements
Topic: Multiple images in CG gallery?
Replies: 16
Views: 1578

Re: Multiple images in CG gallery?

Updated the code and didn't find any ...fawlts... with it
Thanks a lot for the help
by Gumaster
Tue Jul 19, 2011 1:07 am
Forum: Ren'Py Questions and Announcements
Topic: Multiple images in CG gallery?
Replies: 16
Views: 1578

Re: Multiple images in CG gallery?

It works, it works well, and it is glorious. goddamnitisglorious This next question isn't so important right now (since it's impossible in the sequence of game events to unlock the second cg without unlocking the first), but is there a way to determine the thumbnail used? Something like, if cg1 is u...
by Gumaster
Mon Jul 18, 2011 4:51 am
Forum: Ren'Py Questions and Announcements
Topic: Multiple images in CG gallery?
Replies: 16
Views: 1578

Re: Multiple images in CG gallery?

Well, it's rather...odd It doesn't break, but it behaves rather oddly. ( "Event/alice_changing.jpg", "cg alice_changing" ), ( ["Event/alice_sleeping.jpg", "Event/alice_sleeping_2.jpg"], ["cg alice_sleeping", "cg alice_sleeping_2"], "Thumbnails/thumbnail_alice_sleeping.jpg" ), the thumbnail displays ...
by Gumaster
Sun Jul 17, 2011 4:00 am
Forum: Ren'Py Questions and Announcements
Topic: Multiple images in CG gallery?
Replies: 16
Views: 1578

Re: Multiple images in CG gallery?

Hmm, I'm not sure if it's even possible to do this but, is it possible to have different unlock conditions for various images? For example, ( ["Event/alice_sleeping.jpg", "Event/alice_sleeping_2.jpg"], ["cg alice_sleeping", "cg alice_sleeping_2"], "Thumbnails/thumbnail_alice_sleeping.jpg" ), if I wa...
by Gumaster
Sun Jul 17, 2011 3:07 am
Forum: Ren'Py Questions and Announcements
Topic: Multiple images in CG gallery?
Replies: 16
Views: 1578

Re: Multiple images in CG gallery?

Indeed, it works now if I specify a thumbnail. I assume the problem was that while the code to display an image checked if it was a list or not, the code to create a thumbnail didn't? In that case, is it possible to write some code to do so? I'm not too familiar with python, so... Off to create thum...
by Gumaster
Sun Jul 17, 2011 2:48 am
Forum: Ren'Py Questions and Announcements
Topic: Multiple images in CG gallery?
Replies: 16
Views: 1578

Re: Multiple images in CG gallery?

in short: lists are delimited with [], tuples with (). Your latest post containing code defines 'page1' as a list of tuples (each of which happens to contain 2 items) If you read the source: http://www.renpy.org/wiki/renpy/doc/cookbook/CG_Gallery if cmd == "show": if not isinstance(arg, list): arg ...