So, I have another project I'll be working on in the future, and during my free time, I mess around with coding ideas that I'd like to use in it, so I've been building a template game to learn about it. My goal started off with just messing around with side images because I wanted to have a nicer looking dialogue box. In my journey, I discovered something with Ren'Py called LiveComposite. Essentially, the way it works, is that it combines multiple images together to make one image.
At first, I didn't really see the purpose in it. To me, it looked like a bunch of extra work in setting up the composite image through coding than me just saving each character image already built like I normally do. I mean, all I had to do was set up my image in Clip Studio, save it, insert a line of code into my script to call that image and BOOM!, I can use that image wherever I want. With LiveComposite, I have to call several images together at certain points to form one image, so it was several lines of code just to create that one image. So really, why would I use that? Well, think of it this way. If Spencer has five faces, five shirts and five pairs of shorts, that's 125 possible combinations for Spencer, meaning my folder is going to have 125 different images for Spencer. With LiveComposite, I have each of those different items saved as it's own image, so I'd only have 15 images there (then +1 for a base image). So a total of -16- images, as opposed to 125! I'll end up reducing the overall file size of my game with this method. On top of that, the way I code images into the script will be easier. I keep it really basic as it is, but with LiveComposite, it's going to make life even easier for me. If you're interested in learning more about it, check out this link from the Ren'Py forums. They do a great job showing off how it works! I'm in the process of changing up all of my images to work with this method. I cringe though, because I currently have a ton of different faces and clothing for certain characters, so it's going to be a long process of fixing it all how I want it. It's a great reason to clean up my files though!
3 Comments
Anon
7/25/2016 09:02:52 pm
Grats, you're getting some love on u18chan. https://u18chan.com/board/u18chan/gfur/topic/1102139
Reply
DyneWulf
7/25/2016 09:45:15 pm
Haha, thanks for letting me know about that! Really, I think it's cool to see people are developing a love for the characters and are enjoying what I've done so far.
Reply
Anonymouse
7/29/2016 08:37:26 pm
Yep, it's getting more attention now! :D Leave a Reply. |
Archives
July 2018
|