Wii Shopping Channel Browser Hacks Pt 2
Here is some additional code that will work in the Wii's Shopping Channel Browser. There are some additional sounds, music, and the code to get rid of the 'loading' widget:
<script>
//Init and Cleanup Browser 'Waiting'
var shop = new wiiShop();
function wiiStartWaiting()
{
if (shop != null && "beginWaiting" in shop) {
shop.beginWaiting();
}
}
function wiiStopWaiting()
{
if (shop != null && "endWaiting" in shop) {
shop.endWaiting();
}
}
shop.endWaiting();
//Init On Screen keyboard
var kbd = new wiiKeyboard();
kbd.call( 0, limitrow=1 );
//Init Sound
function playSE(id){
var snd = new wiiSound();
snd.playSE(id);
}
function playBGM(id){
var snd = new wiiSound();
snd.playBGM(id);
}
</script>
Textbox calls up on-screen keyboard:<br>
<input type="text" value=""><br><br>
Sounds:<br>
<input type="button" onclick="playSE(1)" value="slide">
<input type="button" onclick="playSE(2)" value="focus">
<input type="button" onclick="playSE(3)" value="decide">
<input type="button" onclick="playSE(4)" value="cancel">
<input type="button" onclick="playSE(5)" value="choose">
<input type="button" onclick="playSE(6)" value="error">
<input type="button" onclick="playSE(7)" value="addpoint">
<input type="button" onclick="playSE(8)" value="ok">
<input type="button" onclick="playSE(9)" value="jump">
<input type="button" onclick="playSE(10)" value="jump2">
<input type="button" onclick="playSE(11)" value="fireball">
<input type="button" onclick="playSE(12)" value="coin">
<input type="button" onclick="playSE(13)" value="bump">
<input type="button" onclick="playSE(14)" value="swim">
<input type="button" onclick="playSE(15)" value="connecting">
<input type="button" onclick="playSE(16)" value="wireless">
<br><br>
<input type="button" onclick="playBGM(1)" value="start music">
2 Comments:
i dont know a lot about code and all that, but where would u put that in at?
Hey cool blog and thanks for the info.
Thought you may be interested on some of my reviews also, we share the same interests it seems.
I did an AllPSPGames Review, a PSP Blender Review and a Satellite TV Elite Review.
Well enjoy and stop by and say hi sometime.
-Greg
Click Here to Post a Comment