Search found 69 matches
- Mon Nov 04, 2013 5:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Centering textbox text.
- Replies: 6
- Views: 891
- Mon Nov 04, 2013 7:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Issue with renpy.list_files() [Solved]
- Replies: 7
- Views: 2241
Re: Issue with renpy.list_files()
Having viewport id "list": . . vbar value YScrollValue("list") still works without error in my code, so it shouldn't be some kind of reserved keyword that produces the error. Maybe you defined "list" elsewhere in your code and it gets mixed up? Anyway, since your code works without YScrollValue("lis...
- Sun Nov 03, 2013 8:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Persistent Data for Multiple Playthroughs
- Replies: 5
- Views: 864
Re: Persistent Data for Multiple Playthroughs
Yeah, persistent variables need to be declared as such. It should be
and
Code: Select all
if persistent.end01:
jump bonus_endingCode: Select all
$ persistent.end01 = True- Sun Nov 03, 2013 8:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Customizing the Game Menu [SOLVED]
- Replies: 2
- Views: 395
Re: Customizing the Game Menu (Please help)
Since you said you don't use imagemaps, I suppose your navigation screen menu code in screens.rpy looks like this frame: style_group "mm" xalign .98 yalign .98 has vbox textbutton _("Start Game") action Start() textbutton _("Load Game") action ShowMenu("load") textbutton _("Preferences") action Show...
- Sun Nov 03, 2013 11:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: Help me!!!! HOW TO BEGIN IN NVL MODE!?
- Replies: 2
- Views: 529
Re: Help me!!!! HOW TO BEGIN IN NVL MODE!?
http://www.renpy.org/doc/html/nvl_mode.html This pretty much explains how to start your project in NVL mode 
- Sun Nov 03, 2013 8:58 am
- Forum: Ren'Py Questions and Announcements
- Topic: Issue with renpy.list_files() [Solved]
- Replies: 7
- Views: 2241
Re: Issue with renpy.list_files()
Well the code itself seems to have no issues whatsoever. I inserted the following screen (basically your code) into a project and it works flawlessly init python: import re def file_list(dir=""): list = renpy.list_files() rv = [] for f in list: if re.match(dir,f): rv.append(f[(len(dir)):]) return rv...
- Wed Oct 30, 2013 7:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Best way for select many characters?
- Replies: 2
- Views: 553
Re: Best way for select many characters?
Well, a solution would be this (though somewhat quick and messy, you could further improve it by using lists or something, especially for lots of characters). label Menu: menu: "Home": "Back at Home" jump Home "Character choice": "choose a character" jump Character_choice label Character_choice: men...
- Thu Oct 17, 2013 3:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Hiding a screen with delay/timer.[Solved]
- Replies: 6
- Views: 4838
Re: Hiding a screen with delay/timer.
Should be fairly easy with time.sleep. in init block use init python: import time and in python block time.sleep(amount of seconds) and then whatever you use to hide the screen. Just tried it in a renpy screen using python blocks and works flawlessly. Or break the python block with renpy.pause and c...
- Mon Oct 14, 2013 8:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: General list/dictionary question
- Replies: 2
- Views: 662
Re: General list/dictionary question
Well, you could try this :
No need to define a new action.
Code: Select all
label start:
$ player = ["One", "Two", "Three", "Four"]
for i in range (0, len(player))
text ("This is: "+str(player[i]))