Hey guys... congrats for this fun mini game ;) I wanted to ask you if you could give me a hint how you programmed the main functionality? I mean the way that the player can control the intensity and the value of the bars by moving the mouse? I develop with Renpy / Python and try to check if I could achieve something similar for my game.
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.)
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!