Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 12    Views: 386

maverick96
Lost but trying
Profile
Posts: 174
Reg: Jan 22, 2014
Orlando
3,390
12/02/14 03:25 PM (9 years ago)

Match game sound effects/music

Anyone know if there is a way to add sound effects to game matches as well as background music for the Match game plugin?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
12/02/14 06:17 PM (9 years ago)
yes,ios or android?
 
maverick96
Lost but trying
Profile
Posts: 174
Reg: Jan 22, 2014
Orlando
3,390
like
12/02/14 06:28 PM (9 years ago)
Sorry. On iOS. I was wanting to add music at main menu and during game as well as sound effect when you get a match and when game ends. Also, is there a way to change the opacity of the background of the game screen so a background image can be seen? Thanks!
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
12/02/14 10:53 PM (9 years ago)
check this out (great site for learning ios)(I literally just googled this,been awhile): http://www.raywenderlich.com/69369/audio-tutorial-ios-playing-audio-programatically-2014-edition there is a way to change background. Im pretty sure you just change it in the settings of that screen of your app.If its not you just change the settings in the xib file when you download the project.If its done programmatically you just change the file name of the pic of one of files. I have purchased that plugin, but super tired right now and about to go to sleep.been up studying for finals.Im sure one of the other great members can help though if you dont figure it out(dont know how much experience you have developing apps). If not ill be back on here when I get off work. good luck!
 
maverick96
Lost but trying
Profile
Posts: 174
Reg: Jan 22, 2014
Orlando
3,390
like
12/03/14 07:21 AM (9 years ago)
The plugin is a html setup so no xib file. No rush but any help is appreciated. Still new to development but getting better! Thanks!
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
12/03/14 10:58 AM (9 years ago)
oh you're talking about chris1's plugin, not smugs concentration game right?Its in the apps setting in the control panel https://www.dropbox.com/s/eoy1gnm84u2hox3/dec3.png?dl=0
 
maverick96
Lost but trying
Profile
Posts: 174
Reg: Jan 22, 2014
Orlando
3,390
like
12/03/14 05:52 PM (9 years ago)
Yeah, sorry its chris's plugin. I did choose a background and it shows up but when the game pulls up it has a black background behind the pieces so it blocks out the added one. But I'll look again to see if I'm missing something.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
12/03/14 06:02 PM (9 years ago)
or you can change it in this file: cr_match3_game_ios.html
 
maverick96
Lost but trying
Profile
Posts: 174
Reg: Jan 22, 2014
Orlando
3,390
like
12/03/14 08:06 PM (9 years ago)
How can I change it to make the background either transparent or specify an image instead of the black? I see the part that says ".display area" with a "background-color: #333. Is there a different value I can put in to change this or am I barking up the wrong tree?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
12/03/14 08:18 PM (9 years ago)
yea somewhere close to that it says "background-image" if you want to make it an image
 
maverick96
Lost but trying
Profile
Posts: 174
Reg: Jan 22, 2014
Orlando
3,390
like
12/03/14 09:31 PM (9 years ago)
Ok, been messing around with it and still no luck getting the background image displayed. I've tried setting it via image and url in the control panel and I can briefly see it when game loads then the html file pops up and covers it. Been also working in Xcode and I can't get the background to change. I appreciate the help and any suggestions appreciated man. Thanks!
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
12/03/14 09:33 PM (9 years ago)
when i get a chance ill download one of my projects and see how've ive done it.or just pm yours if you want.either way
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/10/14 04:07 AM (9 years ago)
Because it is a full-screen HTML, might have to set the background image in the Body tag of the HTML file or in the CSS file. -- Niraj
 

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.