Search found 7 matches

by Rayne
Sat Jun 02, 2018 11:27 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] History Screen Issue
Replies: 2
Views: 361

Re: History Screen Issue

I had a lot of issues while customizing History window, and I had something like this too. Use a vbox there, like this. viewport: style_prefix "history" yinitial 1.0 xanchor 0.5 xpos 390 yanchor 0.0 ypos 150 xmaximum 356 ymaximum 610 draggable True mousewheel True scrollbars "vertical" vbox: for h i...
by Rayne
Sat Jun 02, 2018 2:29 am
Forum: Ren'Py Questions and Announcements
Topic: Invalid syntax error in a point based ending system
Replies: 3
Views: 278

Re: Invalid syntax error in a point based ending system

Variables can't have spaces in them. Use happiness_points, practice_points, etc.
by Rayne
Fri Jun 01, 2018 2:45 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Problem generating random number or using if statement... I'm not sure
Replies: 4
Views: 286

Re: [Solved]Problem generating random number or using if statement... I'm not sure

Actually, here's something even better! You can replace all of these ifs with just this line: add "gui/main_menu_[bgr].png" So it'll be: screen main_menu(): ## This ensures that any other menu screen is replaced. tag menu style_prefix "main_menu" $ bgr = renpy.random.randint(0, 2) add "gui/main_menu...
by Rayne
Fri Jun 01, 2018 2:34 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Problem generating random number or using if statement... I'm not sure
Replies: 4
Views: 286

Re: Problem generating random number or using if statement... I'm not sure

gui.main_menu_background simply defines a picture that's later add ed to the main menu. Find main_menu screen in screens.rpy, delete add gui.main_menu_background and add something like this: ## Main Menu screen ############################################################ ## ## Used to display the m...
by Rayne
Thu May 31, 2018 12:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Using Transform() on the "namebox"?
Replies: 3
Views: 334

Re: Using Transform() on the "namebox"?

I guess it works just like any other Displayable.
I played around with transforming images earlier and figured it'll work the same way for text.
Here's more on that: https://www.renpy.org/doc/html/displaya ... splayables

You're welcome! :D
by Rayne
Thu May 31, 2018 7:51 am
Forum: Ren'Py Questions and Announcements
Topic: Using Transform() on the "namebox"?
Replies: 3
Views: 334

Re: Using Transform() on the "namebox"?

Add this before "say" screen, or anywhere else really:

Code: Select all

transform NameRotation:
    rotate 25
And then you can do:

Code: Select all

text who id "who" at NameRotation
by Rayne
Wed May 30, 2018 8:34 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]How to solve "The build.directory_name variable may not include the space, colon...(blabla)"?
Replies: 3
Views: 617

Re: How to solve "The build.directory_name variable may not include the space, colon...(blabla)"?

Changing...

Code: Select all

define config.version = renpy.version_string
in the options.rpy, to something like:

Code: Select all

define config.version = "1.0"
...should fix it!

Looks like Tutorial is trying to use Ren'py version as the game version, but is has some forbidden characters.