Search found 20 matches

by Pyr0
Wed Aug 16, 2017 9:22 am
Forum: Ren'Py Questions and Announcements
Topic: How do you use renpy.get_widget_properties?
Replies: 5
Views: 832

Re: How do you use renpy.get_widget_properties?

So, I've been playing with this for some time, using the dev console to traverse the screen and its children manually. And, well, I simply can't understand what "widget properties" is supposed to be. At first I thought it was the actual widget's properties, like position and size, but that isn't the...
by Pyr0
Mon Aug 14, 2017 6:35 am
Forum: Ren'Py Questions and Announcements
Topic: Custom statement fails to register\be recognized
Replies: 9
Views: 950

Re: Custom statement fails to register\be recognized

Using a python early block and it fixed it for me as well. My confusion stemmed from the fact that I thought it said "an early python" block (that is, an init). The "early" modifier for the python statement is also not described at all where it should be . All in all I am just happy to have got it t...
by Pyr0
Sun Aug 13, 2017 5:54 am
Forum: Ren'Py Questions and Announcements
Topic: Renpy to Iphone
Replies: 3
Views: 1032

Re: Renpy to Iphone

Yes, all apple applications require a mac to be compiled. This is true for every single thing you may want to do on an iphone, not just ren'py.
by Pyr0
Sun Aug 13, 2017 4:46 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Text at specified coordinates?
Replies: 2
Views: 195

Re: Text at specified coordinates?

Define a transform with the xpos and ypos you want and then use the at statement to use that transform in conjunction with your text.
Example:

Code: Select all

transform MyTextPosition:
    xpos 200
    ypos 200
    
label start:
    show text "hello" at MyTextPosition
    pause
by Pyr0
Sun Aug 13, 2017 4:29 am
Forum: Ren'Py Questions and Announcements
Topic: Menu Screen with Different Looking Choice Buttons
Replies: 2
Views: 340

Re: Menu Screen with Different Looking Choice Buttons

Class UniqueButtons: class UniqueButtons: buttons = [Solid("#ff0000",xfill=True,yfill=True),Solid("#00ff00",xfill=True,yfill=True),Solid("#0000ff",xfill=True,yfill = True)] counter = 0 @classmethod def GetBackground(cls): bg = cls.buttons[cls.counter] cls.counter = ((cls.counter + 1) % len(cls.butto...
by Pyr0
Fri Aug 11, 2017 4:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Actual guides?
Replies: 58
Views: 3236

Re: Actual guides?

The documentation can be a bit vague at times, but once you start to understand the basics of it, it's a great resource. Anyway, the basic idea behind ren'py is that most of the gui is done through screens. You can either "call screen" or "show screen". Calling a screen hides all already shown scree...
by Pyr0
Fri Aug 11, 2017 11:36 am
Forum: Ren'Py Questions and Announcements
Topic: Could not find return label (solved)
Replies: 3
Views: 441

Re: Could not find return label

It seems like a problem with Ren'py's own scripts, did you modify it\install recently? In any case I'd suggest just redownloading Ren'py.
by Pyr0
Fri Aug 11, 2017 11:29 am
Forum: Ren'Py Questions and Announcements
Topic: Customising the namebox background
Replies: 9
Views: 1152

Re: Customising the namebox background

You're using screen syntax in a style statement. Imagine you're painting a sculpture. Screens are the clay (they decide the shape of things) while styles are the paint (they just make something that already exist look different). You can't use ifs in style statements, while you can in screens. Howev...
by Pyr0
Fri Aug 11, 2017 10:00 am
Forum: Ren'Py Questions and Announcements
Topic: Moving the cursor sinks performance
Replies: 2
Views: 300

Re: Moving the cursor sinks performance

I tested the above code on my laptop, and it works perfectly. I'm just confused, now, because my laptop is fairly old and unperformant (even just using chrome is fairly laggy) while my tower is a much, much better computer. Could it be an issue with drivers? Or with Ren'py settings?
by Pyr0
Fri Aug 11, 2017 9:31 am
Forum: Ren'Py Questions and Announcements
Topic: Moving the cursor sinks performance
Replies: 2
Views: 300

Moving the cursor sinks performance

For some reason, moving the mouse causes performance to sink. I've tested it with multiple things, but even something as simple as this: transform Blink: linear 1.0 alpha 0.0 linear 1.0 alpha 1.0 repeat image test = Solid("#ff0000",xsize = 300, ysize = 300, xalign = 0.5, yalign = 0.5) label start: s...
by Pyr0
Thu Aug 10, 2017 2:19 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Text appears behind textbox...
Replies: 2
Views: 209

Re: Text appears behind textbox...

Have you tried giving the screen a higher zorder? Even a relatively small number like 100 should do the trick, I think say_screen has a priority of zero.
by Pyr0
Thu Aug 10, 2017 12:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Renpy to Iphone
Replies: 3
Views: 1032

Re: Renpy to Iphone

Refer to the documentation.
by Pyr0
Thu Aug 10, 2017 7:22 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Different textboxes for characters not aligning
Replies: 4
Views: 330

Re: Different textboxes for characters

Are you sure the two images are the same size? You may have left some blankspace on top of the other one.
by Pyr0
Thu Aug 10, 2017 5:20 am
Forum: Ren'Py Questions and Announcements
Topic: How to make a specific menu an NVL menu? (SOLVED)
Replies: 3
Views: 694

Re: How to make a specific menu an NVL menu?

It seems that unlike nvl_menu, ren'py doesn't provide a default constant\reference for the adv_menu (or at least i couldn't find one). However, since we know that ren'py always starts with the adv style menu, we know that the "menu" name must reference the adv menu object, so you can simply save ano...
by Pyr0
Thu Aug 10, 2017 5:07 am
Forum: Ren'Py Questions and Announcements
Topic: Custom statement fails to register\be recognized
Replies: 9
Views: 950

Re: Custom statement fails to register\be recognized

Extend is not quite the same thing I need, I've modified the screen so that it includes a viewport and I wanted to make a few custom statements to control its vertical bar (in this case, append makes the bar jump to the bottom so you don't have to scroll yourself). Anyway, yep, I feared it was a bug...