Search found 21 matches

by Riverbird
Wed Apr 22, 2015 11:24 am
Forum: Ren'Py Questions and Announcements
Topic: How to adjust character sprite?
Replies: 2
Views: 705

Re: How to adjust character sprite?

The bit of the documentation you want is here: http://www.renpy.org/doc/html/style_properties.html#position-style-properties XPos and YPos are coordinates in pixels from the top left of the screen, to the ANCHOR of the image. XAnchor and YAnchor set the coordinates of the anchor from the top left of...
by Riverbird
Sun Mar 29, 2015 11:27 am
Forum: Ren'Py Questions and Announcements
Topic: Firing 2 events at once (SOLVED)
Replies: 3
Views: 583

Re: Firing 2 events at once (easy question)

with can be used on it's own to affect multiple things:

Code: Select all

            show bobBlank at right 
            show happy at Position (xpos = 625, ypos = 190)
            with dissolve
As long as you're wanting the same transition for all the new images, this works :)
by Riverbird
Sat Mar 28, 2015 8:15 am
Forum: Ren'Py Questions and Announcements
Topic: Displaying characters with different outfits (SOLVED)
Replies: 6
Views: 949

Re: Displaying characters with different outfits

ConditionSwitch allows you to have a list of logical tests, such as X = 1 or BOB = True, and associate an image with each test. Each time the image is displayed, the tests are checked in order and the first one that is true determines the image returned. To take the code from the wiki: init: image b...
by Riverbird
Sat Mar 28, 2015 7:56 am
Forum: Creator Discussion
Topic: EU VAT Regulations, Crowdfunding and Patreon
Replies: 10
Views: 3576

Re: EU VAT Regulations, Crowdfunding and Patreon

Thankyou for the summary...This has basically forced indie developers to use third party distributors and that's just terrible for the industry as a whole in the long run. Don't get me wrong, I'm all for the vast majority of the stuff coming from being part of the EU, but this smacks of none of the ...
by Riverbird
Sat Mar 21, 2015 4:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Sound Effects, Music Not Playing
Replies: 4
Views: 733

Re: Sound Effects, Music Not Playing

Is it that you need to use True instead of true?

(I might be well off with this one, but it's a mistake I make time and time again.)
by Riverbird
Sat Mar 21, 2015 2:05 pm
Forum: Creator Discussion
Topic: Sci-fi: Do you want alien dates, or human only?
Replies: 46
Views: 6207

Re: Sci-fi: Do you expect alien dates, or human only?

It depends on how "alien" you want your aliens to be - to some the idea of "romance" might be very different to how we see it, which can lead to an interesting storyline in a VN as these cultural differences are explored and conquered (or not, as the case may be...) One of the th...
by Riverbird
Sat Mar 21, 2015 9:07 am
Forum: Ren'Py Questions and Announcements
Topic: Zooming ot a specific location on a picture
Replies: 6
Views: 2438

Re: Zooming ot a specific location on a picture

There is probably a new way of doing it but I've done similar in the past using Zoom(): init: define Pan = Zoom((800, 600), (0, 0, 2560, 1140), (0, 0, 400, 300), 5.0) image Stars = "starfield_basic.png" start: show Stars at Pan define Pan = Zoom((A), (B), (C), D) A: The size of your displa...
by Riverbird
Fri Mar 20, 2015 4:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Input in Main Menu
Replies: 1
Views: 577

Re: Input in Main Menu

Yes but it can get rather complicated...parsers are a whole science unto themselves - it's one of those things that can snowball in complexity if your not careful.

For a menu in particular, you need to catch different capitalizations (unless you simply .upper() the input, which is what I tend to do.)
by Riverbird
Thu Mar 19, 2015 7:18 am
Forum: Ren'Py Questions and Announcements
Topic: How do I show a variable in text?
Replies: 4
Views: 485

Re: How do I show a variable in text?

To do random integer numbers, you use renpy.random.randint(X,Y) where X is the minimum and Y is the maximum. For example: label Roll_A_Die: $ dieroll = renpy.random.randint(1,20) return label start: call Roll_A_Die e "I rolled a [dieroll]" (random() on it's own won't work, it has to be the...
by Riverbird
Wed Mar 18, 2015 5:29 am
Forum: General Discussion
Topic: Home office?
Replies: 7
Views: 1225

Re: Home office?

Two words: Heat & Power

I've a garage workshop / office and whilst it's excellent when the weather is clement, over winter I was looking at -2 centigrade in there some days. (YMMV based on geography of course.) But yeah, it's worth it in the long run.
by Riverbird
Fri Mar 13, 2015 4:25 pm
Forum: Ren'Py Questions and Announcements
Topic: In need of Ren'py help!
Replies: 10
Views: 1059

Re: In need of Ren'py help!

You need to indent the line: $ all_questions_over = True Basically, the indentations are key in Python (and Ren'py.) The "if" statement will run the next "block" of code, and those blocks are defined by being indented. So: if Bob == "Happy": $ call Happy_Dance $ call Ne...
by Riverbird
Fri Mar 13, 2015 12:08 am
Forum: Ren'Py Questions and Announcements
Topic: Live Compostie changing colors?
Replies: 4
Views: 724

Re: Live Compostie changing colors?

You might be able to do it with im.MatrixColor:
http://www.renpy.org/doc/html/displayab ... atrixcolor

In particular im.matrix.hue(h) is probably what you are looking for, since you can tie h to a slider. It will make your composite more complicated though...
by Riverbird
Wed Mar 11, 2015 4:37 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make individual character stories?
Replies: 6
Views: 541

Re: How to make individual character stories?

Simplest way is to have each chapter end with setting a variable to the name of the next label in that story arc, and then having the menu use that: label start: #Set the initial variables for each route. $ MAN_ROUTE = "MAN_1" $ WOMAN_ROUTE = "WOMAN_1" jump Game_Menu return label...
by Riverbird
Wed Mar 11, 2015 4:21 pm
Forum: Creator Discussion
Topic: [DISCUSSION]Is a love meter a good idea?
Replies: 15
Views: 3050

Re: [DISCUSSION]Is a love meter a good idea?

In this regard, I've always favoured the idea of player choice - having toggle-able meters is always one way to go, and my current project has them work that way. One recent game I played had a neat feature on it's NewGame+ which even let you toggle on little flags on individual dialogue lines, to s...
by Riverbird
Sat Mar 07, 2015 5:32 am
Forum: Ren'Py Questions and Announcements
Topic: Two DynamicDisplayable or LiveComposite characters? (SOLVED)
Replies: 4
Views: 716

Re: Can I have 2 DynamicDisplayable or LiveComposite charact

In your original code, you have two definitions of draw_character. The code has no way of telling them apart. The quickest fix is to change the second one's name to "draw_character_2" and then change: image chara0 = DynamicDisplayable(draw_character) to image chara0 = DynamicDisplayable(dr...