pxt-arcade 1.9.6 → 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/sim.js +10 -2
- package/built/target.js +138 -138
- package/built/target.json +138 -138
- package/built/targetlight.json +5 -5
- package/docs/GameList.json +35 -0
- package/docs/hardware.md +5 -0
- package/docs/index-ref.json +1 -1
- package/docs/kiosk.html +1 -0
- package/docs/projects/SUMMARY.md +1 -0
- package/docs/static/hardware/shoebox.jpg +0 -0
- package/docs/static/kiosk/GameList.json +35 -0
- package/docs/static/kiosk/asset-manifest.json +15 -0
- package/docs/static/kiosk/index.html +1 -0
- package/docs/static/{game-modder → kiosk}/manifest.json +4 -3
- package/docs/static/{game-modder → kiosk}/robots.txt +1 -0
- package/docs/static/kiosk/static/css/main.dadee71f.css +2 -0
- package/docs/static/kiosk/static/css/main.dadee71f.css.map +1 -0
- package/docs/static/kiosk/static/js/787.709d397d.chunk.js +2 -0
- package/docs/static/kiosk/static/js/787.709d397d.chunk.js.map +1 -0
- package/docs/static/kiosk/static/js/main.9d5caf82.js +3 -0
- package/docs/static/kiosk/static/js/main.9d5caf82.js.LICENSE.txt +39 -0
- package/docs/static/kiosk/static/js/main.9d5caf82.js.map +1 -0
- package/docs/tutorials/paddle.md +27 -35
- package/package.json +4 -4
- package/docs/game-modder.html +0 -20
- package/docs/static/game-modder/asset-manifest.json +0 -15
- package/docs/static/game-modder/games/bunny_hop/bin.js +0 -1
- package/docs/static/game-modder/games/bunny_hop/main.blocks +0 -0
- package/docs/static/game-modder/games/bunny_hop/main.ts +0 -657
- package/docs/static/game-modder/games/bunny_hop/pxt.json +0 -21
- package/docs/static/game-modder/precache-manifest.d8fffe3740d7bbf4b871db6ede82abc0.js +0 -22
- package/docs/static/game-modder/static/css/main.d7cfe8e4.chunk.css +0 -11
- package/docs/static/game-modder/static/css/main.d7cfe8e4.chunk.css.map +0 -1
- package/docs/static/game-modder/static/js/2.32b899f4.chunk.js +0 -2
- package/docs/static/game-modder/static/js/2.32b899f4.chunk.js.map +0 -1
- package/docs/static/game-modder/static/js/main.02035978.chunk.js +0 -2
- package/docs/static/game-modder/static/js/main.02035978.chunk.js.map +0 -1
- package/docs/static/game-modder/static/js/runtime~main.e71818fc.js +0 -2
- package/docs/static/game-modder/static/js/runtime~main.e71818fc.js.map +0 -1
package/built/sim.js
CHANGED
|
@@ -415,8 +415,16 @@ var pxsim;
|
|
|
415
415
|
this.id = msg.id;
|
|
416
416
|
indicateFocus(document.hasFocus());
|
|
417
417
|
this.accelerometerState.attachEvents(document.body);
|
|
418
|
-
if (this.runOptions && this.runOptions.options
|
|
419
|
-
|
|
418
|
+
if (this.runOptions && this.runOptions.options) {
|
|
419
|
+
if (this.runOptions.options.mpRole) {
|
|
420
|
+
this.multiplayerState.init(this.runOptions.options.mpRole);
|
|
421
|
+
}
|
|
422
|
+
if (this.runOptions.options.hideSimButtons) {
|
|
423
|
+
const gamePlayer = document.getElementsByClassName("game-player");
|
|
424
|
+
if (gamePlayer && gamePlayer.length) {
|
|
425
|
+
gamePlayer[0].classList.add('just-screen');
|
|
426
|
+
}
|
|
427
|
+
}
|
|
420
428
|
}
|
|
421
429
|
this.updateStats();
|
|
422
430
|
return Promise.resolve();
|