Search found 88 matches

by Code Monkey
Tue Apr 24, 2012 7:43 am
Forum: Ren'Py Questions and Announcements
Topic: Filepicker consisting of screenshot? [SOLVED]
Replies: 5
Views: 952

Re: Save/load screen filepicker consisting only of a screens

1. For the size of the screenshots, you can change the size they are by defining them in the options.rpy file. This wont change existing ones, but future ones. config.thumbnail_width = 500 config.thumbnail_height = 400 2. If you want to use imagemaps just remove the grid altogether. Here's your code...
by Code Monkey
Tue Apr 24, 2012 4:00 am
Forum: Ren'Py Questions and Announcements
Topic: Scene not transitioning [SOLVED]
Replies: 5
Views: 865

Re: Scene not transitioning

It could be because your two images don't share the same tag so the cafe is not replacing the hallway when you do show. Add like a bg tag to where ever your images are defined. image bg dine = 'your_dine_image' image bg hall n = 'your_hall_image' image bg cafe n = 'your_cafe_image' Also try using sc...
by Code Monkey
Tue Apr 24, 2012 3:37 am
Forum: Ren'Py Questions and Announcements
Topic: How to put (min, max) values within a variable [SOLVED]
Replies: 3
Views: 1712

Re: How to put (min, max) values within a variable for "if"

You don't have to but $ in the if, you can use the variable directly if exam >= 7 and exam <= 10: call alandream else: pass if exam >= 5 and exam <= 7.5: call renedream else: pass You can use logic operators in if statements. They are "and", "or", "not", "is" ...
by Code Monkey
Mon Apr 23, 2012 10:45 pm
Forum: Other Story-based Games
Topic: GxB game "Dandelion"
Replies: 47
Views: 12499

Re: GxB game "Dandelion"

Fixed! Thanks! :) We'll probably review the content again to correct any more that exist. Ya I am working on the game, and you're right that the names can be confusing, especially programming them in >.< TBH, I dunno why they're all similar; someone else wrote the story.
by Code Monkey
Mon Apr 23, 2012 9:01 am
Forum: Ren'Py Questions and Announcements
Topic: bar problem?
Replies: 4
Views: 683

Re: bar problem?

Sorry, the code provided is kinda pseudo-ish and it shouldn't be an Action object but instead a BarValue object. My bad >.< We'll just use Preferences as an example frame: xmaximum 300 label _("Text Speed") bar value Preference("text speed") If you add xmaximum to the parent fram...
by Code Monkey
Mon Apr 23, 2012 6:18 am
Forum: Other Story-based Games
Topic: GxB game "Dandelion"
Replies: 47
Views: 12499

Re: GxB game "Dandelion"

Really nice artwork! Hopefully the translation will be good, since there were some typos on the website. I'm curious about the plot though... it says she takes in animals and that's what changes her life. So are the guys all really animals? Sort of like the otome game, Beastmaster and Prince [the h...
by Code Monkey
Mon Apr 23, 2012 4:32 am
Forum: Ren'Py Questions and Announcements
Topic: Filepicker consisting of screenshot? [SOLVED]
Replies: 5
Views: 952

Re: Save/load screen filepicker consisting only of a screens

Here's something that will get you started on 'show' action FilePage(1) on 'replace' action FilePage(1) frame: style "file_picker_frame" has vbox $ columns = 1 $ rows = 2 # Display a grid of file slots. grid columns rows: transpose True xfill True style_group "file_picker" # Disp...
by Code Monkey
Mon Apr 23, 2012 4:08 am
Forum: Ren'Py Questions and Announcements
Topic: bar problem?
Replies: 4
Views: 683

Re: bar problem?

Add xmaximum (ymaximum if it's a vbar) to any window objects surrounding the bar.

Code: Select all

frame:
    xmaximum 300
    bar value SomeAction():
        other_properties
by Code Monkey
Mon Apr 23, 2012 4:04 am
Forum: Ren'Py Questions and Announcements
Topic: Won't update narrator style no matter what way I try
Replies: 1
Views: 478

Re: Won't update narrator style no matter what way I try

You can redefine the style used by the say window using the window_style key word argument for the Character object. Like so python: style.narrator_window = Style(style.default) style.narrator_window.left_padding = 50 narrator = Character(None, window_style='narrator_window') That only adds the styl...
by Code Monkey
Thu Apr 19, 2012 5:49 am
Forum: Ren'Py Questions and Announcements
Topic: Error keeps coming up that MC isn't defined [RESOLVED]
Replies: 9
Views: 986

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

I learned something new, thanks Valmoer!
by Code Monkey
Thu Apr 19, 2012 4:31 am
Forum: Ren'Py Questions and Announcements
Topic: Error keeps coming up that MC isn't defined [RESOLVED]
Replies: 9
Views: 986

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

Ahh I see, do you have any returns in either the "disappointed" or "good" label? If you do remove those because those end the game. Your code for the labels isn't posted so it's hard to determine what else could be happening that would end the game.
by Code Monkey
Thu Apr 19, 2012 2:50 am
Forum: Ren'Py Questions and Announcements
Topic: Error keeps coming up that MC isn't defined [RESOLVED]
Replies: 9
Views: 986

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

I'm confused, what is the result you're getting? And what do you want?

If they both end with "jump order" and you want something else then you would have to create a new label and make one of them jump to that label.
by Code Monkey
Thu Apr 19, 2012 2:34 am
Forum: Ren'Py Questions and Announcements
Topic: turning skip mode off & python classes as actions
Replies: 1
Views: 584

Re: turning skip mode off & python classes as actions

1. The preferences Action accepts toggle as an argument. Add a button to the nav screen that uses this textbutton "Skip Toggle" action Preference("skip", "toggle") 2. Create a new class that inherits from action and pass whatever data you want to __init__. Here's an exa...
by Code Monkey
Thu Apr 19, 2012 2:01 am
Forum: Ren'Py Questions and Announcements
Topic: How do I center ALL game dialogue text? [SOLVED]
Replies: 5
Views: 604

Re: How do I center ALL game dialogue text?

If you want to center the text on the screen all the time then in options.rpy add style.window.xpos = 0.5 style.window.ypos = 0.5 or if you want to change it during runtime then put it in a function def center_say_window(): style.window.xpos = 0.5 style.window.ypos = 0.5 style.rebuild() "blah&q...