I think I found your answer - using loadsound only with music in wav - nothing more advanced?
Then maybe check every few seconds for if the sound is still playing?
Then maybe check every few seconds for if the sound is still playing?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Kitty Hello on 2023-Apr-17
and you're using systempointer true, autopause false?
Quote from: bigsofty on 2023-Apr-07
I had problems with the INTEGER command iirc. It was producing weird rounding errors. I never liked how it rounded down from 0.9 to 0 either.
BTW, as long as you store a (floating point)number in an integer variable it will implicitly be cast to an integer so no need for direct casting.
I don't use GLBs RND function (I use my own) but doesn't that produce integers? If so then I don't think you need to use INTEGER at all in your code.
FUNCTION boxcollm:qx1%,qy1%,qs1%,qs2%,qx2%,qy2%,qs3%,qs4%
IF BOXCOLL( qx1+2,qy1+2,qs1-4,qs2-4,qx2+2,qy2+2,qs3-4,qs4-4)
RETURN 1
ENDIF
ENDFUNCTION