Search found 1023 matches

by Remix
Wed Dec 19, 2018 6:09 am
Forum: Ren'Py Questions and Announcements
Topic: Error text, end of line expected etc... What is wrong?
Replies: 5
Views: 5579

Re: Error text, end of line expected etc... What is wrong?

Firstly, menu choices cannot have a character speaking them... Secondly, you will find it far more readable if you un-indent all labels back to zero. Thirdly, a prior post had a menu caption with a colon at the end ( "Question One: What is 2+2?": ) which is wrong. So: label start: a "I am sticking t...
by Remix
Tue Dec 18, 2018 7:37 am
Forum: Ren'Py Questions and Announcements
Topic: Is there a way for me to have voice output with ren'py on android?
Replies: 2
Views: 36

Re: Is there a way for me to have voice output with ren'py on android?

Unfortunately Text To Speech is not natively supported in Ren'Py for platforms such as Android, iOS and ChromeOS. Documentation: https://www.renpy.org/doc/html/self_voicing.html The only option I can think of is to try installing a third party app on your Android that does the voicing. There are qui...
by Remix
Fri Dec 14, 2018 6:51 am
Forum: Ren'Py Questions and Announcements
Topic: [Screen language] Set an argument in used screen to call a class
Replies: 2
Views: 51

Re: [Screen language] Set an argument in used screen to call a class

SetScreenVariable("param", c_datas) # value is a global object so no quotes
SetField( param, "attribute_name_in_quotes", value )

might get you heading in the right direction.
by Remix
Thu Dec 13, 2018 11:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Different images, same variable?
Replies: 7
Views: 94

Re: Different images, same variable?

default dress_type = 0 default pose_type = 0 image girl = "images/dress_[dress_type]_pose_[pose_type].png" label start: show girl "..." $ pose_type = 1 # now shows images/dress_0_pose_1.png "..." I would suggest looking at LayeredImages though or at least checking out image attributes for character...
by Remix
Thu Dec 13, 2018 10:57 pm
Forum: Ren'Py Questions and Announcements
Topic: class Fonction synthax in imagebutton action
Replies: 7
Views: 138

Re: class Fonction synthax in imagebutton action

In method drop() item is just an indexed parameter rather than a keyword... try: def drop(self, item=None): or address it as the first indexed argument in the call, Function(Container.drop, item) Sub-note: Consider https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=47911#p497160 as an idea if yo...
by Remix
Thu Dec 13, 2018 10:48 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] renpy.random.randint is picking the same variable every time? How to fix it?
Replies: 5
Views: 78

Re: renpy.random.randint is picking the same variable every time? How to fix it?

Code: Select all

image blink:
    "open.png"
    choice:
        pause 1.2
    choice:
        pause 3.7
    choice:
        pause 4.8
    "half.png"
    pause 0.1
    repeat
by Remix
Thu Dec 06, 2018 6:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Interpolating Data in Labels
Replies: 5
Views: 113

Re: Interpolating Data in Labels

jump expression db[debate_num].c # or any python expression that resolves to a string

I am presuming that db is a dictionary keyed by debate_num and holding objects that contain an attribute named c that holds a string
by Remix
Wed Dec 05, 2018 11:40 am
Forum: Ren'Py Questions and Announcements
Topic: "Greyed-out" menu choice
Replies: 6
Views: 182

Re: "Greyed-out" menu choice

What code are you trying and are you updated to Ren'Py 7.1.3 ?
by Remix
Wed Dec 05, 2018 7:33 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Showing Multiple Lines of Text on Screen
Replies: 3
Views: 101

Re: Showing Multiple Lines of Text on Screen

I would though advise considering a screen instead...

Code: Select all

screen bullet_list( sentences=[] ):
    fixed:
        vbox:
            for sentence in sentences:
                text "[sentence]"

label start:
    show screen bullet_list( ["A", "B", "C" ] )
Fly-typed, might need tweaks...
by Remix
Wed Dec 05, 2018 7:18 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Showing Multiple Lines of Text on Screen
Replies: 3
Views: 101

Re: Showing Multiple Lines of Text on Screen

show text "A" as t1
show text "B" as t2
show text "C" as t3
hide t2

Basically alias each using " as alias_name " so Ren'Py does not overwrite/reuse them.
by Remix
Tue Dec 04, 2018 6:44 am
Forum: Ren'Py Questions and Announcements
Topic: "Greyed-out" menu choice
Replies: 6
Views: 182

Re: "Greyed-out" menu choice

Yup, you are right there.

I tend to work with a recent Nightly build so I often don't always notice if a new feature has made it into the Release channel or how long it's been there, oops.
by Remix
Mon Dec 03, 2018 12:11 pm
Forum: Ren'Py Questions and Announcements
Topic: "Greyed-out" menu choice
Replies: 6
Views: 182

Re: "Greyed-out" menu choice

vbox: for i in items: textbutton i.caption.replace(" (disabled", ""): action If( "(disabled)" in i.caption, NullAction(), i.action ) # style "choice_button" Should be all you need, though also note you could do something like this for recent Ren'Py releases: # show "if condition:" hidden choices as...
by Remix
Sat Dec 01, 2018 11:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Mechanics of programming language and semantic for dummy?
Replies: 6
Views: 106

Re: Mechanics of programming language and semantic for dummy?

There are countless sites to learn python and I'd actually suggest you google for one written in your primary language as a starter... or just google "learn python"

If you still considered a simple day/time counter system, maybe check viewtopic.php?f=51&t=51632
by Remix
Sat Dec 01, 2018 10:57 pm
Forum: Ren'Py Questions and Announcements
Topic: How to run game on Linux on Chromebook
Replies: 2
Views: 74

Re: How to run game on Linux on Chromebook

If it's running a flavour of Linux it should be able to run a Linux distribution of the game through whichever desktop environment it has. If that really isn't working, try distributing an Android apk and set the Chromebook to open the game using Chrome through ARC Welder... https://www.renpy.org/de...
by Remix
Fri Nov 30, 2018 5:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] trying to see a list but it only says <store.Person object ...> ???
Replies: 4
Views: 97

Re: trying to see a list but it only says <store.Person object ...> ???

You might also want a !q in your interpolation (to escape any braces) "[random_characters!q]" Hey Remix! I tried to google it, but !q is not particularly easy to google. Could you explain !q a bit more? When exactly would one want to use this and how does it work? Of course: Imagine you had: defaul...