Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'm not sure about RenPy, but the way I'm doing it is by getting the mouse position when the penetration starts, and then subtracting the start mouse position by current mouse position. This will return the offset. With the offset, I create another variable which I lerp to the real value, giving a smoother effect.

Progressing the bars is just using an absolute value of the offset, divided a bit to get a good speed.

If you use Python/RenPy, I would highly recommend trying out Godot. It's a little confusing for the first week or two, but Godot's GDScript is very similar to Python, and my experience with engine and language has been great overall. It's a pleasure to work with.

In my opinion, GDScript feels like a more "refined" Python. It's like Python with better typing and less confusing naming conventions (variables are defined with var before them, functions are called func instead of def, etc.)

(+1)

thank you for these details, I really appreciate it! I've heart so much good about Godot and certainly I'll give it a try - later - but I just got familiar with Renpy. For now I simply want to get my first game done before jumping to the next engine :) Would you mind telling me where in code you do that so I can try to translate it to Python / Renpy? If not it's okay... thank you very much for your open response!

I apologize for the delayed response, I'm not meaning to ignore, I've just been super busy lately. I'll keep this tab open, and when I get some time, I'll filter out the irrelevant code and send you what's relevant.

(+1)

thank you very much, I really appreciate it!