Search found 40 matches
- Thu Feb 13, 2014 1:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Solved: Problem getting list variable to work
- Replies: 2
- Views: 2114
Solved: Problem getting list variable to work
Hi all, I'm having trouble getting a list variable to work in my code. I have the days of the week in a list and the game has to decide what day it is for various text lines. Here's the relevant code - it's across a few pages so I only extracted the relevant info: init python: day = [ 'Monday', 'Tue...
- Sun Feb 09, 2014 3:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: Solved: Imagemap buttons won't work with position info?
- Replies: 3
- Views: 568
Re: Imagemap buttons won't work with position info?
That did it - thanks!
- Sun Feb 09, 2014 1:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: Solved: Imagemap buttons won't work with position info?
- Replies: 3
- Views: 568
Re: Imagemap buttons won't work with position info?
I should mention that I double checked the code where I call the imagemap and that is fine too - the problem seems to be when I try to position the imagemap.
- Sat Feb 08, 2014 5:40 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Solved: Imagemap buttons won't work with position info?
- Replies: 3
- Views: 568
Solved: Imagemap buttons won't work with position info?
Hi all, I have a background of an office that I have placed a phone image on. As shown in the example picture. example.jpg I set it up as an imagemap like this: screen phonehome_imagemap: imagemap: ground "phoneHome.png" #hover "phoneHome.png" #xanchor 1.0 yanchor 0.0 xpos 760 yp...
- Fri Feb 07, 2014 2:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Solved - hide a character name until he has been introduced?
- Replies: 6
- Views: 5197
Re: Solved - hide a character name until he has been introdu
This also does the same thing:
Code: Select all
define doctor = Character("doc_name", color="#d3d3d3", ctc=anim.Blink("arrow.png"), dynamic = True)
- Fri Feb 07, 2014 2:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Solved - hide a character name until he has been introduced?
- Replies: 6
- Views: 5197
Re: How to hide a character name until he has been introduce
Found the solution! I ended up using DynamicCharacter instead of character - it works like this... define doctor = DynamicCharacter("doc_name", color="#d3d3d3", ctc=anim.Blink("arrow.png")) $ doc_name = "?????" #and then later I can change the name using $ doc...
- Fri Feb 07, 2014 1:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Solved - hide a character name until he has been introduced?
- Replies: 6
- Views: 5197
Re: How to hide a character name until he has been introduce
define doctor = Character('[doctor]', color="#d3d3d3", ctc=anim.Blink("arrow.png")) $ doctor = "?????" doctor "Wait, don't move! " doctor "I saw you fall from across the street. That looked like a nasty bump on the head. " doctor "I'm Doctor Re...
- Fri Feb 07, 2014 10:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: Solved - hide a character name until he has been introduced?
- Replies: 6
- Views: 5197
Solved - hide a character name until he has been introduced?
Hi all, I have my game setup so that if a character has not been introduced yet it shows ????? instead of the character name. I have it set up like this... define doctor = Character('Rensont', color="#d3d3d3", ctc=anim.Blink("arrow.png")) "{color=d3d3d3}?????{/color}" &...
- Thu Feb 06, 2014 11:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Displaying multiple images using a loop (Solved)
- Replies: 2
- Views: 1343
Re: Displaying multiple images using a loop (Solved)
It worked!
Thanks!
Thanks!
- Thu Feb 06, 2014 9:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Displaying multiple images using a loop (Solved)
- Replies: 2
- Views: 1343
Displaying multiple images using a loop (Solved)
Hi all, I have a set of splashscreens that I am trying to display, so rather than just show each one I was trying to show them through a loop. Here's the code I was using: label splashscreen: $ renpy.pause(0) $ count = 0 while count < 8: $ count += 1 $ splashscr = "Splash0" + str(count) + ...