Search found 216 matches

by korova
Sun Dec 14, 2014 3:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Errors in screens after upgrading to 6.18 [solved]
Replies: 9
Views: 810

Re: Errors in screens after upgrading to version 6.18 [solve

Offhand, did you try: screen dossier_hover: without brackets...? Actually I added the brackets as a first try.... Original (with error) didn't have the brackets. Or you can use the new screen code: screen dossier_hover(legende=legende, souris=souris): That are the two variables that renpy is compla...
by korova
Sun Dec 14, 2014 12:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Errors in screens after upgrading to 6.18 [solved]
Replies: 9
Views: 810

Errors in screens after upgrading to 6.18 [solved]

Hello ! I need your help to solve errors that have appeared after I upgraded to the new version of Ren'Py. My code that used to work perfectly now causes errors. I suppose that this is linked to the rewrite of screen language, but i don't know what to do to solve this. Here is extracts of (I hope) r...
by korova
Tue Aug 26, 2014 3:43 am
Forum: Ren'Py Questions and Announcements
Topic: SyntaxError: invalid syntax
Replies: 5
Views: 1878

Re: SyntaxError: invalid syntax

It may have nothing to do with your error, but don't you lack a "=" in line 444 at the end ?
444 "Charge [M]'s attacker" if RCLocation == "stage" and RMAlive == "true" and RCProtectingM = "false":
by korova
Tue Aug 12, 2014 5:03 am
Forum: Ren'Py Questions and Announcements
Topic: {Solved} ui.imagebuttons User Issue
Replies: 6
Views: 611

Re: ui.imagebuttons User Issue

I think SetVariable syntax is a bit different, more like

Code: Select all

SetVariable("player_damage", renpy.random.randint(1, 6))
i.e. name of the variable like a string, a coma and the value you want to give to your varirable.

(see here)
by korova
Tue Aug 05, 2014 11:33 am
Forum: Ren'Py Questions and Announcements
Topic: main menu imagemap not showing up?
Replies: 4
Views: 556

Re: main menu imagemap not showing up?

I think you need an "Idle" image as well...

Not sure this is the problem, though.
by korova
Wed Jul 30, 2014 5:52 am
Forum: Ren'Py Questions and Announcements
Topic: Sub directories and breaking up script questions.
Replies: 2
Views: 350

Re: Sub directories and breaking up script questions.

Yes, you can break your script into multiple files (i do that all the time) You don't need to "reference" your other script files in your main file. As long as their name end with ".rpy", ren'py will parse them. Then you just need to "jump" or "call" labels inside your scripts to go where you want (...
by korova
Sat Jul 26, 2014 5:24 am
Forum: Ren'Py Questions and Announcements
Topic: Opening a .html file in renpy? [SOLVED]
Replies: 3
Views: 1105

Re: Opening a .html file in renpy? [SOLVED]

Hey ! It helped me too !

I was wondering how to open different help files according to language...

Now I can do it !

Thanks too !
by korova
Sun Jun 22, 2014 5:33 am
Forum: Ren'Py Questions and Announcements
Topic: Menu, choices, variables
Replies: 9
Views: 1941

Re: Menu, choices, variables

Not sure at all about that, but is it possible for a variable to begin with a digit ? ( is 0 a valid beginning for a variable ?)
by korova
Sun Jun 22, 2014 5:29 am
Forum: Ren'Py Questions and Announcements
Topic: how to centered the text in the center of black screen
Replies: 2
Views: 378

Re: how to centered the text in the center of black screen

Try to use "pause" with no number ?
If you write just "pause", your text will stay on screen till you click, with no time limit.
by korova
Sat Jun 21, 2014 6:40 am
Forum: Ren'Py Questions and Announcements
Topic: Error in script.rpy I can't seem to figure out. [Answered]
Replies: 3
Views: 855

Re: SyntaxError in script.rpy I can't seem to figure out.

You can try to use the "pause" statement inside your empty labels (that basically does nothing until you interact...), while you have not written your story yet, and see what happens.
by korova
Sat Jun 21, 2014 6:35 am
Forum: Ren'Py Questions and Announcements
Topic: "Missing Images" Thumbnail
Replies: 6
Views: 535

Re: "Missing Images" Thumbnail

The only thing I can think of is :
=>Are you sure the paths to your images are correct ?

(there is a "h" in the name of the files, and none in the repertory for the 1st and 3rd one, for example)
by korova
Thu Jun 19, 2014 10:24 am
Forum: Ren'Py Questions and Announcements
Topic: How Do I Add Buttons to the Menu?
Replies: 10
Views: 1345

Re: How Do I Add Buttons to the Menu?

You have to search for the Main Menu screen code in the screens.rpy file. ############################################################################## # Main Menu # # Screen that's used to display the main menu, when Ren'Py first starts # http://www.renpy.org/doc/html/screen_special.html#main-menu...
by korova
Wed Jun 18, 2014 6:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Slow_cps bloc repeat and repeat in NVL mode
Replies: 3
Views: 714

Re: Slow_cps bloc repeat and repeat in NVL mode

Whoah ! :shock: That was a quick answer ! Thanks a lot ! Tried your solution, doesn't work (probably because config.default_text_cps = 0, which is axactly what I want) Now the text of the title simply appear all at once. I want the "reports" title to appear letter by letter, and not the other texts ...
by korova
Wed Jun 18, 2014 5:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Slow_cps bloc repeat and repeat in NVL mode
Replies: 3
Views: 714

Slow_cps bloc repeat and repeat in NVL mode

I'm gonna try to make myself clear, sorry if I fail as english is not my native language. My game runs totally in NVL mode, it's like you're reading reports from an agent. I have defined 2 characters. The first one is used to display the title of the report. I want it to show one character at a time...
by korova
Thu Jun 05, 2014 2:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Customizing Position of Textbox
Replies: 3
Views: 3400

Re: Customizing Position of Textbox

the special character "centered" might do the trick
http://www.renpy.org/doc/html/dialogue. ... characters