Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thanks for the offer! I’ve been working in the engine for about six months or so now, and I’ve become decently familiar with the scripting syntax. But layered image syntax is still giving me a headache.

Anyway, I opted to make a python function for this instead as I also want to keep track of what clothing slots are being worn, and write it on a single line of code.

Long story short, I’m using a dictionary and for loop to assemble the show statement dynamically with the transition, while also flipping True/False onto each clothing change.

An example use looks like this now:

    $ change_clothes(top=True, top_name=“Tshirt_1”)

Which is much easier for my peanut brain to handle.

Oh, that seems very nice! Definitely a more logic friendly result than base layered images.

I'm actually piggy-backing off of the layered image logic. But I wanted to be able to put conditionals in the script with different reactions or dialogue choices depending on what's being worn.

One issue I still haven't solved is preventing a new background image from hiding the layered image. For now, my workaround is to make the background the "base" layer with the character on top, but at some point I'll have to resolve that issue.

My prologue is more interactive fiction than visual novel. But I want future episodes to incorporate more than one character on the screen at a time, and for that I'll have figure out what I'm doing wrong with backgrounds.

In any cause ,your tutorial was invaluable to me getting layered images set up. I didn't even know they existed in Ren'py until your tutorial popped up in a google search.


Thank you!