Search found 479 matches
- Sat Jul 06, 2013 12:40 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to write the narration in NVL mode? [SOLVED]
- Replies: 6
- Views: 2513
Re: How to write the narration in NVL mode?
See "Click-to-continue" under http://www.renpy.org/doc/html/dialogue.html#Character .
- Sat Jul 06, 2013 12:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animated Title Screen?
- Replies: 38
- Views: 10094
Re: Animated Title Screen?
Oh.
You can't mix calls to layout.* with screen language. You'll have to define your imagemap inside the screen. See http://www.renpy.org/doc/html/screens.h ... statements for the syntax.
You can't mix calls to layout.* with screen language. You'll have to define your imagemap inside the screen. See http://www.renpy.org/doc/html/screens.h ... statements for the syntax.
- Sat Jul 06, 2013 12:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: "Exception: Could not set video mode"
- Replies: 3
- Views: 2705
Re: "Exception: Could not set video mode"
Odd, usually people reporting this issue have old Intel graphics drivers. Anyway, if you press SHIFT+G, you can force Ren'Py to use a different graphics rendering mode; that often helps. Also, you might want to make sure your graphics drivers are up-to-date. (Steam has a convenient "Check for V...
- Fri Jul 05, 2013 10:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved!]Dynamic character name translation
- Replies: 5
- Views: 1912
Re: Dynamic character name translation
When I go to "Generate Translations" for my example, I get a translation file including the following: translate french strings: # game/script.rpy:139 old "Sally" new "" # game/script.rpy:141 old "Lover" new "" When I fill in the translations, the ap...
- Fri Jul 05, 2013 9:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Quick question about point-based systems (SOLVED)
- Replies: 11
- Views: 1850
Re: Quick question about point-based systems
Do you care what the behavior is if multiple stats are tied?
A bit more readable this time:
A bit more readable this time:
Code: Select all
$ (max_points, max_index) = max(zip(stat_list, range(10)))
if max_points < 10:
jump failed
jump expression ("discussionstat" + max_index)
- Fri Jul 05, 2013 9:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animated Title Screen?
- Replies: 38
- Views: 10094
Re: Animated Title Screen?
You should be able to use a transparent PNG; that way, the animation will show through the imagemap.
- Fri Jul 05, 2013 9:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved!]Dynamic character name translation
- Replies: 5
- Views: 1912
Re: Dynamic character name translation
Something like the following?
If not, please describe more precisely what you want.
Code: Select all
define sally= DynamicCharacter("sally_name")
label start:
$ sally_name = _("Sally")
sally "Hi"
$ sally_name = _("Lover")
sally "Let's have sex"
- Fri Jul 05, 2013 9:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Scene gallery with image
- Replies: 2
- Views: 1371
Re: Scene gallery with image
There isn't really any builtin way to do it, but it isn't too hard to write yourself. Really simple example: screen replay_gallery: tag menu vbox: button: action If(persistent.saw_myfirstscene, Replay("myfirstscene")) text "Scene1" button: action If(persistent.saw_mysecondscene, ...
- Thu Jul 04, 2013 3:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: using a random choice for random jumps
- Replies: 2
- Views: 464
Re: using a random choice for random jumps
menu dance_menu: "Roll the dice to calculate your chances of a nice evening!": $ randanswer = renpy.random.choice(["1", "2", "3"]) if randanswer == "1": "You go dining." jump dinner if randanswer == "2": "You're gonna shake ...
- Thu Jul 04, 2013 3:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Placing images dynamically in a for loop [solved]
- Replies: 4
- Views: 1081
Re: Placing images dynamically in a for loop
Whole numbers and fractional numbers are treated differently by position properties, so you're positioning your images thousands of pixels off the screen. See http://www.renpy.org/doc/html/style.htm ... rty-values.
- Thu Jul 04, 2013 12:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: re: On Asking Questions
- Replies: 113
- Views: 21128
Re: On Asking Questions
If you're worried about posting too many questions, the best rule of thumb is just make sure that you've made a serious attempt to figure it out on your own, and that you take the time to compose your question so that it's clear. Don't worry about the raw number of questions.
- Thu Jul 04, 2013 12:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: changing menu background through variables
- Replies: 6
- Views: 1656
Re: changing menu background through variables
Look at the example saguaro posted again. You have the if statement in the wrong spot.
- Tue Jul 02, 2013 2:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: Changing appearance of previously-made choices
- Replies: 2
- Views: 771
Re: Changing appearance of previously-made choices
Put the following somewhere in your project, and the "chosen" boolean will work the way you want: init python: # Track which choices have been chosen chosen_choice_tracker = None # Action for menu which tracks the chosen choice. class NonPersistentChoice(Action): def __init__(self, label, ...
- Tue Jul 02, 2013 12:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]
- Replies: 2
- Views: 423
Re: Rows & Columns - hbox / vbox problems (I think)
This is basically a blind guess, but I'm guessing your images are too big. The hbox+vbox should lead to something which looks roughly like this, which you expect: X X X X X X But suppose your images are 800x600. Then even though the layout is exactly what you want it to be, the user sees something l...
- Sun Jun 30, 2013 4:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animated Title Screen?
- Replies: 38
- Views: 10094
Re: Animated Title Screen?
1. How do I get the title screen to still function as a title screen? Ie for the animation to happen in the background but the title screen will still have a menu and function as usual (including NOT automatically starting the novel when the animation finishes) Just set the main menu background to ...