worked on a few things~ some of the buttons in diary entry scenes weren’t hoverable. turns out, the didn’t have sprite textures loaded into the onready var
. then i had to manually reconnect signals to each script, i must have forgotten back when i first started working on this game lol.
and since all the bugs are fixed… i’m starting to add extra features to make the games even more cooler. since the player is a ghost i wanted to add a fade in fade out effect on the player to give it a more ghostly feel. i never thought i would be using actual math in this game, but i used a sin func TT, which is used to oscillate values between -1, 1, making it perfect for the ghost modulations even though i’m not planning to use -1 for opacity lol. i used var alpha = 0.95 + sin(ghost_t * 2.0) * 0.07 in called in the process() to update every frame. i didn’t want it to be TOO dramatic so i set the base value to 0.95 opacity of the ghost and let it vary from +- 0.07 from 0.95 opacity over a 2 second interval! lmk if you think this looks cool or i just make it less variation in opacity ^^ i’m thinking of adding this sin() to other areas to make things slightly scale or grow without having to rely on anim players, just to give the game a little more life :3
Log in to leave a comment