Reply to Re: playsound - 3D variable not working?
If you don't have an account, just leave the password field blank.
In response to the first point about argument 4 in playsound causing sound not to play - I just tested it in DinkHD, it worked for me.
It might be important to note, that repeat sound cannot be set to 1 when a sprite is defined in argument 4, otherwise, no sound will play. Repeat sound only seems to work when argument 4(int active sprite) is 0. I think it's always been this way, but for some reason is not mentioned in the DinkC Ref; I will update the ref to reflect this.
As for the sound glitch on the yellow crystal screen... I couldn't reproduce it on the latest PQ version currently aviailable on the DN, in the latest DinkHD. Although, when the game started I cheat warped to that screen just for the purpose of testing this, not sure if somehow an earlier screen that I didn't go through caused it but I doubt it. I can't hear any continuing spring sound when I enter the house using the stairs on that screen though.
It might be important to note, that repeat sound cannot be set to 1 when a sprite is defined in argument 4, otherwise, no sound will play. Repeat sound only seems to work when argument 4(int active sprite) is 0. I think it's always been this way, but for some reason is not mentioned in the DinkC Ref; I will update the ref to reflect this.
As for the sound glitch on the yellow crystal screen... I couldn't reproduce it on the latest PQ version currently aviailable on the DN, in the latest DinkHD. Although, when the game started I cheat warped to that screen just for the purpose of testing this, not sure if somehow an earlier screen that I didn't go through caused it but I doubt it. I can't hear any continuing spring sound when I enter the house using the stairs on that screen though.