create-jsview 2.1.367-test.0 → 2.1.428
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/package.json +3 -3
- package/template-react-webpack/package-lock-json +6 -6
- package/template-react-webpack/package.json +2 -2
- package/template-vue-vite/.DS_Store +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/1.54c7645a.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/1.5dc15599.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/1280x7200.f72b317a.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/2.c46fde4a.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/2.df10a8ad.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/3.920d6934.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/3.dd39d2bc.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/4.4cd633a0.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/4.f58de085.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/Couplets.22a8bcb3.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/Square.2085a1e3.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/animated_webp.df116064.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/ball_3.6443240f.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg1.9dacd4a9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg2.05147169.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg3.4725410a.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg4.67998d21.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg5.e6aeb8ef.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg_btn.3bc67ce7.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bgimage.9ebd66c5.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bgmusic.bf797943.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/blue_egg.a2c54f95.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bmpDemo.e06bdb19.bmp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/boom.159be4de.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/border.32f99a05.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/btn_ok.a0827ed4.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coin.50aac2a4.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_left.c9f544cb.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_mid.ef262879.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_right.248ee7dc.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/egg_break.e01a800c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/fail.446dfd56.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/firecracker.bf5b0aa9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/fireworks.1c112f43.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/focus1.ff67f2e6.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/get.3509893a.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/girl_run.1c322b33.gif +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/goldencoin1.d31809e9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/goldencoin2.3f5b59d2.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/holder_logo.5d13253c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/icon.0d3ef206.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jpegDemo.ede7ed35.jpeg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jump.d2e172b2.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jump_down.68b45798.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jump_up.2f896dd9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/leadWire.0c2130df.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/light.fd536e0c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/light2.eac76425.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/line_left.36cc4bd9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/line_mid.21f25bbe.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/line_right.3a4bbae6.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/lose.86f51553.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/mask.c1211360.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/mathjax-tex-svg.d4295dc3.txt +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/php.9533a06f.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/php2.7e5cf392.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/pngNoAlphaDemo.8d9edc0f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/purpleStar.b1920ac5.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/quan.54556d84.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redCircle.091d191f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redStar.9c31bb42.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/red_egg.27ca7d39.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redpacket1.72196c20.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redpacket2.0ae89a46.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/resultSquare.b9e3527b.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/roll.aa0dfe6f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/run.b84383b2.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/scroll.c4efa5a1.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/scroll1.744c0b08.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/snow.22f35787.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/spark.50b3f017.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star1.dd634833.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star2.df352429.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star3.5a62b76f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star4.2283606c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/swipLight.ab6b2bc2.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/tease.3d7fb077.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/tease_lock.3602bb0d.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/test.671066bc.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/webpDemo.eb0b7786.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/yellowStar.d80f0718.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.0e83537d.css +6 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.10e9d05f.css +14 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.16cc5e4a.css +20 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.18bd653b.css +10 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.2943d6ec.css +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.329ae9f6.css +23 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.32c55297.css +8 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.3e2a4eb1.css +108 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.4ea37a27.css +39 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.54fdcefd.css +51 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.6406907b.css +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.643b5c1b.css +8 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.66f2f353.css +553 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.76117f77.css +21 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.7a70ea9d.css +20 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.7ee969c5.css +40 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8056ee27.css +144 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.81e870e8.css +16 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8a41b2c9.css +4 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8b7fc4be.css +21 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9acd4020.css +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9b8ef7c4.css +17 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9c2363fe.css +11 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9c9050df.css +10 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.a37ce6b4.css +78 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.acd46c9f.css +29 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.be6992f1.css +5 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.ce985162.css +37 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.cf0eea52.css +29 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.d80395de.css +76 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.dc17d9ed.css +355 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e25f7308.css +20 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e3998d69.css +10 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e864d83a.css +99 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.eea7c4d0.css +37 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.f7bae60e.css +24 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.fb916576.css +53 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.ff455e8a.css +23 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/DispersedItemSample.24d1e5c2.css +31 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/Homepage.6291bd50.css +60 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/HorizontalButtonList.f4192657.css +12 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/MainPage.7bafbf88.css +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/SubPage.e3029827.css +17 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/index.bc47ba9c.css +20 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/main.78821670.css +11 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/jsview-jsmap-serve.mjs +130 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-browser.min.24b59670.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-entry.280f04b1.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-native.min.0039079f.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-engine-js-browser.min.f40edc22.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.bfab260e.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.min.26efdcd1.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-loader.f9249ad3.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-vue-entry.415721d8.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/index.html +14 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.0020360a.js +141 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.073cedd6.js +399 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.0f963d38.js +95 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.11cde12f.js +344 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.121965ad.js +116 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.1575b8f0.js +200 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.21ff555f.js +455 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.29b9c765.js +383 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.34ff6b40.js +107 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.361be0b7.js +144 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.368006e4.js +431 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.36fc32c5.js +192 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.386a753e.js +259 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.3b0de676.js +321 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.3e808b09.js +92 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.40f6e609.js +97 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.539ee14e.js +331 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.55166fae.js +189 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.56200035.js +221 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5698ed0a.js +243 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5788a834.js +1675 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5a51ba28.js +788 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5db3be20.js +215 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5f895413.js +53 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5f95520c.js +320 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.64e2a47b.js +276 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.69ca326b.js +107 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.6f92a934.js +277 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.6fafe9e2.js +430 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7067dfe2.js +120 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.754fa30e.js +776 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7a63fc1e.js +240 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7b9d1275.js +447 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7bf78a71.js +89 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.832753e3.js +98 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.83b9bc1a.js +194 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.8473b928.js +568 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.85f0e26b.js +1342 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.8e86826b.js +502 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.94064c31.js +104 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.9625268d.js +173 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.96596f9f.js +119 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.977c745b.js +237 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.9e7fbf3c.js +122 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a059fc60.js +676 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a446bb49.js +369 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a485fc61.js +139 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a574bf96.js +122 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a58787a4.js +225 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a6e90b5c.js +614 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a6ef2ea5.js +241 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a82ae465.js +119 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ab97fadc.js +306 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.b8d07d60.js +68 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ba82ae89.js +731 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.c0fa704f.js +181 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ca457df6.js +193 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.cab5b11a.js +182 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ceb70fcc.js +395 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d1955c7b.js +139 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d35f431e.js +524 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d434d1bc.js +1201 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d9ea2537.js +172 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.dce9c295.js +209 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e06251fc.js +157 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e160a2dd.js +587 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e1d44beb.js +198 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e442e6e0.js +611 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e75db44d.js +257 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ebb89cc7.js +97 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.f5f253ec.js +143 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.f6a2ac1e.js +251 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App2.f586c86d.js +112 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.64639b51.js +112 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.vue.5e093f8c.js +130 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.8b0c8a0a.js +106 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.vue.7959bd77.js +124 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApicLib.14ef44a9.js +416 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.28bef0de.js +251 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.vue.b874d583.js +265 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.06fbda62.js +100 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.vue.f0cdb016.js +112 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.a6858caf.js +563 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.vue.8615ee65.js +575 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.fe21457d.js +139 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.vue.23eda6fd.js +146 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.727b4b8f.js +175 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.vue.8e2b3454.js +181 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.b126f2ae.js +57 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.vue.52301a81.js +70 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.e70349c2.js +315 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.vue.5426b5db.js +327 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/DispersedItemSample.9696c982.js +534 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/GifData.e5dd9fac.js +429 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/Homepage.d8afeb55.js +466 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/HorizontalButtonList.bbdbc725.js +160 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/MainPage.cff1e89b.js +57 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/SubPage.9633adf8.js +59 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/app.config.92148fde.js +18 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/export-sfc.2749ebea.js +23 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/index.32520aa9.js +938 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/index.56197146.js +2892 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/index.f76869d4.js +7522 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jpegDemo.ff177df5.js +7 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-browser.min.24b59670.js +1913 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-entry.280f04b1.js +76 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-native.min.0039079f.js +1487 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-engine-js-browser.min.f40edc22.js +10684 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.bfab260e.js +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.min.26efdcd1.js +97 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-loader.f9249ad3.js +238 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-vue-entry.415721d8.js +22233 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview.config.a8cf302c.js +49 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/main.bd759d7c.js +565 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.51a0d4f8.mjs +28 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.mjs +28 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/permission.88de599e.js +7 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/pngNoAlphaDemo.fbc58313.js +7 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/vue.889a9b8b.js +5382 -0
- package/template-vue-vite/dist-test-jsview-chunk/jsv-info.json +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/jsv-list.json +248 -0
- package/template-vue-vite/package-lock-json +6 -6
- package/template-vue-vite/package.json +2 -2
- package/template-vue-vite/src/permissionResult.tsx +5 -3
|
@@ -0,0 +1,1342 @@
|
|
|
1
|
+
import { J as JsvPreload, D as JsvSpriteAnim, C as _sfc_main$C, b as buildPreloadInfo, c as bridge, N as JsvSoundPool, B as JsvActorMoveControl, aa as createImpactAutoFroze, $ as createImpactTracer, a0 as createImpactCallback, ac as SpriteController } from "./jsview-vue-entry.415721d8.js";
|
|
2
|
+
import { i as inject, o as openBlock, e as createElementBlock, k as createVNode, u as unref, l as withCtx, I as withDirectives, J as vShow, f as createBaseVNode, g as normalizeStyle, s as shallowRef, F as Fragment, m as renderList, q as createCommentVNode, p as provide, a as ref, w as watch, t as onMounted, E as onBeforeUnmount, b as resolveComponent, A as createBlock, O as createTextVNode, G as toDisplayString } from "./vue.889a9b8b.js";
|
|
3
|
+
import { a as _export_sfc } from "./export-sfc.2749ebea.js";
|
|
4
|
+
import "./jsview-forge-define.bfab260e.js";
|
|
5
|
+
import "./jsview-dom-entry.280f04b1.js";
|
|
6
|
+
const frames$4 = [
|
|
7
|
+
{
|
|
8
|
+
filename: "1.png",
|
|
9
|
+
frame: {
|
|
10
|
+
x: 0,
|
|
11
|
+
y: 0,
|
|
12
|
+
w: 154,
|
|
13
|
+
h: 112
|
|
14
|
+
},
|
|
15
|
+
rotated: false,
|
|
16
|
+
trimmed: false,
|
|
17
|
+
spriteSourceSize: {
|
|
18
|
+
x: 0,
|
|
19
|
+
y: 0,
|
|
20
|
+
w: 154,
|
|
21
|
+
h: 112
|
|
22
|
+
},
|
|
23
|
+
sourceSize: {
|
|
24
|
+
w: 154,
|
|
25
|
+
h: 112
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
filename: "2.png",
|
|
30
|
+
frame: {
|
|
31
|
+
x: 154,
|
|
32
|
+
y: 0,
|
|
33
|
+
w: 154,
|
|
34
|
+
h: 112
|
|
35
|
+
},
|
|
36
|
+
rotated: false,
|
|
37
|
+
trimmed: false,
|
|
38
|
+
spriteSourceSize: {
|
|
39
|
+
x: 0,
|
|
40
|
+
y: 0,
|
|
41
|
+
w: 154,
|
|
42
|
+
h: 112
|
|
43
|
+
},
|
|
44
|
+
sourceSize: {
|
|
45
|
+
w: 154,
|
|
46
|
+
h: 112
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
filename: "3.png",
|
|
51
|
+
frame: {
|
|
52
|
+
x: 0,
|
|
53
|
+
y: 112,
|
|
54
|
+
w: 154,
|
|
55
|
+
h: 112
|
|
56
|
+
},
|
|
57
|
+
rotated: false,
|
|
58
|
+
trimmed: false,
|
|
59
|
+
spriteSourceSize: {
|
|
60
|
+
x: 0,
|
|
61
|
+
y: 0,
|
|
62
|
+
w: 154,
|
|
63
|
+
h: 112
|
|
64
|
+
},
|
|
65
|
+
sourceSize: {
|
|
66
|
+
w: 154,
|
|
67
|
+
h: 112
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
filename: "4.png",
|
|
72
|
+
frame: {
|
|
73
|
+
x: 154,
|
|
74
|
+
y: 112,
|
|
75
|
+
w: 154,
|
|
76
|
+
h: 112
|
|
77
|
+
},
|
|
78
|
+
rotated: false,
|
|
79
|
+
trimmed: false,
|
|
80
|
+
spriteSourceSize: {
|
|
81
|
+
x: 0,
|
|
82
|
+
y: 0,
|
|
83
|
+
w: 154,
|
|
84
|
+
h: 112
|
|
85
|
+
},
|
|
86
|
+
sourceSize: {
|
|
87
|
+
w: 154,
|
|
88
|
+
h: 112
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
];
|
|
92
|
+
const meta$4 = {
|
|
93
|
+
app: "http://www.texturepacker.com",
|
|
94
|
+
version: "1.0",
|
|
95
|
+
image: "fail.png",
|
|
96
|
+
format: "RGBA8888",
|
|
97
|
+
size: {
|
|
98
|
+
w: 308,
|
|
99
|
+
h: 224
|
|
100
|
+
},
|
|
101
|
+
scale: "1",
|
|
102
|
+
smartupdate: "$TexturePacker:SmartUpdate:44519538b3a9873cd0d16979a0037991$"
|
|
103
|
+
};
|
|
104
|
+
const fail_json = {
|
|
105
|
+
frames: frames$4,
|
|
106
|
+
meta: meta$4
|
|
107
|
+
};
|
|
108
|
+
const fail_png = "" + new URL("../assets/fail.446dfd56.png", import.meta.url).href;
|
|
109
|
+
const frames$3 = [
|
|
110
|
+
{
|
|
111
|
+
filename: "1.png",
|
|
112
|
+
frame: {
|
|
113
|
+
x: 0,
|
|
114
|
+
y: 0,
|
|
115
|
+
w: 154,
|
|
116
|
+
h: 112
|
|
117
|
+
},
|
|
118
|
+
rotated: false,
|
|
119
|
+
trimmed: false,
|
|
120
|
+
spriteSourceSize: {
|
|
121
|
+
x: 0,
|
|
122
|
+
y: 0,
|
|
123
|
+
w: 154,
|
|
124
|
+
h: 112
|
|
125
|
+
},
|
|
126
|
+
sourceSize: {
|
|
127
|
+
w: 154,
|
|
128
|
+
h: 112
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
filename: "2.png",
|
|
133
|
+
frame: {
|
|
134
|
+
x: 154,
|
|
135
|
+
y: 0,
|
|
136
|
+
w: 154,
|
|
137
|
+
h: 112
|
|
138
|
+
},
|
|
139
|
+
rotated: false,
|
|
140
|
+
trimmed: false,
|
|
141
|
+
spriteSourceSize: {
|
|
142
|
+
x: 0,
|
|
143
|
+
y: 0,
|
|
144
|
+
w: 154,
|
|
145
|
+
h: 112
|
|
146
|
+
},
|
|
147
|
+
sourceSize: {
|
|
148
|
+
w: 154,
|
|
149
|
+
h: 112
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
filename: "3.png",
|
|
154
|
+
frame: {
|
|
155
|
+
x: 0,
|
|
156
|
+
y: 112,
|
|
157
|
+
w: 154,
|
|
158
|
+
h: 112
|
|
159
|
+
},
|
|
160
|
+
rotated: false,
|
|
161
|
+
trimmed: false,
|
|
162
|
+
spriteSourceSize: {
|
|
163
|
+
x: 0,
|
|
164
|
+
y: 0,
|
|
165
|
+
w: 154,
|
|
166
|
+
h: 112
|
|
167
|
+
},
|
|
168
|
+
sourceSize: {
|
|
169
|
+
w: 154,
|
|
170
|
+
h: 112
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
filename: "4.png",
|
|
175
|
+
frame: {
|
|
176
|
+
x: 154,
|
|
177
|
+
y: 112,
|
|
178
|
+
w: 154,
|
|
179
|
+
h: 112
|
|
180
|
+
},
|
|
181
|
+
rotated: false,
|
|
182
|
+
trimmed: false,
|
|
183
|
+
spriteSourceSize: {
|
|
184
|
+
x: 0,
|
|
185
|
+
y: 0,
|
|
186
|
+
w: 154,
|
|
187
|
+
h: 112
|
|
188
|
+
},
|
|
189
|
+
sourceSize: {
|
|
190
|
+
w: 154,
|
|
191
|
+
h: 112
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
];
|
|
195
|
+
const meta$3 = {
|
|
196
|
+
app: "http://www.texturepacker.com",
|
|
197
|
+
version: "1.0",
|
|
198
|
+
image: "roll.png",
|
|
199
|
+
format: "RGBA8888",
|
|
200
|
+
size: {
|
|
201
|
+
w: 308,
|
|
202
|
+
h: 224
|
|
203
|
+
},
|
|
204
|
+
scale: "1",
|
|
205
|
+
smartupdate: "$TexturePacker:SmartUpdate:6a43ab2eec0ad9894ba8d16f6312c57d$"
|
|
206
|
+
};
|
|
207
|
+
const roll_json = {
|
|
208
|
+
frames: frames$3,
|
|
209
|
+
meta: meta$3
|
|
210
|
+
};
|
|
211
|
+
const roll_png = "" + new URL("../assets/roll.aa0dfe6f.png", import.meta.url).href;
|
|
212
|
+
const frames$2 = [
|
|
213
|
+
{
|
|
214
|
+
filename: "5.png",
|
|
215
|
+
frame: {
|
|
216
|
+
x: 0,
|
|
217
|
+
y: 0,
|
|
218
|
+
w: 154,
|
|
219
|
+
h: 112
|
|
220
|
+
},
|
|
221
|
+
rotated: false,
|
|
222
|
+
trimmed: false,
|
|
223
|
+
spriteSourceSize: {
|
|
224
|
+
x: 0,
|
|
225
|
+
y: 0,
|
|
226
|
+
w: 154,
|
|
227
|
+
h: 112
|
|
228
|
+
},
|
|
229
|
+
sourceSize: {
|
|
230
|
+
w: 154,
|
|
231
|
+
h: 112
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
];
|
|
235
|
+
const meta$2 = {
|
|
236
|
+
app: "http://www.texturepacker.com",
|
|
237
|
+
version: "1.0",
|
|
238
|
+
image: "jump_down.png",
|
|
239
|
+
format: "RGBA8888",
|
|
240
|
+
size: {
|
|
241
|
+
w: 154,
|
|
242
|
+
h: 112
|
|
243
|
+
},
|
|
244
|
+
scale: "1",
|
|
245
|
+
smartupdate: "$TexturePacker:SmartUpdate:9728b77a05eee5f78b6fb375d523d989$"
|
|
246
|
+
};
|
|
247
|
+
const jumpDown_json = {
|
|
248
|
+
frames: frames$2,
|
|
249
|
+
meta: meta$2
|
|
250
|
+
};
|
|
251
|
+
const jumpDown_png = "" + new URL("../assets/jump_down.68b45798.png", import.meta.url).href;
|
|
252
|
+
const frames$1 = [
|
|
253
|
+
{
|
|
254
|
+
filename: "1.png",
|
|
255
|
+
frame: {
|
|
256
|
+
x: 0,
|
|
257
|
+
y: 0,
|
|
258
|
+
w: 154,
|
|
259
|
+
h: 112
|
|
260
|
+
},
|
|
261
|
+
rotated: false,
|
|
262
|
+
trimmed: false,
|
|
263
|
+
spriteSourceSize: {
|
|
264
|
+
x: 0,
|
|
265
|
+
y: 0,
|
|
266
|
+
w: 154,
|
|
267
|
+
h: 112
|
|
268
|
+
},
|
|
269
|
+
sourceSize: {
|
|
270
|
+
w: 154,
|
|
271
|
+
h: 112
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
filename: "2.png",
|
|
276
|
+
frame: {
|
|
277
|
+
x: 154,
|
|
278
|
+
y: 0,
|
|
279
|
+
w: 154,
|
|
280
|
+
h: 112
|
|
281
|
+
},
|
|
282
|
+
rotated: false,
|
|
283
|
+
trimmed: false,
|
|
284
|
+
spriteSourceSize: {
|
|
285
|
+
x: 0,
|
|
286
|
+
y: 0,
|
|
287
|
+
w: 154,
|
|
288
|
+
h: 112
|
|
289
|
+
},
|
|
290
|
+
sourceSize: {
|
|
291
|
+
w: 154,
|
|
292
|
+
h: 112
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
filename: "3.png",
|
|
297
|
+
frame: {
|
|
298
|
+
x: 0,
|
|
299
|
+
y: 112,
|
|
300
|
+
w: 154,
|
|
301
|
+
h: 112
|
|
302
|
+
},
|
|
303
|
+
rotated: false,
|
|
304
|
+
trimmed: false,
|
|
305
|
+
spriteSourceSize: {
|
|
306
|
+
x: 0,
|
|
307
|
+
y: 0,
|
|
308
|
+
w: 154,
|
|
309
|
+
h: 112
|
|
310
|
+
},
|
|
311
|
+
sourceSize: {
|
|
312
|
+
w: 154,
|
|
313
|
+
h: 112
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
filename: "4.png",
|
|
318
|
+
frame: {
|
|
319
|
+
x: 154,
|
|
320
|
+
y: 112,
|
|
321
|
+
w: 154,
|
|
322
|
+
h: 112
|
|
323
|
+
},
|
|
324
|
+
rotated: false,
|
|
325
|
+
trimmed: false,
|
|
326
|
+
spriteSourceSize: {
|
|
327
|
+
x: 0,
|
|
328
|
+
y: 0,
|
|
329
|
+
w: 154,
|
|
330
|
+
h: 112
|
|
331
|
+
},
|
|
332
|
+
sourceSize: {
|
|
333
|
+
w: 154,
|
|
334
|
+
h: 112
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
];
|
|
338
|
+
const meta$1 = {
|
|
339
|
+
app: "http://www.texturepacker.com",
|
|
340
|
+
version: "1.0",
|
|
341
|
+
image: "jump_up.png",
|
|
342
|
+
format: "RGBA8888",
|
|
343
|
+
size: {
|
|
344
|
+
w: 308,
|
|
345
|
+
h: 224
|
|
346
|
+
},
|
|
347
|
+
scale: "1",
|
|
348
|
+
smartupdate: "$TexturePacker:SmartUpdate:5c6da59e8456caf422003adf18575284$"
|
|
349
|
+
};
|
|
350
|
+
const jumpUp_json = {
|
|
351
|
+
frames: frames$1,
|
|
352
|
+
meta: meta$1
|
|
353
|
+
};
|
|
354
|
+
const jumpUp_png = "" + new URL("../assets/jump_up.2f896dd9.png", import.meta.url).href;
|
|
355
|
+
const frames = [
|
|
356
|
+
{
|
|
357
|
+
filename: "1.png",
|
|
358
|
+
frame: {
|
|
359
|
+
x: 0,
|
|
360
|
+
y: 0,
|
|
361
|
+
w: 154,
|
|
362
|
+
h: 112
|
|
363
|
+
},
|
|
364
|
+
rotated: false,
|
|
365
|
+
trimmed: false,
|
|
366
|
+
spriteSourceSize: {
|
|
367
|
+
x: 0,
|
|
368
|
+
y: 0,
|
|
369
|
+
w: 154,
|
|
370
|
+
h: 112
|
|
371
|
+
},
|
|
372
|
+
sourceSize: {
|
|
373
|
+
w: 154,
|
|
374
|
+
h: 112
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
filename: "2.png",
|
|
379
|
+
frame: {
|
|
380
|
+
x: 154,
|
|
381
|
+
y: 0,
|
|
382
|
+
w: 154,
|
|
383
|
+
h: 112
|
|
384
|
+
},
|
|
385
|
+
rotated: false,
|
|
386
|
+
trimmed: false,
|
|
387
|
+
spriteSourceSize: {
|
|
388
|
+
x: 0,
|
|
389
|
+
y: 0,
|
|
390
|
+
w: 154,
|
|
391
|
+
h: 112
|
|
392
|
+
},
|
|
393
|
+
sourceSize: {
|
|
394
|
+
w: 154,
|
|
395
|
+
h: 112
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
filename: "3.png",
|
|
400
|
+
frame: {
|
|
401
|
+
x: 308,
|
|
402
|
+
y: 0,
|
|
403
|
+
w: 154,
|
|
404
|
+
h: 112
|
|
405
|
+
},
|
|
406
|
+
rotated: false,
|
|
407
|
+
trimmed: false,
|
|
408
|
+
spriteSourceSize: {
|
|
409
|
+
x: 0,
|
|
410
|
+
y: 0,
|
|
411
|
+
w: 154,
|
|
412
|
+
h: 112
|
|
413
|
+
},
|
|
414
|
+
sourceSize: {
|
|
415
|
+
w: 154,
|
|
416
|
+
h: 112
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
filename: "4.png",
|
|
421
|
+
frame: {
|
|
422
|
+
x: 0,
|
|
423
|
+
y: 112,
|
|
424
|
+
w: 154,
|
|
425
|
+
h: 112
|
|
426
|
+
},
|
|
427
|
+
rotated: false,
|
|
428
|
+
trimmed: false,
|
|
429
|
+
spriteSourceSize: {
|
|
430
|
+
x: 0,
|
|
431
|
+
y: 0,
|
|
432
|
+
w: 154,
|
|
433
|
+
h: 112
|
|
434
|
+
},
|
|
435
|
+
sourceSize: {
|
|
436
|
+
w: 154,
|
|
437
|
+
h: 112
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
filename: "5.png",
|
|
442
|
+
frame: {
|
|
443
|
+
x: 154,
|
|
444
|
+
y: 112,
|
|
445
|
+
w: 154,
|
|
446
|
+
h: 112
|
|
447
|
+
},
|
|
448
|
+
rotated: false,
|
|
449
|
+
trimmed: false,
|
|
450
|
+
spriteSourceSize: {
|
|
451
|
+
x: 0,
|
|
452
|
+
y: 0,
|
|
453
|
+
w: 154,
|
|
454
|
+
h: 112
|
|
455
|
+
},
|
|
456
|
+
sourceSize: {
|
|
457
|
+
w: 154,
|
|
458
|
+
h: 112
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
];
|
|
462
|
+
const meta = {
|
|
463
|
+
app: "http://www.texturepacker.com",
|
|
464
|
+
version: "1.0",
|
|
465
|
+
image: "run.png",
|
|
466
|
+
format: "RGBA8888",
|
|
467
|
+
size: {
|
|
468
|
+
w: 462,
|
|
469
|
+
h: 224
|
|
470
|
+
},
|
|
471
|
+
scale: "1",
|
|
472
|
+
smartupdate: "$TexturePacker:SmartUpdate:444a5be59b33f66d1f4dacf466c293fd$"
|
|
473
|
+
};
|
|
474
|
+
const run_json = {
|
|
475
|
+
frames,
|
|
476
|
+
meta
|
|
477
|
+
};
|
|
478
|
+
const run_png = "" + new URL("../assets/run.b84383b2.png", import.meta.url).href;
|
|
479
|
+
const _formatInfo = (action_json) => {
|
|
480
|
+
const info = {
|
|
481
|
+
frames: [],
|
|
482
|
+
meta: {
|
|
483
|
+
size: action_json.meta.size
|
|
484
|
+
}
|
|
485
|
+
};
|
|
486
|
+
let frames_ref = info.frames;
|
|
487
|
+
let max_width = 0;
|
|
488
|
+
let max_height = 0;
|
|
489
|
+
for (let i = 0; i < action_json.frames.length; i++) {
|
|
490
|
+
const target = action_json.frames[i].spriteSourceSize;
|
|
491
|
+
frames_ref.push({
|
|
492
|
+
target,
|
|
493
|
+
source: action_json.frames[i].frame
|
|
494
|
+
});
|
|
495
|
+
const sprite_with = target.x + target.w;
|
|
496
|
+
const sprite_height = target.y + target.h;
|
|
497
|
+
if (sprite_with > max_width) {
|
|
498
|
+
max_width = sprite_with;
|
|
499
|
+
}
|
|
500
|
+
if (sprite_height > max_height) {
|
|
501
|
+
max_height = sprite_height;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
return { info, maxW: max_width, maxH: max_height };
|
|
505
|
+
};
|
|
506
|
+
const jsonObject = {
|
|
507
|
+
fail_json,
|
|
508
|
+
roll_json,
|
|
509
|
+
jumpDown_json,
|
|
510
|
+
jumpUp_json,
|
|
511
|
+
run_json
|
|
512
|
+
};
|
|
513
|
+
const pngObject = {
|
|
514
|
+
fail_png,
|
|
515
|
+
roll_png,
|
|
516
|
+
jumpDown_png,
|
|
517
|
+
jumpUp_png,
|
|
518
|
+
run_png
|
|
519
|
+
};
|
|
520
|
+
const _sfc_main$3 = {
|
|
521
|
+
__name: "Matchman",
|
|
522
|
+
setup(__props) {
|
|
523
|
+
const preload_info = [buildPreloadInfo(pngObject.fail_png), buildPreloadInfo(pngObject.roll_png), buildPreloadInfo(pngObject.jumpDown_png), buildPreloadInfo(pngObject.jumpUp_png), buildPreloadInfo(pngObject.run_png)];
|
|
524
|
+
let verticalControl = inject("verticalControl");
|
|
525
|
+
let body = inject("body");
|
|
526
|
+
let head = inject("head");
|
|
527
|
+
let ischange = inject("ischange");
|
|
528
|
+
const onAnimEnd = inject("onAnimEnd");
|
|
529
|
+
let view_size = inject("view_size");
|
|
530
|
+
let match = inject("match");
|
|
531
|
+
let isrun = inject("isrun");
|
|
532
|
+
let isroll = inject("isroll");
|
|
533
|
+
let isdown = inject("isdown");
|
|
534
|
+
let isjump = inject("isjump");
|
|
535
|
+
let isover = inject("isover");
|
|
536
|
+
const spriteController_run = inject("spriteController_run");
|
|
537
|
+
const spriteController_jump = inject("spriteController_jump");
|
|
538
|
+
const spriteController_down = inject("spriteController_down");
|
|
539
|
+
const spriteController_roll = inject("spriteController_roll");
|
|
540
|
+
const spriteController_fail = inject("spriteController_fail");
|
|
541
|
+
const sprite_info_run = _formatInfo(jsonObject.run_json);
|
|
542
|
+
const sprite_info_jumpUp = _formatInfo(jsonObject.jumpUp_json);
|
|
543
|
+
const sprite_info_jumpDown = _formatInfo(jsonObject.jumpDown_json);
|
|
544
|
+
const sprite_info_roll = _formatInfo(jsonObject.roll_json);
|
|
545
|
+
const sprite_info_fail = _formatInfo(jsonObject.fail_json);
|
|
546
|
+
return (_ctx, _cache) => {
|
|
547
|
+
return openBlock(), createElementBlock("div", null, [
|
|
548
|
+
createVNode(unref(JsvPreload), { preloadList: preload_info }),
|
|
549
|
+
createVNode(unref(_sfc_main$C), {
|
|
550
|
+
control: unref(verticalControl),
|
|
551
|
+
style: { top: 720 / 2 - 40, left: 50 },
|
|
552
|
+
ref_key: "match",
|
|
553
|
+
ref: match
|
|
554
|
+
}, {
|
|
555
|
+
default: withCtx(() => [
|
|
556
|
+
withDirectives(createVNode(unref(JsvSpriteAnim), {
|
|
557
|
+
spriteInfo: unref(sprite_info_run).info,
|
|
558
|
+
loop: "infinite",
|
|
559
|
+
viewSize: unref(view_size),
|
|
560
|
+
duration: 0.5,
|
|
561
|
+
autostart: true,
|
|
562
|
+
imageUrl: unref(pngObject).run_png,
|
|
563
|
+
controller: unref(spriteController_run)
|
|
564
|
+
}, null, 8, ["spriteInfo", "viewSize", "duration", "imageUrl", "controller"]), [
|
|
565
|
+
[vShow, unref(isrun)]
|
|
566
|
+
]),
|
|
567
|
+
withDirectives(createVNode(unref(JsvSpriteAnim), {
|
|
568
|
+
spriteInfo: unref(sprite_info_jumpUp).info,
|
|
569
|
+
loop: 1,
|
|
570
|
+
viewSize: unref(view_size),
|
|
571
|
+
duration: 0.6,
|
|
572
|
+
autostart: true,
|
|
573
|
+
imageUrl: unref(pngObject).jumpUp_png,
|
|
574
|
+
controller: unref(spriteController_jump)
|
|
575
|
+
}, null, 8, ["spriteInfo", "viewSize", "duration", "imageUrl", "controller"]), [
|
|
576
|
+
[vShow, unref(isjump)]
|
|
577
|
+
]),
|
|
578
|
+
withDirectives(createVNode(unref(JsvSpriteAnim), {
|
|
579
|
+
spriteInfo: unref(sprite_info_jumpDown).info,
|
|
580
|
+
loop: "infinite",
|
|
581
|
+
viewSize: unref(view_size),
|
|
582
|
+
duration: 1,
|
|
583
|
+
autostart: true,
|
|
584
|
+
imageUrl: unref(pngObject).jumpDown_png,
|
|
585
|
+
controller: unref(spriteController_down)
|
|
586
|
+
}, null, 8, ["spriteInfo", "viewSize", "imageUrl", "controller"]), [
|
|
587
|
+
[vShow, unref(isdown)]
|
|
588
|
+
]),
|
|
589
|
+
withDirectives(createVNode(unref(JsvSpriteAnim), {
|
|
590
|
+
spriteInfo: unref(sprite_info_roll).info,
|
|
591
|
+
loop: 2,
|
|
592
|
+
viewSize: unref(view_size),
|
|
593
|
+
duration: 0.4,
|
|
594
|
+
autostart: true,
|
|
595
|
+
imageUrl: unref(pngObject).roll_png,
|
|
596
|
+
onAnimEnd: unref(onAnimEnd),
|
|
597
|
+
controller: unref(spriteController_roll)
|
|
598
|
+
}, null, 8, ["spriteInfo", "viewSize", "duration", "imageUrl", "onAnimEnd", "controller"]), [
|
|
599
|
+
[vShow, unref(isroll)]
|
|
600
|
+
]),
|
|
601
|
+
withDirectives(createVNode(unref(JsvSpriteAnim), {
|
|
602
|
+
spriteInfo: unref(sprite_info_fail).info,
|
|
603
|
+
loop: 1,
|
|
604
|
+
viewSize: unref(view_size),
|
|
605
|
+
duration: 0.6,
|
|
606
|
+
autostart: true,
|
|
607
|
+
imageUrl: unref(pngObject).fail_png,
|
|
608
|
+
controller: unref(spriteController_fail),
|
|
609
|
+
onAnimEnd: unref(onAnimEnd)
|
|
610
|
+
}, null, 8, ["spriteInfo", "viewSize", "duration", "imageUrl", "controller", "onAnimEnd"]), [
|
|
611
|
+
[vShow, unref(isover)]
|
|
612
|
+
]),
|
|
613
|
+
createBaseVNode("div", {
|
|
614
|
+
key: "body",
|
|
615
|
+
ref_key: "body",
|
|
616
|
+
ref: body,
|
|
617
|
+
style: normalizeStyle({
|
|
618
|
+
top: 60,
|
|
619
|
+
left: 70,
|
|
620
|
+
width: 20,
|
|
621
|
+
height: 50,
|
|
622
|
+
backgroundColor: "rgba(0,0,0,0)"
|
|
623
|
+
})
|
|
624
|
+
}, null, 4),
|
|
625
|
+
withDirectives(createBaseVNode("div", {
|
|
626
|
+
key: "head",
|
|
627
|
+
ref_key: "head",
|
|
628
|
+
ref: head,
|
|
629
|
+
style: normalizeStyle({
|
|
630
|
+
top: 20,
|
|
631
|
+
left: 70,
|
|
632
|
+
width: 20,
|
|
633
|
+
height: 40,
|
|
634
|
+
backgroundColor: "rgba(0,0,0,0)"
|
|
635
|
+
})
|
|
636
|
+
}, null, 4), [
|
|
637
|
+
[vShow, !unref(ischange)]
|
|
638
|
+
])
|
|
639
|
+
]),
|
|
640
|
+
_: 1
|
|
641
|
+
}, 8, ["control"])
|
|
642
|
+
]);
|
|
643
|
+
};
|
|
644
|
+
}
|
|
645
|
+
};
|
|
646
|
+
const bg1 = "" + new URL("../assets/bg1.9dacd4a9.png", import.meta.url).href;
|
|
647
|
+
const bg2 = "" + new URL("../assets/bg2.05147169.png", import.meta.url).href;
|
|
648
|
+
const bg3 = "" + new URL("../assets/bg3.4725410a.png", import.meta.url).href;
|
|
649
|
+
const bg4 = "" + new URL("../assets/bg4.67998d21.png", import.meta.url).href;
|
|
650
|
+
const bg5 = "" + new URL("../assets/bg5.e6aeb8ef.png", import.meta.url).href;
|
|
651
|
+
class Context {
|
|
652
|
+
constructor() {
|
|
653
|
+
this.left = shallowRef(0);
|
|
654
|
+
this.TopRef1 = shallowRef(null);
|
|
655
|
+
this.TopRef2 = shallowRef(null);
|
|
656
|
+
this.MidRef1 = shallowRef(null);
|
|
657
|
+
this.MidRef2 = shallowRef(null);
|
|
658
|
+
this.BottomRef1 = shallowRef(null);
|
|
659
|
+
this.BottomRef2 = shallowRef(null);
|
|
660
|
+
this.ObstacleRef1 = shallowRef(null);
|
|
661
|
+
this.ObstacleRef2 = shallowRef(null);
|
|
662
|
+
this.LeftRef1 = shallowRef(null);
|
|
663
|
+
this.LeftRef2 = shallowRef(null);
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
const bgArray = [bg1, bg2, bg3, bg4, bg5];
|
|
667
|
+
const randomBg = (bg, array) => {
|
|
668
|
+
array.value = [];
|
|
669
|
+
const randomIndex = Math.floor(Math.random() * bgArray.length);
|
|
670
|
+
bg.value = bgArray[randomIndex];
|
|
671
|
+
array.value.push(buildPreloadInfo(bg.value));
|
|
672
|
+
return bg;
|
|
673
|
+
};
|
|
674
|
+
let GameContext = new Context();
|
|
675
|
+
const gapWidth = 280;
|
|
676
|
+
const maxLength = 820;
|
|
677
|
+
const minLength = 600;
|
|
678
|
+
const randomFloor = (array) => {
|
|
679
|
+
for (let i = 0; i < 2; i++) {
|
|
680
|
+
const length = Math.floor(Math.random() * (maxLength - minLength + 1)) + minLength + gapWidth;
|
|
681
|
+
GameContext.left.value += length;
|
|
682
|
+
let top = shallowRef(0);
|
|
683
|
+
if (i !== 0) {
|
|
684
|
+
top.value = 500 - Math.floor(Math.random() * 180);
|
|
685
|
+
} else {
|
|
686
|
+
top.value = 500;
|
|
687
|
+
}
|
|
688
|
+
array.value.push({ length, left: GameContext.left.value, top: top.value });
|
|
689
|
+
}
|
|
690
|
+
array.value.forEach((item, index) => {
|
|
691
|
+
if (index == 0) {
|
|
692
|
+
item.left = 0;
|
|
693
|
+
} else {
|
|
694
|
+
item.left = array.value[index - 1].left + array.value[index - 1].length;
|
|
695
|
+
}
|
|
696
|
+
});
|
|
697
|
+
return array;
|
|
698
|
+
};
|
|
699
|
+
const _sfc_main$2 = {
|
|
700
|
+
__name: "Backdrop",
|
|
701
|
+
props: {
|
|
702
|
+
ArrayItem: Array,
|
|
703
|
+
bgImg: String,
|
|
704
|
+
preload_info: Array,
|
|
705
|
+
control: Object,
|
|
706
|
+
TopRef: null,
|
|
707
|
+
MidRef: null,
|
|
708
|
+
BottomRef: null,
|
|
709
|
+
ObstacleRef: null,
|
|
710
|
+
LeftRef: null
|
|
711
|
+
},
|
|
712
|
+
setup(__props) {
|
|
713
|
+
const props = __props;
|
|
714
|
+
const onPreloadDone = () => {
|
|
715
|
+
bridge.notifyPageLoaded();
|
|
716
|
+
};
|
|
717
|
+
return (_ctx, _cache) => {
|
|
718
|
+
return openBlock(), createElementBlock("div", null, [
|
|
719
|
+
createVNode(unref(JsvPreload), {
|
|
720
|
+
preloadList: props.preload_info,
|
|
721
|
+
onPreloadDone
|
|
722
|
+
}, null, 8, ["preloadList"]),
|
|
723
|
+
createVNode(unref(_sfc_main$C), {
|
|
724
|
+
style: normalizeStyle({ width: 1280 * 1.5, height: 720, backgroundImage: props.bgImg }),
|
|
725
|
+
control: props.control
|
|
726
|
+
}, {
|
|
727
|
+
default: withCtx(() => [
|
|
728
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(props.ArrayItem, (item, index) => {
|
|
729
|
+
return openBlock(), createElementBlock("div", {
|
|
730
|
+
style: normalizeStyle({
|
|
731
|
+
width: item.length - unref(gapWidth),
|
|
732
|
+
height: 30,
|
|
733
|
+
top: item.top,
|
|
734
|
+
left: item.left,
|
|
735
|
+
backgroundColor: "#FFFFFF"
|
|
736
|
+
})
|
|
737
|
+
}, [
|
|
738
|
+
index === 1 ? (openBlock(), createElementBlock("div", {
|
|
739
|
+
key: 0,
|
|
740
|
+
style: { width: 70, height: 70, top: -180, left: 400, backgroundColor: "#FF1213" },
|
|
741
|
+
ref_for: true,
|
|
742
|
+
ref: props.ObstacleRef
|
|
743
|
+
}, [
|
|
744
|
+
createBaseVNode("div", { style: { top: -50, left: 6, fontSize: 30, color: "#FFFFFF" } }, "双跳"),
|
|
745
|
+
createBaseVNode("div", { style: { top: 80, left: 6, fontSize: 30, color: "#FFFFFF" } }, "下滚")
|
|
746
|
+
], 512)) : createCommentVNode("", true),
|
|
747
|
+
createBaseVNode("div", {
|
|
748
|
+
style: normalizeStyle({ width: item.length - unref(gapWidth) + 10, height: 5, left: 0, top: -2, backgroundColor: "rgba(0, 0, 0, 0.5)" }),
|
|
749
|
+
ref_for: true,
|
|
750
|
+
ref: props.TopRef
|
|
751
|
+
}, null, 4),
|
|
752
|
+
createBaseVNode("div", {
|
|
753
|
+
style: normalizeStyle({ width: item.length - unref(gapWidth) + 4, height: 24, top: 6, left: -4, backgroundColor: "rgba(255, 255, 255, 0.5)" }),
|
|
754
|
+
ref_for: true,
|
|
755
|
+
ref: props.MidRef
|
|
756
|
+
}, null, 4),
|
|
757
|
+
createBaseVNode("div", {
|
|
758
|
+
style: normalizeStyle({ width: item.length - unref(gapWidth), height: 10, left: 0, top: 30, backgroundColor: "#000000" }),
|
|
759
|
+
ref_for: true,
|
|
760
|
+
ref: props.BottomRef
|
|
761
|
+
}, null, 4),
|
|
762
|
+
createBaseVNode("div", {
|
|
763
|
+
style: normalizeStyle({ width: 2, height: 10, left: 0, top: 15, backgroundColor: "rgba(0,0,255,0.5)" }),
|
|
764
|
+
ref_for: true,
|
|
765
|
+
ref: props.LeftRef
|
|
766
|
+
}, null, 4)
|
|
767
|
+
], 4);
|
|
768
|
+
}), 256))
|
|
769
|
+
]),
|
|
770
|
+
_: 1
|
|
771
|
+
}, 8, ["style", "control"])
|
|
772
|
+
]);
|
|
773
|
+
};
|
|
774
|
+
}
|
|
775
|
+
};
|
|
776
|
+
const jumpAudio = "" + new URL("../assets/jump.d2e172b2.mp3", import.meta.url).href;
|
|
777
|
+
const failAudio = "" + new URL("../assets/lose.86f51553.mp3", import.meta.url).href;
|
|
778
|
+
class Sound {
|
|
779
|
+
initSound() {
|
|
780
|
+
this.soundPool = new JsvSoundPool(10);
|
|
781
|
+
this.soundPool.request(
|
|
782
|
+
`url(${jumpAudio})`,
|
|
783
|
+
null,
|
|
784
|
+
1,
|
|
785
|
+
(state, audioController) => {
|
|
786
|
+
console.log("load jump audio ", state);
|
|
787
|
+
if (state === 0) {
|
|
788
|
+
Sound._AudioController1 = audioController;
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
);
|
|
792
|
+
this.soundPool.request(
|
|
793
|
+
`url(${failAudio})`,
|
|
794
|
+
null,
|
|
795
|
+
1,
|
|
796
|
+
(state, audioController) => {
|
|
797
|
+
console.log("load fail audio ", state);
|
|
798
|
+
if (state === 0) {
|
|
799
|
+
Sound._AudioController2 = audioController;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
);
|
|
803
|
+
}
|
|
804
|
+
playJumpSound() {
|
|
805
|
+
if (Sound._AudioController1) {
|
|
806
|
+
Sound._AudioController1.play();
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
playFailSound() {
|
|
810
|
+
if (Sound._AudioController2) {
|
|
811
|
+
Sound._AudioController2.play();
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
destroy() {
|
|
815
|
+
this.soundPool.destroy();
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
const GameSence_vue_vue_type_style_index_0_scoped_3e40352e_lang = "";
|
|
819
|
+
const _sfc_main$1 = {
|
|
820
|
+
__name: "GameSence",
|
|
821
|
+
setup(__props) {
|
|
822
|
+
const PlaySound = new Sound();
|
|
823
|
+
let match = shallowRef(null);
|
|
824
|
+
provide("match", match);
|
|
825
|
+
const verticalControl = new JsvActorMoveControl();
|
|
826
|
+
provide("verticalControl", verticalControl);
|
|
827
|
+
const spriteController_run = new SpriteController();
|
|
828
|
+
provide("spriteController_run", spriteController_run);
|
|
829
|
+
const spriteController_jump = new SpriteController();
|
|
830
|
+
provide("spriteController_jump", spriteController_jump);
|
|
831
|
+
const spriteController_down = new SpriteController();
|
|
832
|
+
provide("spriteController_down", spriteController_down);
|
|
833
|
+
const spriteController_roll = new SpriteController();
|
|
834
|
+
provide("spriteController_roll", spriteController_roll);
|
|
835
|
+
const spriteController_fail = new SpriteController();
|
|
836
|
+
provide("spriteController_fail", spriteController_fail);
|
|
837
|
+
let body = shallowRef(null);
|
|
838
|
+
provide("body", body);
|
|
839
|
+
let head = shallowRef(null);
|
|
840
|
+
provide("head", head);
|
|
841
|
+
let sprite_info = ref(_formatInfo(jsonObject.run_json));
|
|
842
|
+
provide("sprite_info", sprite_info);
|
|
843
|
+
const view_size = {
|
|
844
|
+
w: sprite_info.value.maxW,
|
|
845
|
+
h: sprite_info.value.maxH
|
|
846
|
+
};
|
|
847
|
+
provide("view_size", view_size);
|
|
848
|
+
let ischange = shallowRef(null);
|
|
849
|
+
provide("ischange", ischange);
|
|
850
|
+
let num = shallowRef(0);
|
|
851
|
+
let isjump = shallowRef(false);
|
|
852
|
+
provide("isjump", isjump);
|
|
853
|
+
let isroll = shallowRef(false);
|
|
854
|
+
provide("isroll", isroll);
|
|
855
|
+
let isrun = shallowRef(true);
|
|
856
|
+
provide("isrun", isrun);
|
|
857
|
+
let isdown = shallowRef(false);
|
|
858
|
+
provide("isdown", isdown);
|
|
859
|
+
let isover = shallowRef(false);
|
|
860
|
+
provide("isover", isover);
|
|
861
|
+
const onAnimEnd = () => {
|
|
862
|
+
ischange.value = false;
|
|
863
|
+
if (isjump.value) {
|
|
864
|
+
isroll.value = false;
|
|
865
|
+
isdown.value = false;
|
|
866
|
+
isrun.value = false;
|
|
867
|
+
num.value = 0;
|
|
868
|
+
} else if (!isover.value) {
|
|
869
|
+
isroll.value = false;
|
|
870
|
+
isdown.value = false;
|
|
871
|
+
isjump.value = false;
|
|
872
|
+
isrun.value = true;
|
|
873
|
+
num.value = 0;
|
|
874
|
+
} else {
|
|
875
|
+
isover.value = true;
|
|
876
|
+
isroll.value = false;
|
|
877
|
+
isdown.value = false;
|
|
878
|
+
isjump.value = false;
|
|
879
|
+
isrun.value = false;
|
|
880
|
+
}
|
|
881
|
+
};
|
|
882
|
+
provide("onAnimEnd", onAnimEnd);
|
|
883
|
+
const control1 = new JsvActorMoveControl();
|
|
884
|
+
const control2 = new JsvActorMoveControl();
|
|
885
|
+
let ArrayItem1 = ref([]);
|
|
886
|
+
let ArrayItem2 = ref([]);
|
|
887
|
+
let bgImg1 = shallowRef("");
|
|
888
|
+
let bgImg2 = shallowRef("");
|
|
889
|
+
const preload_info1 = shallowRef([]);
|
|
890
|
+
const preload_info2 = shallowRef([]);
|
|
891
|
+
randomFloor(ArrayItem1);
|
|
892
|
+
randomFloor(ArrayItem2);
|
|
893
|
+
randomBg(bgImg1, preload_info1);
|
|
894
|
+
randomBg(bgImg2, preload_info2);
|
|
895
|
+
let GameContext2 = new Context();
|
|
896
|
+
let bump = shallowRef(false);
|
|
897
|
+
let sensorList = [];
|
|
898
|
+
let viewsAutoFroze = null;
|
|
899
|
+
let flag1 = shallowRef(0);
|
|
900
|
+
let flag2 = shallowRef(0);
|
|
901
|
+
let SenceKey = inject("SenceKey");
|
|
902
|
+
const collisionCallback = () => {
|
|
903
|
+
if (!bump.value) {
|
|
904
|
+
if (!isroll.value) {
|
|
905
|
+
isrun.value = true;
|
|
906
|
+
isdown.value = false;
|
|
907
|
+
isjump.value = false;
|
|
908
|
+
isover.value = false;
|
|
909
|
+
num.value = 0;
|
|
910
|
+
}
|
|
911
|
+
} else {
|
|
912
|
+
isover.value = true;
|
|
913
|
+
isroll.value = false;
|
|
914
|
+
isrun.value = false;
|
|
915
|
+
isdown.value = false;
|
|
916
|
+
isjump.value = false;
|
|
917
|
+
num.value = 0;
|
|
918
|
+
}
|
|
919
|
+
};
|
|
920
|
+
const separate = () => {
|
|
921
|
+
if (!isjump.value) {
|
|
922
|
+
verticalControl.throwAlongY(
|
|
923
|
+
0,
|
|
924
|
+
4e3,
|
|
925
|
+
{ type: "catch", position: 300, direction: 1 },
|
|
926
|
+
() => {
|
|
927
|
+
gameOver();
|
|
928
|
+
},
|
|
929
|
+
// 未碰撞落地时,游戏结束
|
|
930
|
+
() => {
|
|
931
|
+
isdown.value = true;
|
|
932
|
+
isroll.value = false;
|
|
933
|
+
isrun.value = false;
|
|
934
|
+
isdown.value = false;
|
|
935
|
+
isjump.value = false;
|
|
936
|
+
isover.value = false;
|
|
937
|
+
}
|
|
938
|
+
// 到达拐点时调整成落下状态
|
|
939
|
+
);
|
|
940
|
+
}
|
|
941
|
+
};
|
|
942
|
+
const onKeyDown = (ev) => {
|
|
943
|
+
if (ev.keyCode == 8 || ev.keyCode == 27 || ev.keyCode == 1e4)
|
|
944
|
+
;
|
|
945
|
+
else if (isover.value) {
|
|
946
|
+
if (ev.keyCode == 13) {
|
|
947
|
+
SenceKey.value += 1;
|
|
948
|
+
} else {
|
|
949
|
+
return true;
|
|
950
|
+
}
|
|
951
|
+
} else if (ev.keyCode == 38 && num.value < 2) {
|
|
952
|
+
ischange.value = false;
|
|
953
|
+
isroll.value = false;
|
|
954
|
+
isjump.value = true;
|
|
955
|
+
isdown.value = false;
|
|
956
|
+
isrun.value = false;
|
|
957
|
+
isover.value = false;
|
|
958
|
+
num.value += 1;
|
|
959
|
+
verticalControl.throwAlongY(
|
|
960
|
+
-1e3,
|
|
961
|
+
2450,
|
|
962
|
+
{ type: "catch", position: 300, direction: 1 },
|
|
963
|
+
() => {
|
|
964
|
+
gameOver();
|
|
965
|
+
},
|
|
966
|
+
// 未碰撞落地时,游戏结束
|
|
967
|
+
() => {
|
|
968
|
+
isroll.value = false;
|
|
969
|
+
isrun.value = false;
|
|
970
|
+
isdown.value = true;
|
|
971
|
+
isjump.value = false;
|
|
972
|
+
isover.value = false;
|
|
973
|
+
}
|
|
974
|
+
// 到达拐点时调整成落下状态
|
|
975
|
+
);
|
|
976
|
+
PlaySound.playJumpSound();
|
|
977
|
+
} else if (ev.keyCode == 40) {
|
|
978
|
+
isroll.value = true;
|
|
979
|
+
isrun.value = false;
|
|
980
|
+
isdown.value = false;
|
|
981
|
+
isjump.value = false;
|
|
982
|
+
isover.value = false;
|
|
983
|
+
num.value = 0;
|
|
984
|
+
ischange.value = true;
|
|
985
|
+
spriteController_roll.start();
|
|
986
|
+
}
|
|
987
|
+
};
|
|
988
|
+
const gameOver = () => {
|
|
989
|
+
spriteController_fail.start();
|
|
990
|
+
isover.value = true;
|
|
991
|
+
isrun.value = false;
|
|
992
|
+
isdown.value = false;
|
|
993
|
+
isjump.value = false;
|
|
994
|
+
isroll.value = false;
|
|
995
|
+
num.value = 0;
|
|
996
|
+
PlaySound.playFailSound();
|
|
997
|
+
control1.pause();
|
|
998
|
+
control2.pause();
|
|
999
|
+
};
|
|
1000
|
+
const actionDefines = {
|
|
1001
|
+
onKeyDown
|
|
1002
|
+
};
|
|
1003
|
+
let speed = shallowRef(274);
|
|
1004
|
+
let isshow = shallowRef(true);
|
|
1005
|
+
const AnimEnd = () => {
|
|
1006
|
+
isshow.value = false;
|
|
1007
|
+
};
|
|
1008
|
+
watch(flag1, (n, o) => {
|
|
1009
|
+
if (n == 1) {
|
|
1010
|
+
isshow.value = true;
|
|
1011
|
+
speed.value = 640;
|
|
1012
|
+
control1.altStraightSpeed(640, 3e3);
|
|
1013
|
+
control2.altStraightSpeed(640, 3e3);
|
|
1014
|
+
ArrayItem1.value = [];
|
|
1015
|
+
randomFloor(ArrayItem1);
|
|
1016
|
+
} else if (n == 2) {
|
|
1017
|
+
ArrayItem1.value = [];
|
|
1018
|
+
}
|
|
1019
|
+
bgImg1.value = "";
|
|
1020
|
+
randomBg(bgImg1, preload_info1);
|
|
1021
|
+
});
|
|
1022
|
+
watch(flag2, (n, o) => {
|
|
1023
|
+
if (n == 1) {
|
|
1024
|
+
isshow.value = true;
|
|
1025
|
+
speed.value = 384;
|
|
1026
|
+
control1.altStraightSpeed(384, 3e3);
|
|
1027
|
+
control2.altStraightSpeed(384, 3e3);
|
|
1028
|
+
}
|
|
1029
|
+
ArrayItem2.value = [];
|
|
1030
|
+
randomFloor(ArrayItem2);
|
|
1031
|
+
bgImg2.value = "";
|
|
1032
|
+
randomBg(bgImg2, preload_info2);
|
|
1033
|
+
});
|
|
1034
|
+
onMounted(() => {
|
|
1035
|
+
PlaySound.initSound();
|
|
1036
|
+
verticalControl.throwAlongY(
|
|
1037
|
+
0,
|
|
1038
|
+
9e3,
|
|
1039
|
+
{ type: "catch", position: 300, direction: 1 },
|
|
1040
|
+
() => {
|
|
1041
|
+
gameOver();
|
|
1042
|
+
},
|
|
1043
|
+
() => {
|
|
1044
|
+
isroll.value = false;
|
|
1045
|
+
isrun.value = false;
|
|
1046
|
+
isdown.value = true;
|
|
1047
|
+
isjump.value = false;
|
|
1048
|
+
isover.value = false;
|
|
1049
|
+
num.value = 1;
|
|
1050
|
+
}
|
|
1051
|
+
);
|
|
1052
|
+
viewsAutoFroze = createImpactAutoFroze(
|
|
1053
|
+
[match.value.mainDiv],
|
|
1054
|
+
null
|
|
1055
|
+
);
|
|
1056
|
+
control1.scrollMoveAlongX(-1280 * 2 * 1.5, 274, 0, () => {
|
|
1057
|
+
flag1.value += 1;
|
|
1058
|
+
return true;
|
|
1059
|
+
});
|
|
1060
|
+
control2.scrollMoveAlongX(-1280 * 1.5, 274, 1280 * 1.5, () => {
|
|
1061
|
+
flag2.value += 1;
|
|
1062
|
+
return true;
|
|
1063
|
+
});
|
|
1064
|
+
for (let i = 0; i < 2; i++) {
|
|
1065
|
+
sensorList.push(
|
|
1066
|
+
createImpactTracer(
|
|
1067
|
+
body.value,
|
|
1068
|
+
GameContext2.TopRef1.value[i],
|
|
1069
|
+
createImpactCallback(() => {
|
|
1070
|
+
collisionCallback();
|
|
1071
|
+
}, () => {
|
|
1072
|
+
num.value = 1;
|
|
1073
|
+
separate();
|
|
1074
|
+
})
|
|
1075
|
+
)
|
|
1076
|
+
);
|
|
1077
|
+
sensorList.push(
|
|
1078
|
+
createImpactTracer(
|
|
1079
|
+
body.value,
|
|
1080
|
+
GameContext2.TopRef2.value[i],
|
|
1081
|
+
createImpactCallback(() => {
|
|
1082
|
+
collisionCallback();
|
|
1083
|
+
}, () => {
|
|
1084
|
+
num.value = 1;
|
|
1085
|
+
separate();
|
|
1086
|
+
})
|
|
1087
|
+
)
|
|
1088
|
+
);
|
|
1089
|
+
sensorList.push(
|
|
1090
|
+
createImpactTracer(
|
|
1091
|
+
body.value,
|
|
1092
|
+
GameContext2.MidRef1.value[i],
|
|
1093
|
+
createImpactCallback(() => {
|
|
1094
|
+
verticalControl.jumpTo(0, ArrayItem1.value[i].top - 320 - 50 - 40 - 20);
|
|
1095
|
+
collisionCallback();
|
|
1096
|
+
}, null),
|
|
1097
|
+
viewsAutoFroze
|
|
1098
|
+
)
|
|
1099
|
+
);
|
|
1100
|
+
sensorList.push(
|
|
1101
|
+
createImpactTracer(
|
|
1102
|
+
body.value,
|
|
1103
|
+
GameContext2.MidRef2.value[i],
|
|
1104
|
+
createImpactCallback(() => {
|
|
1105
|
+
verticalControl.jumpTo(0, ArrayItem2.value[i].top - 320 - 50 - 40 - 20);
|
|
1106
|
+
collisionCallback();
|
|
1107
|
+
}, null),
|
|
1108
|
+
viewsAutoFroze
|
|
1109
|
+
)
|
|
1110
|
+
);
|
|
1111
|
+
sensorList.push(
|
|
1112
|
+
createImpactTracer(
|
|
1113
|
+
body.value,
|
|
1114
|
+
GameContext2.BottomRef1.value[i],
|
|
1115
|
+
createImpactCallback(() => {
|
|
1116
|
+
if (isjump.value) {
|
|
1117
|
+
bump.value = true;
|
|
1118
|
+
gameOver();
|
|
1119
|
+
}
|
|
1120
|
+
}, null),
|
|
1121
|
+
viewsAutoFroze
|
|
1122
|
+
)
|
|
1123
|
+
);
|
|
1124
|
+
sensorList.push(
|
|
1125
|
+
createImpactTracer(
|
|
1126
|
+
head.value,
|
|
1127
|
+
GameContext2.BottomRef1.value[i],
|
|
1128
|
+
createImpactCallback(() => {
|
|
1129
|
+
if (isjump.value) {
|
|
1130
|
+
bump.value = true;
|
|
1131
|
+
gameOver();
|
|
1132
|
+
}
|
|
1133
|
+
}, null),
|
|
1134
|
+
viewsAutoFroze
|
|
1135
|
+
)
|
|
1136
|
+
);
|
|
1137
|
+
sensorList.push(
|
|
1138
|
+
createImpactTracer(
|
|
1139
|
+
body.value,
|
|
1140
|
+
GameContext2.BottomRef2.value[i],
|
|
1141
|
+
createImpactCallback(() => {
|
|
1142
|
+
if (isjump.value) {
|
|
1143
|
+
bump.value = true;
|
|
1144
|
+
gameOver();
|
|
1145
|
+
}
|
|
1146
|
+
}, null),
|
|
1147
|
+
viewsAutoFroze
|
|
1148
|
+
)
|
|
1149
|
+
);
|
|
1150
|
+
sensorList.push(
|
|
1151
|
+
createImpactTracer(
|
|
1152
|
+
head.value,
|
|
1153
|
+
GameContext2.BottomRef2.value[i],
|
|
1154
|
+
createImpactCallback(() => {
|
|
1155
|
+
if (isjump.value) {
|
|
1156
|
+
bump.value = true;
|
|
1157
|
+
gameOver();
|
|
1158
|
+
}
|
|
1159
|
+
}, null),
|
|
1160
|
+
viewsAutoFroze
|
|
1161
|
+
)
|
|
1162
|
+
);
|
|
1163
|
+
sensorList.push(
|
|
1164
|
+
createImpactTracer(
|
|
1165
|
+
body.value,
|
|
1166
|
+
GameContext2.LeftRef1.value[i],
|
|
1167
|
+
createImpactCallback(() => {
|
|
1168
|
+
bump.value = true;
|
|
1169
|
+
gameOver();
|
|
1170
|
+
}, null),
|
|
1171
|
+
viewsAutoFroze
|
|
1172
|
+
)
|
|
1173
|
+
);
|
|
1174
|
+
sensorList.push(
|
|
1175
|
+
createImpactTracer(
|
|
1176
|
+
head.value,
|
|
1177
|
+
GameContext2.LeftRef1.value[i],
|
|
1178
|
+
createImpactCallback(() => {
|
|
1179
|
+
bump.value = true;
|
|
1180
|
+
gameOver();
|
|
1181
|
+
}, null),
|
|
1182
|
+
viewsAutoFroze
|
|
1183
|
+
)
|
|
1184
|
+
);
|
|
1185
|
+
sensorList.push(
|
|
1186
|
+
createImpactTracer(
|
|
1187
|
+
body.value,
|
|
1188
|
+
GameContext2.LeftRef2.value[i],
|
|
1189
|
+
createImpactCallback(() => {
|
|
1190
|
+
bump.value = true;
|
|
1191
|
+
gameOver();
|
|
1192
|
+
}, null),
|
|
1193
|
+
viewsAutoFroze
|
|
1194
|
+
)
|
|
1195
|
+
);
|
|
1196
|
+
sensorList.push(
|
|
1197
|
+
createImpactTracer(
|
|
1198
|
+
head.value,
|
|
1199
|
+
GameContext2.LeftRef2.value[i],
|
|
1200
|
+
createImpactCallback(() => {
|
|
1201
|
+
bump.value = true;
|
|
1202
|
+
gameOver();
|
|
1203
|
+
}, null),
|
|
1204
|
+
viewsAutoFroze
|
|
1205
|
+
)
|
|
1206
|
+
);
|
|
1207
|
+
}
|
|
1208
|
+
sensorList.push(
|
|
1209
|
+
createImpactTracer(
|
|
1210
|
+
body.value,
|
|
1211
|
+
GameContext2.ObstacleRef1.value[0],
|
|
1212
|
+
createImpactCallback(() => {
|
|
1213
|
+
bump.value = true;
|
|
1214
|
+
gameOver();
|
|
1215
|
+
}, null),
|
|
1216
|
+
viewsAutoFroze
|
|
1217
|
+
)
|
|
1218
|
+
);
|
|
1219
|
+
sensorList.push(
|
|
1220
|
+
createImpactTracer(
|
|
1221
|
+
head.value,
|
|
1222
|
+
GameContext2.ObstacleRef1.value[0],
|
|
1223
|
+
createImpactCallback(() => {
|
|
1224
|
+
bump.value = true;
|
|
1225
|
+
gameOver();
|
|
1226
|
+
}, null),
|
|
1227
|
+
viewsAutoFroze
|
|
1228
|
+
)
|
|
1229
|
+
);
|
|
1230
|
+
sensorList.push(
|
|
1231
|
+
createImpactTracer(
|
|
1232
|
+
body.value,
|
|
1233
|
+
GameContext2.ObstacleRef2.value[0],
|
|
1234
|
+
createImpactCallback(() => {
|
|
1235
|
+
bump.value = true;
|
|
1236
|
+
gameOver();
|
|
1237
|
+
}, null),
|
|
1238
|
+
viewsAutoFroze
|
|
1239
|
+
)
|
|
1240
|
+
);
|
|
1241
|
+
sensorList.push(
|
|
1242
|
+
createImpactTracer(
|
|
1243
|
+
head.value,
|
|
1244
|
+
GameContext2.ObstacleRef2.value[0],
|
|
1245
|
+
createImpactCallback(() => {
|
|
1246
|
+
bump.value = true;
|
|
1247
|
+
gameOver();
|
|
1248
|
+
}, null),
|
|
1249
|
+
viewsAutoFroze
|
|
1250
|
+
)
|
|
1251
|
+
);
|
|
1252
|
+
});
|
|
1253
|
+
onBeforeUnmount(() => {
|
|
1254
|
+
for (const sensor of sensorList) {
|
|
1255
|
+
sensor.Recycle();
|
|
1256
|
+
}
|
|
1257
|
+
viewsAutoFroze?.Recycle();
|
|
1258
|
+
PlaySound.destroy();
|
|
1259
|
+
});
|
|
1260
|
+
return (_ctx, _cache) => {
|
|
1261
|
+
const _component_jsv_focus_block = resolveComponent("jsv-focus-block");
|
|
1262
|
+
return openBlock(), createBlock(_component_jsv_focus_block, {
|
|
1263
|
+
autoFocus: "",
|
|
1264
|
+
onAction: actionDefines
|
|
1265
|
+
}, {
|
|
1266
|
+
default: withCtx(() => [
|
|
1267
|
+
createVNode(_sfc_main$2, {
|
|
1268
|
+
control: unref(control1),
|
|
1269
|
+
ArrayItem: unref(ArrayItem1),
|
|
1270
|
+
bgImg: unref(bgImg1),
|
|
1271
|
+
preload_info: unref(preload_info1),
|
|
1272
|
+
TopRef: unref(GameContext2).TopRef1,
|
|
1273
|
+
MidRef: unref(GameContext2).MidRef1,
|
|
1274
|
+
BottomRef: unref(GameContext2).BottomRef1,
|
|
1275
|
+
ObstacleRef: unref(GameContext2).ObstacleRef1,
|
|
1276
|
+
style: normalizeStyle({ left: 1280 * 1.5 }),
|
|
1277
|
+
LeftRef: unref(GameContext2).LeftRef1
|
|
1278
|
+
}, null, 8, ["control", "ArrayItem", "bgImg", "preload_info", "TopRef", "MidRef", "BottomRef", "ObstacleRef", "style", "LeftRef"]),
|
|
1279
|
+
createVNode(_sfc_main$2, {
|
|
1280
|
+
control: unref(control2),
|
|
1281
|
+
ArrayItem: unref(ArrayItem2),
|
|
1282
|
+
bgImg: unref(bgImg2),
|
|
1283
|
+
preload_info: unref(preload_info2),
|
|
1284
|
+
TopRef: unref(GameContext2).TopRef2,
|
|
1285
|
+
MidRef: unref(GameContext2).MidRef2,
|
|
1286
|
+
BottomRef: unref(GameContext2).BottomRef2,
|
|
1287
|
+
ObstacleRef: unref(GameContext2).ObstacleRef2,
|
|
1288
|
+
LeftRef: unref(GameContext2).LeftRef2
|
|
1289
|
+
}, null, 8, ["control", "ArrayItem", "bgImg", "preload_info", "TopRef", "MidRef", "BottomRef", "ObstacleRef", "LeftRef"]),
|
|
1290
|
+
createVNode(_sfc_main$3),
|
|
1291
|
+
unref(isover) ? (openBlock(), createElementBlock("div", {
|
|
1292
|
+
key: 0,
|
|
1293
|
+
style: normalizeStyle({
|
|
1294
|
+
width: 460,
|
|
1295
|
+
height: 180,
|
|
1296
|
+
top: 280,
|
|
1297
|
+
left: 440 - 60,
|
|
1298
|
+
backgroundColor: "rgba(255, 255, 255, 0.8)",
|
|
1299
|
+
color: "#000000",
|
|
1300
|
+
fontSize: 50,
|
|
1301
|
+
textAlign: "center",
|
|
1302
|
+
borderRadius: 30
|
|
1303
|
+
})
|
|
1304
|
+
}, [
|
|
1305
|
+
createTextVNode("游戏结束 "),
|
|
1306
|
+
createBaseVNode("div", { style: {
|
|
1307
|
+
width: 460,
|
|
1308
|
+
height: 180,
|
|
1309
|
+
top: 90,
|
|
1310
|
+
left: 0
|
|
1311
|
+
} }, "按[OK]键重新开始")
|
|
1312
|
+
], 4)) : createCommentVNode("", true),
|
|
1313
|
+
unref(isshow) ? (openBlock(), createElementBlock("div", {
|
|
1314
|
+
key: 1,
|
|
1315
|
+
style: { width: 300, height: 50, color: "#FF1213", top: 40, left: 660, fontSize: 40, animation: "show 2s ease-in-out" },
|
|
1316
|
+
onAnimationend: AnimEnd
|
|
1317
|
+
}, " 当前速度:" + toDisplayString(unref(speed)), 33)) : createCommentVNode("", true)
|
|
1318
|
+
]),
|
|
1319
|
+
_: 1
|
|
1320
|
+
});
|
|
1321
|
+
};
|
|
1322
|
+
}
|
|
1323
|
+
};
|
|
1324
|
+
const styleSheetsContent = { "0": { "show-3e40352e": "@keyframes show-3e40352e {from{transform:scale3d(1, 1, 1);opacity:1;}to{transform:scale3d(1.2, 1.2, 1.2);opacity:0;}}" } };
|
|
1325
|
+
window.JsvCode.Dom.DeclareStyleSheets(styleSheetsContent);
|
|
1326
|
+
const GameSence = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-3e40352e"]]);
|
|
1327
|
+
const _sfc_main = {
|
|
1328
|
+
__name: "App",
|
|
1329
|
+
setup(__props) {
|
|
1330
|
+
let SenceKey = shallowRef(0);
|
|
1331
|
+
provide("SenceKey", SenceKey);
|
|
1332
|
+
return (_ctx, _cache) => {
|
|
1333
|
+
return openBlock(), createBlock(GameSence, { key: unref(SenceKey) });
|
|
1334
|
+
};
|
|
1335
|
+
}
|
|
1336
|
+
};
|
|
1337
|
+
export {
|
|
1338
|
+
_sfc_main as default
|
|
1339
|
+
};
|
|
1340
|
+
//# sourceMappingURL=http://localhost:57245/map/App.85f0e26b.js.map
|
|
1341
|
+
|
|
1342
|
+
/*jsvmd5:b69241fae870fe762c81700eaee01683*/
|