Search found 78 matches

by irredeemable
Sun Mar 04, 2018 1:20 am
Forum: Ren'Py Questions and Announcements
Topic: [solved]
Replies: 14
Views: 398

Re: I can't tell what this error means or what I need to change

You skip the tutorial if the player has already seen it, which is the only place you're setting povname. You need to set it somewhere else, make it persistent, or give it a default value.
by irredeemable
Sat Mar 03, 2018 10:18 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]
Replies: 14
Views: 398

Re: I can't tell what this error means or what I need to change

It wasn't indented properly but that's not the error it was giving you (I assume the spaces just didn't paste properly). Can you post what you have beginning at the start label?
by irredeemable
Sat Mar 03, 2018 9:58 pm
Forum: Ren'Py Questions and Announcements
Topic: How to add multiple images to the say screen?
Replies: 1
Views: 148

Re: How to add multiple images to the say screen?

Edit screen say(who, what): in screens.rpy.
by irredeemable
Sat Mar 03, 2018 9:45 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Drinking Potions How To Improve The Code
Replies: 6
Views: 344

Re: [RE-OPENED] Drinking Potions How To Improve The Code

If I get what you're trying to do, try: hovered Show("potion_tooltip", item=item) In the imagebutton and change the tooltip screen to: screen potion_tooltip(item): zorder 106 add "gui/text_box4.png" xalign 0.500 yalign 1.000 add item.tooltip_icon yalign 0.988 xalign 0.075 text "[item.e_desc_1]" xsiz...
by irredeemable
Thu Mar 01, 2018 11:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton question
Replies: 3
Views: 226

Re: Imagebutton question

You could use Call instead of Jump and include the screen name as an argument. I would say that if you need "A LOT" of screens to go to a particular label there's probably a better way of doing things. You say "remove the help3 image," does that mean you're only using the label to display an image? ...
by irredeemable
Thu Mar 01, 2018 10:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Dialogue. Am I doing it wrong
Replies: 2
Views: 151

Re: Dialogue. Am I doing it wrong

Well, in general, the first word of your image definition is the tag and showing an image with the same tag will replace the existing image. So if your images were named 'tom smile' and 'tom heh', for example, you wouldn't have to hide one before showing the other. More specifically, here it looks l...
by irredeemable
Thu Mar 01, 2018 10:48 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Drinking Potions How To Improve The Code
Replies: 6
Views: 344

Re: Drinking Potions How To Improve The Code

Well, I think there are some things that fundamentally look off about the code but to keep it close to what you already have, you could add additional fields to your item class: effect (what field on the player object it is affecting--in your example this value would be equal to "FIRE_RESISTANCE" fo...
by irredeemable
Tue Feb 27, 2018 8:20 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] How to use "SetDict" (screen language)
Replies: 2
Views: 231

Re: How to use "SetDict" (screen language)

Remove the quotes from around "cases":

Code: Select all

action SetDict(cases , i , cases[i]+1)
by irredeemable
Tue Feb 27, 2018 6:18 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Hover And Idle Question
Replies: 14
Views: 506

Re: Imagebutton Hover And Idle Question

Wait a moment :wink: , I'm trying irredeemable's suggestions and I like them more: 2. Put width and height inside the Null screen test_screen(): # <- Don't forget the parenthesis imagebutton: background "test1.png" hover "test2.png" idle Null(width=100, height=150) # <- Here action NullAction() 3. ...
by irredeemable
Tue Feb 27, 2018 5:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Hover And Idle Question
Replies: 14
Views: 506

Re: Imagebutton Hover And Idle Question

imagebutton: background "sad_dummy.png" hover "attack_no_bg.png" idle Null() action NullAction() Isn't working the image just gets frozen I can't interact with it or see the idle-hover animation. Imperf3kt - Yes that is what I'm looking for. Really would like to do it with imagebutton as it gives m...
by irredeemable
Tue Feb 27, 2018 3:43 pm
Forum: Ren'Py Questions and Announcements
Topic: How do I make a menu button call or jump to an event?
Replies: 5
Views: 200

Re: How do I make a menu button call or jump to an event?

Code: Select all

textbutton "Hospital" action Jump("Hospital_evt")
by irredeemable
Tue Feb 27, 2018 3:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Indentation Mismatch on line that seems correct?
Replies: 2
Views: 151

Re: Indentation Mismatch on line that seems correct?

The preceding lines are indented with 5 spaces. The important thing is that the indentation be consistent.
by irredeemable
Tue Feb 27, 2018 3:04 pm
Forum: Ren'Py Questions and Announcements
Topic: How do you make a button not do anything?
Replies: 8
Views: 321

Re: How do you make a button not do anything?

Code: Select all

menu:
    "Do nothing.":
        pass
    "Do more nothing.":
        pass
by irredeemable
Tue Feb 27, 2018 2:59 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Hover And Idle Question
Replies: 14
Views: 506

Re: Imagebutton Hover And Idle Question

Code: Select all

imagebutton:
    background "sad_dummy.png"
    hover "attack_no_bg.png"
    idle Null()
    action NullAction()
by irredeemable
Tue Feb 27, 2018 9:58 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Clear all layered images?
Replies: 6
Views: 265

Re: Clear all layered images?

Post your code.