I downloaded this GUI template because I like how the display is in a small frame:
I saw this thread about layers that seems helpful: viewtopic.php?f=8&t=20699
But the problem is I don't actually understand how to work with the layers. Can someone explain how it works to me better?
I've already looked at the Tutorial game, and I'm still confused. Do I have to say "show image onlayer" each time? Because that seems very inconvenient...
But unfortunately the framed BG is just an image. If I add sprite, it will break the frame. I will have to crop the sprite with Photoshop and stuff to fit the frame. Displaying game scene in a small frame?
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.
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.
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: Displaying game scene in a small frame?
I'm not sure if there is a way to automatically assign sprites to a layer...
I don't know if that template you downloaded has that scene as the main layer or not because on mine, it's the main layer and my sprites are automatically cropped into it without using onlayer.
For example, this is my master layer configured to clip:
I don't know if that template you downloaded has that scene as the main layer or not because on mine, it's the main layer and my sprites are automatically cropped into it without using onlayer.
For example, this is my master layer configured to clip:
Code: Select all
config.layer_clipping['master'] = (15, 113, 1678, 948)
Re: Displaying game scene in a small frame?
Oh, it's very easy indeed.
Just turn the whole frame as your dialogue window and have it naturally be all hover your bg and sprites!
You just need to be carefull for the dialogue window to participate in transitions and being shown when no dialogues occur, but is very easy to do with a "window show" declaration.
Just turn the whole frame as your dialogue window and have it naturally be all hover your bg and sprites!
You just need to be carefull for the dialogue window to participate in transitions and being shown when no dialogues occur, but is very easy to do with a "window show" declaration.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
Who is online
Users browsing this forum: Google [Bot]