Puddle Particle Bug Fix


Author: Charley Weaver

Last week, we encountered a minor bug regarding the particles coming off the wings while within our puddle obstacle. For some players, it would populate as expected, but for others, it would sporadically generate particles. Looking into the issue, it seemed the visibility cue was incorrectly placed. Originally, the toggle used to unhide the particles was within the butterfly itself. This caused some conflicting bool checks that spurred the issue at hand. 

With this in mind, I created a custom event in the butterfly for activating and inactivating the particles. This event could then be called by the puddles themselves. 



With the event being called within the puddles on overlap and "end of puddle effect" period, the particles generate as they should consistently. 


Leave a comment

Log in with itch.io to leave a comment.