So,if i make a background music play on start of layout,it plays on start of any layout,how can i make it play on a specific layout,so for example on main menu there is a background music playing,and then on level 1 there is different music...etc.?
Develop games in your browser. Powerful, performant & highly capable.
give the filenames the names of the layout and on start of layout
audio play (by name)
LayoutName
or
if layoutname = level1
audio play ...