Music doesn't loop

Music doesn't loop
0.0 0

#1

Hello I have a iphone5s running ios v10.2 and i call playBackgroundMusic(music, true) and it doesn’t loop just stops at the end can someone help me thanx :slight_smile:


#2

There are a few audio fixes in the GitHub repo version. This was one of those fixes.


#3

ok thanx :slight_smile:


#4

so i should just clone the repo and download again?


#5

Clone v3 branch. Git submodule update and run download-deps


#6

git submodule update doesn’t work because it says “not a git repo”


#7

Change to running it inside the Cocos2d-x folder. That is the repo. Not the directory you cloned to


#8

Now that I downloaded cocos2d-x-3 cocos command doesn’t work anymore, what to do?
Thanx.


#9

It seemed like the tools/cocos2d-console/ was empty so I just copied and pasted that whole directory into my new cocos2d-x base. In addition the enviornment variables that were set to PATH were messed so I had to re-edit PATH
everything works now :slight_smile:


#10

You forgot to run the submodule update. If you do this console gets added.