Search found 4 matches

by Rex Nihilo
Mon Mar 14, 2022 10:14 am
Forum: Ren'Py Questions and Announcements
Topic: Auto adjust screen resolution
Replies: 3
Views: 290

Re: Auto adjust screen resolution

In the game, to play in full screen, there is the shortcut "F" or a setting in the "Preferences" menu. To make the game start up fullscreen initially, open "options.rpy", and add: define config.default_fullscreen = True To make this setting take effect, close the game, use "Delete Persistent" in Ren...
by Rex Nihilo
Sun Mar 13, 2022 9:13 am
Forum: Ren'Py Questions and Announcements
Topic: Conditional Statement "if and elif" multiple if statements
Replies: 1
Views: 391

Re: Conditional Statement "if and elif" multiple if statements

It is correct to use only "if" statements but : When using "elif", if one condition is satisfied, it would not check the other conditions. When using "if", all conditions are tested one by one, which can represent a significant performance overhead in a tight loop. Multiple ifs should be used when i...
by Rex Nihilo
Sat Mar 05, 2022 6:56 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to change alpha on layeredimage as a whole image?
Replies: 8
Views: 474

Re: [Solved] How to change alpha on layeredimage as a whole image?

To flatten the proxy character and apply transparency:

Code: Select all

image cSebastian_flat = LayeredImageProxy("cSebastian", Transform(mesh=True, alpha=0.5))