Fangames > Game Design
Super Sound Guide for YoSniper's Engine
pieceofcheese87:
when i change the case events to
case startRoom:
if filePlaying != 1 { filePlaying = 1;
if SS_IsHandleValid(bgm) = 1 { SS_FreeSound(bgm); }
bgm = SS_LoadSound('Music/title.ogg',1); SS_PlaySound(bgm); }
break;
it says "Unknown function or script: SS_IsHandleValid"
Wat am i doing wrong
Sephalos:
--- Quote from: pieceofcheese87 on July 16, 2013, 08:57:48 PM ---when i change the case events to
case startRoom:
if filePlaying != 1 { filePlaying = 1;
if SS_IsHandleValid(bgm) = 1 { SS_FreeSound(bgm); }
bgm = SS_LoadSound('Music/title.ogg',1); SS_PlaySound(bgm); }
break;
it says "Unknown function or script: SS_IsHandleValid"
Wat am i doing wrong
--- End quote ---
That's weird...
Make sure you have the version I linked in the thread and make sure you did all the above steps.
pieceofcheese87:
--- Quote from: Sephalos on July 16, 2013, 09:10:44 PM ---
--- Quote from: pieceofcheese87 on July 16, 2013, 08:57:48 PM ---when i change the case events to
case startRoom:
if filePlaying != 1 { filePlaying = 1;
if SS_IsHandleValid(bgm) = 1 { SS_FreeSound(bgm); }
bgm = SS_LoadSound('Music/title.ogg',1); SS_PlaySound(bgm); }
break;
it says "Unknown function or script: SS_IsHandleValid"
Wat am i doing wrong
--- End quote ---
That's weird...
Make sure you have the version I linked in the thread and make sure you did all the above steps.
--- End quote ---
I downloaded the SuperSound for Gamemaker 8.1 down further in the comments of the thread because people said the one in the OP didn't work for 8.1
Sephalos:
Try adding this line to the world create object also after SS_Init();
bgm = SS_LoadSound('Music/title.ogg',1);
pieceofcheese87:
--- Quote from: Sephalos on July 16, 2013, 09:17:44 PM ---Try adding this line to the world create object also after SS_Init();
bgm = SS_LoadSound('Music/title.ogg',1);
--- End quote ---
3 Questions:
Do I change 'Music/title.ogg' to the title of a song? I mean in the one you just told me to put in the world object.
How does that change the "Unknown script or function: SS_IsHandleValid"?
Are you telling me to switch to the original one in the link you posted?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version