Hey everyone,
This is my first time trying to make a live composite model but I'm running into a snag and I can't seem to figure out where I'm going wrong.
Here is my composite code:
image novella basic = Composite(
(1280,720),
(0,0), "/images/characters/novellabody",
(0,0), "/images/characters/novellaarmsresting",
(0,0), "/images/characters/novellaclothesresting",
(0,0), "/images/characters/novellanecklace",
(0,0), "novella eyes blink",
(0,0), "/images/characters/novellamouthclosed",
(0,0), "/images/characters/novellaeyebrow",
(0,0), "/images/characters/novellaglasses",
(0,0), "/images/characters/novellahair",
)
and this is where all my images are being kept:
C:\Users\Plotbunny\Desktop\Visual Novels\Novella Live Introduction\game\images\characters
and this is what it looks like when I am trying to play the game:
https://ibb.co/8D2w2PD
Live Composite help
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.
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: Live Composite help
remove the leading / from the paths (and add the extension where applicable)
(0,0), "images/characters/novellamouthclosed.png",
(0,0), "images/characters/novellamouthclosed.png",
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
Re: Live Composite help
Thank you so much! This worked perfectly -
However, do you happen to know how to scale the live composite? She's a monster on the screen now and I need to scale her down dramatically but I'd hate to have to go through every layer and resize them. Is there a code work around I could use?
Re: Live Composite help
hi,
The code you provided declares your Composite image name as novella basic.
You can resize your image when you add it to your screen, like this :
Code: Select all
add "novella basic":
zoom 0.25
You can maybe use im.Scale, too, but I'm not sure if it works well with composites.
Who is online
Users browsing this forum: Google [Bot]