Help Me plz

Anything libgdx related goes here!

Help Me plz

Postby rvgobov » Tue May 07, 2019 12:03 pm

I am new in LibGdx. Could you help me
rainMusic=new Gdx.audio.newMusic(Gdx.files.internal("rain.mp3")); Cannot resolve simbol 'newMusic'
rvgobov
 
Posts: 2
Joined: Tue May 07, 2019 11:54 am

Re: Help Me plz

Postby dsgraham » Tue May 07, 2019 4:24 pm

Remove the new keyword.
rainMusic = Gdx.audio.newMusic(Gdx.files.internal("rain.mp3"));
Try out my game PixArt on Android Find it in the Gallery
dsgraham
 
Posts: 86
Joined: Mon Dec 22, 2014 9:28 pm

Re: Help Me plz

Postby rvgobov » Wed May 08, 2019 3:33 am

So many thanks !!!
rvgobov
 
Posts: 2
Joined: Tue May 07, 2019 11:54 am


Return to Libgdx

Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 1 guest