Search found 479 matches

by apricotorange
Sat Jun 15, 2013 1:46 am
Forum: Ren'Py Questions and Announcements
Topic: Inventory Screen with Pagination [SOLVED]
Replies: 3
Views: 770

Re: Inventory Screen with Pagination [SOLVED]

Looks good.

FYI, a simpler way to write the range is like this:

Code: Select all

    for i in range((inventory_page * 8), min(len(inventory), (inventory_page * 8) + 8)):
by apricotorange
Thu Jun 13, 2013 9:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Can I make the NVL textbox fade...?
Replies: 1
Views: 341

Re: Can I make the NVL textbox fade...?

Simple example:

Code: Select all

image redbg = "#F00"
image greenbg = "#0F0"

label start:
    scene redbg
    window show
    "fun"
    window hide dissolve
    scene greenbg
    window show dissolve
    "stuff"
    return
by apricotorange
Thu Jun 13, 2013 11:13 am
Forum: Ren'Py Questions and Announcements
Topic: if statement expects a non-empty block
Replies: 12
Views: 2080

Re: if statement expects a non-empty block

sorry for bothering but can you explain in simpler way? I couldn't understand what you mean and I still have the same problem :/ When you have an if statement like 'if Help == 'Svin':", the line after the if statement has to have more spaces in front of it than the line with the if statement, ...
by apricotorange
Thu Jun 13, 2013 11:04 am
Forum: Ren'Py Questions and Announcements
Topic: Keep HUD while Transitioning
Replies: 4
Views: 916

Re: Keep HUD while Transitioning

Try putting "window show" before your transition.
by apricotorange
Wed Jun 12, 2013 10:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Synchronize rotating image with variable? [Solved]
Replies: 5
Views: 999

Re: Synchronize rotating image with variable?

If you can manage a bit of Python, I would suggest a creator-defined displayable (see http://www.renpy.org/doc/html/udd.html). If you really want, you can use screens, something like this: screen superzoom: default timebase = 0.0 default timeincrement = 0.015625 add Solid("#F00", minimum =...
by apricotorange
Wed Jun 12, 2013 10:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Disable Right Click and Limited Cursor Movement
Replies: 5
Views: 1568

Re: Disable Right Click and Limited Cursor Movement

See http://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=18308 . Not precisely what you're asking for, but might be sufficient. Note that user is likely to be confused/annoyed with your game restricting the free movement of the mouse cursor unless you very clearly state the controls for your min...
by apricotorange
Wed Jun 12, 2013 12:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagemap hotspots acting weird?
Replies: 2
Views: 557

Re: Imagemap hotspots acting weird?

You aren't specifying your coordinates correctly; a hotspot takes "(x, y, width, height)".
by apricotorange
Wed Jun 12, 2013 12:07 am
Forum: Ren'Py Cookbook
Topic: Information Screen
Replies: 23
Views: 16902

Re: Information Screen

The "allchars" variable controls which characters are visible on the information screen.
by apricotorange
Tue Jun 11, 2013 2:14 am
Forum: Ren'Py Questions and Announcements
Topic: Dynamic Character name color isn't showing up
Replies: 2
Views: 508

Re: Dynamic Character name color isn't showing up

You're supposed to do something like: define rem = DynamicCharacter("remname", color="#E3AA60") define remname = "Priestess" # First name change label savaremintro: rem "I'm Savarem" $ remname = "Savarem" rem "Pleased to meet you" See also ...
by apricotorange
Tue Jun 11, 2013 2:07 am
Forum: Ren'Py Questions and Announcements
Topic: Achievements List
Replies: 5
Views: 701

Re: Achievements List

When you're asking a question about an error message, please include the complete text of the error and any relevant code.

That said, you would usually put a grid inside a frame, not the other way around. See also http://www.renpy.org/doc/html/screens.html#grid .
by apricotorange
Sun Jun 09, 2013 2:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Coded ui.add after ui.buttons, but showing behind them
Replies: 2
Views: 412

Re: Coded ui.add after ui.buttons, but showing behind them

Does the order of the elements really affect the performance substantially? My intuition is that it shouldn't matter because Ren'Py has to evaluate and draw them all anyway. Either way, if you need to do something complicated, you might need to look into using a creator-defined displayable; that pro...
by apricotorange
Sat Jun 08, 2013 11:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with Timetables?
Replies: 1
Views: 486

Re: Help with Timetables?

I've used this to try and get an understanding of what I'm trying to do. the bit I don't understand is what the "do something" bit actually has to be. I know I want a menu to pop up, but I'm not sure how to go about it. What do I need to do for that? Are you sure you actually want a butto...