Music not playing and actors not showing up (only on Mac)?
Hey guys,
I've got some issues with the Mac version that don't occur in the Windows version that I'm hoping someone here can help me with.
The first is that my background music doesn't play. It works fine in Windows but not in the Mac version. Other sounds (such as button clicking sounds) work fine but just my background music doesn't.
Note; it's an mp3 file. Not sure if that would make a difference though since it works on Windows Gamesalad.
The second issue occurs when you lose a game and the game over screen shows up. The screen overlay thing pops up fine and so do some other actors that appear on top of it, but there are two buttons (restart and return to menu) which show up for a split-second and then disappear. They aren't just invisible because clicking where they should be will do nothing.
They appear perfectly on Windows as well just not in this one.
I have no idea why these are happening and any help will be greatly appreciated.
Thanks!
Daniel
Comments
Have you tried re-importing the mp3 file that isn't playing? After doing that, are you able to play (and hear) the sound in the Library? If so, what happens when you add a Play Music behavior with that sound selected to a new actor and add it to a scene and then test?
It's hard to know why your button actors are disappearing without seeing your rules. Are you changing their self.Color values, self.Image values, using Change Image or somehow moving or changing their position? Are you spawning actors on top of them that might be hiding them? Check Scene-->Layers-->[layer name] and make sure there aren't duplicate copies or actors you don't want in the layer.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks for the reply!
Yeah I have re-imported it to the library
I can play the sound but I can't hear it. But I don't think it plays. What I mean is that as soon as I click the little play button, it changes to the square stop button for less than a second and then goes back to the play button. I think something is wrong with that.
I've also tried converting the music file to a .ogg file and that gives the exact same results. Adding a Play Music thing doesn't play anything even though it should.
Not changing colour, image or position. They are disappearing almost instantly after the "Spawn Actor" functions are called. They are also on the top layer and there aren't any duplicates.
As I said before, this part works perfectly on Windows GameSalad so I don't think it's an error in my rules or anything like that.
Thanks,
Daniel