User Tools

Site Tools


background_music

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
background_music [2020/08/02 13:05]
pinupadmin old revision restored (2019/07/19 17:41)
background_music [2020/09/04 12:27] (current)
pinupadmin
Line 23: Line 23:
     PuPlayer.Init(15,"PinUPMenu");     PuPlayer.Init(15,"PinUPMenu");
     PuPlayer.setVolume(15,100);     PuPlayer.setVolume(15,100);
 +    PuPlayer.SetScreenex(15,0,0,0,0,2); //set to music only type display
 +    PuPlayer.hide(15);
     PuPlayer.play(15,"bgmusic.mp3","");     PuPlayer.play(15,"bgmusic.mp3","");
     }     }
 +
 </code> </code>
  
Line 44: Line 47:
  
     }     }
 +
 </code> </code>
  
 find function MenuReturn and just add the one line **PuPlayer.playresume(15);** at the end like this: find function MenuReturn and just add the one line **PuPlayer.playresume(15);** at the end like this:
 <code> <code>
 +
     function MenuReturn(pMsg) {     function MenuReturn(pMsg) {
     DOFStart();     DOFStart();
Line 59: Line 64:
     PuPlayer.playresume(15);     PuPlayer.playresume(15);
     }     }
 +
 </code> </code>
  
  
background_music.txt ยท Last modified: 2020/09/04 12:27 by pinupadmin