I have improved my audio system for dragging objects, so it only plays when you´re moving the window and not just by touching it, and finished adding the lerp implementation to the windows, I still gotta fix some bugs though, like the buttons from the windows making sound when hovered WHEN moving the windows too fast, I´m thinking I´ll disable their interactions when the window is grabbed.
I also made a very important change, to avoid creating duplicate script and to make my lerp actually work, I made the whole drag script into a class!
This way, each window manages itself and can store it’s last position for the lerp purpose, and I’m very proud of how it ended up looking and how it sounds, would’ve loved to be able to fix the bug where looping has a small pause between each loop, but maybe I’ll make the audio longer so it’s not AS noticeable, or it doesn’t happen as often!
With these changes, making new windows should be easy peasy :D
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.