[SOLVED] Changing Subpixel default value

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
laure44
Regular
Posts: 84
Joined: Mon Mar 08, 2021 10:55 pm
Projects: Arkan'sTower, Gemshine Lorelei!
Location: France
Contact:

[SOLVED] Changing Subpixel default value

#1 Post by laure44 »

I'm using a lot of different transforms (mostly for the camera statement), and all of those use subpixel True. This parameter is set to False by default. But it is quite boring to have a "subpixel True" line written everywhere.

I suppose this is not possible, but who knows: is there any way to change the default to True? Or at least is there some kind of workaround to avoid writing this line in every transform I make?
Last edited by laure44 on Sun Aug 14, 2022 11:12 pm, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 16094
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Changing Subpixel default value

#2 Post by PyTom »

Code: Select all

style default:
    subpixel True
I'm considering making this the default.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

laure44
Regular
Posts: 84
Joined: Mon Mar 08, 2021 10:55 pm
Projects: Arkan'sTower, Gemshine Lorelei!
Location: France
Contact:

Re: Changing Subpixel default value

#3 Post by laure44 »

PyTom wrote: Sun Aug 14, 2022 9:41 pm

Code: Select all

style default:
    subpixel True
I'm considering making this the default.
Exactly what I was looking for, thank you!!

Post Reply

Who is online

Users browsing this forum: Google [Bot], Yone28