Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 84

aquila198
buzztouch Evangelist
Profile
Posts: 473
Reg: Jul 22, 2011
location unknow...
10,330
07/12/14 09:08 PM (9 years ago)

Flappy Bird Clone plugin: Swapping out sounds [error]

I interrupt your regularly scheduled Saturday to ask a question: Using any of the plugins [with sound], as you were customizing them (graphics, etc), when you went to customize the sound, did it work? Here's whats going on: 1) Love the Flappy Bird Plugin (thanks Macimack)! 2) I've got it looking like I want it to. Now, I wanted to change the 'wind.mp3' with my own. It's a fog-horn, and the name of the mp3 is 'wind.mp3' 3) I removed the previous one, put my version in the plugin folder, and then added it to xcode 4) I deleted the previous 'wind.mp3' Then I ran the app. {the plot thickens} It stopped working. Gave me several errors:[this being the main one] ML_Flappybird: viewDidLoad (super) 2014-07-12 23:53:32.016 BOATAPP[350:60b] *** Terminating app due to uncaught exception 'Failed to Load Resource', reason: 'Resource wind.mp3 can not be loaded' *** First throw call stack: (0x3007fecb 0x3a81ace7 0x3007fe0d 0x327c6c55 0x3277f8f1 0x4e4cd 0x4e39f 0x32792679 0x4c5f9 0x328b5a33 0x328b57f1 0x32a41bf3 0x3295f46f 0x3295f279 0x3295f211 0x328b12e5 0x3252d31b 0x32528b3f 0x325289d1 0x325283e5 0x325281f7 0x328b499f 0x3004afaf 0x3004a477 0x30048c67 0x2ffb3729 0x2ffb350b 0x34f226d3 0x32914871 0x55d25 0x3ad18ab7) libc++abi.dylib: terminating with uncaught exception of type NSException i made this mp3 on garage band. (Perhaps that's my main issue). Any suggestion on 1) using something else to make the mp3 with? 2) configuring my current mp3 to eliminate the 'Failed to Load Resource', reason: 'Resource wind.mp3 can not be loaded' error thanks as always!
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/13/14 04:03 AM (9 years ago)
I use Garage Band quite often, and they adhere to MP3 standards; I wouldn't suspect Garage band. Remove and re-add the MP3 file. Ensure that it is 'copied' into the project, make sure the 'target' is your app and is selected. You'll want to see that dialog box asking you to confirm all this. Did it work before? Then it should work again. Despite the fact that you named your 'new' file to replace the old file, if you 'deleted' the old file, all references were removed, and will need to be reestablished. Cheers! -- Smug
 
aquila198
buzztouch Evangelist
Profile
Posts: 473
Reg: Jul 22, 2011
location unknow...
10,330
like
07/13/14 11:47 AM (9 years ago)
Thanks Smug! I'll give it a go (again) and see what happens. I had been adding the .mp3, and then removing the reference (to the old one). But, I'm not sure if I was paying attention to the target portion of the doc. I thought performing a simple change in .mp3 should be simple. Let's hope i can get through this one - Thanks again!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.