You are browsing as a guest. Sign up (or log in) to start making projects!

7h 53m 10s logged

Polishing and Suffering


Celestial capitalist is nearing it’s completion, so over the past week or so I’ve just been polishing everything. Fixing bugs, balancing minigames, and small changes that make the game less buggy. My friend @Ratseer has been working on a couple of these mechanics, including revamping a goofy tutorial blob I wrote.

Sound Effects


A big change to note was the sound effects, and this is where the suffering comes in. I had to make a global script with a button signal that each button would send, which would cause a sound to play. After a big of debugging, I hooked up pressing a button to the signal, and it worked. Almost.

The signal was sending, and it was telling the AudioStreamPlayer to play the sound, but for some reason it wasn’t. We testing using an input to play the sound, and that worked perfectly fine. I tried using another proxy function for no reason, and it didn’t work either. We even tried having both the input and the signal change the same variable to true, where the sound would play then it set to false again. This didn’t work. To this day, I’m not sure why nothing worked, and I’m not sure I’ll ever find out.

But it was fine, since we eventually just made a new global script and for some reason everything worked totally normally after that.

The image attached below depicts the setup we used for this coding conundrum.

Celestial Capitalist


Shrewdly developed by @Ratseer and @idi0cy.

0
6

Comments 0

No comments yet. Be the first!