webtalekit-alpha 0.2.10 → 0.2.13
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/.claude/settings.local.json +12 -0
- package/.clinerules +65 -0
- package/.history/README_20240812174230.md +193 -0
- package/.history/README_20240812175424.md +185 -0
- package/.history/README_20240812191012.md +185 -0
- package/.history/README_20240812191155.md +185 -0
- package/.history/README_20240812191211.md +185 -0
- package/.history/README_20240812192035.md +185 -0
- package/.history/dist/src/core/index_20240815021552.js +474 -0
- package/.history/dist/src/core/index_20240815022042.js +476 -0
- package/.history/dist/src/core/index_20240815022206.js +476 -0
- package/.history/dist/src/core/index_20240815023104.js +478 -0
- package/.history/dist/src/core/index_20240817022019.js +494 -0
- package/.history/dist/src/core/index_20240818013827.js +493 -0
- package/.history/dist/src/core/index_20240820001418.js +502 -0
- package/.history/package_20240812174230.json +45 -0
- package/.history/package_20240825011731.json +45 -0
- package/.history/package_20240825011739.json +44 -0
- package/.history/parser/parser_20240812174230.js +50 -0
- package/.history/parser/parser_20240825012739.js +47 -0
- package/.history/parser/parser_20240825012835.js +52 -0
- package/.history/src/core/drawer_20240813091343.ts +262 -0
- package/.history/src/core/drawer_20240815232345.ts +262 -0
- package/.history/src/core/drawer_20240815232350.ts +262 -0
- package/.history/src/core/drawer_20240816025257.ts +357 -0
- package/.history/src/core/drawer_20240816025358.ts +357 -0
- package/.history/src/core/drawer_20240816030148.ts +365 -0
- package/.history/src/core/drawer_20240816231033.ts +294 -0
- package/.history/src/core/drawer_20240816231107.ts +262 -0
- package/.history/src/core/drawer_20240816231234.ts +268 -0
- package/.history/src/core/drawer_20240817013836.ts +290 -0
- package/.history/src/core/drawer_20240817015150.ts +289 -0
- package/.history/src/core/drawer_20240817015353.ts +290 -0
- package/.history/src/core/drawer_20240817021254.ts +291 -0
- package/.history/src/core/drawer_20240817023440.ts +295 -0
- package/.history/src/core/drawer_20240817023445.ts +295 -0
- package/.history/src/core/drawer_20240818015327.ts +295 -0
- package/.history/src/core/drawer_20240819231006.ts +318 -0
- package/.history/src/core/drawer_20240820002829.ts +317 -0
- package/.history/src/core/drawer_20240820003141.ts +295 -0
- package/.history/src/core/drawer_20240824010043.ts +295 -0
- package/.history/src/core/drawer_20240825013311.ts +293 -0
- package/.history/src/core/drawer_20240902235257.ts +295 -0
- package/.history/src/core/drawer_20240904002038.ts +262 -0
- package/.history/src/core/drawer_20240904004020.ts +262 -0
- package/.history/src/core/drawer_20240904004238.ts +262 -0
- package/.history/src/core/drawer_20240904005648.ts +262 -0
- package/.history/src/core/drawer_20240904005808.ts +262 -0
- package/.history/src/core/drawer_20240904010523.ts +262 -0
- package/.history/src/core/drawer_20240904011611.ts +262 -0
- package/.history/src/core/drawer_20240904011740.ts +262 -0
- package/.history/src/core/index_20240812190102.js +443 -0
- package/.history/src/core/index_20240812190105.js +443 -0
- package/.history/src/core/index_20240812205421.js +452 -0
- package/.history/src/core/index_20240812213441.js +452 -0
- package/.history/src/core/index_20240812214203.js +453 -0
- package/.history/src/core/index_20240813090823.js +453 -0
- package/.history/src/core/index_20240813230449.js +452 -0
- package/.history/src/core/index_20240813230539.js +452 -0
- package/.history/src/core/index_20240813231447.js +453 -0
- package/.history/src/core/index_20240813231449.js +453 -0
- package/.history/src/core/index_20240813231511.js +453 -0
- package/.history/src/core/index_20240813231531.js +453 -0
- package/.history/src/core/index_20240813231913.js +453 -0
- package/.history/src/core/index_20240813232356.js +453 -0
- package/.history/src/core/index_20240813232640.js +453 -0
- package/.history/src/core/index_20240813232900.js +453 -0
- package/.history/src/core/index_20240814221127.js +454 -0
- package/.history/src/core/index_20240814221322.js +454 -0
- package/.history/src/core/index_20240814221526.js +454 -0
- package/.history/src/core/index_20240814222048.js +454 -0
- package/.history/src/core/index_20240814222918.js +459 -0
- package/.history/src/core/index_20240814223136.js +459 -0
- package/.history/src/core/index_20240814223501.js +464 -0
- package/.history/src/core/index_20240814224347.js +468 -0
- package/.history/src/core/index_20240815013712.js +474 -0
- package/.history/src/core/index_20240815021534.js +474 -0
- package/.history/src/core/index_20240815023143.js +477 -0
- package/.history/src/core/index_20240815023207.js +479 -0
- package/.history/src/core/index_20240815023344.js +481 -0
- package/.history/src/core/index_20240815035600.js +479 -0
- package/.history/src/core/index_20240815041549.js +480 -0
- package/.history/src/core/index_20240815185515.js +481 -0
- package/.history/src/core/index_20240815192158.js +481 -0
- package/.history/src/core/index_20240815222912.js +482 -0
- package/.history/src/core/index_20240815224052.js +483 -0
- package/.history/src/core/index_20240815224843.js +484 -0
- package/.history/src/core/index_20240815224850.js +483 -0
- package/.history/src/core/index_20240815231706.js +479 -0
- package/.history/src/core/index_20240816025748.js +483 -0
- package/.history/src/core/index_20240816030102.js +484 -0
- package/.history/src/core/index_20240817013329.js +485 -0
- package/.history/src/core/index_20240817013526.js +485 -0
- package/.history/src/core/index_20240817013819.js +488 -0
- package/.history/src/core/index_20240817013829.js +488 -0
- package/.history/src/core/index_20240817014921.js +494 -0
- package/.history/src/core/index_20240817022057.js +494 -0
- package/.history/src/core/index_20240817023316.js +493 -0
- package/.history/src/core/index_20240818005637.js +493 -0
- package/.history/src/core/index_20240818005721.js +493 -0
- package/.history/src/core/index_20240818011804.js +493 -0
- package/.history/src/core/index_20240818013835.js +493 -0
- package/.history/src/core/index_20240818014310.js +493 -0
- package/.history/src/core/index_20240818014323.js +493 -0
- package/.history/src/core/index_20240818014333.js +493 -0
- package/.history/src/core/index_20240818020725.js +496 -0
- package/.history/src/core/index_20240819195504.js +497 -0
- package/.history/src/core/index_20240819202012.js +495 -0
- package/.history/src/core/index_20240819231228.js +501 -0
- package/.history/src/core/index_20240819232555.js +502 -0
- package/.history/src/core/index_20240819233404.js +502 -0
- package/.history/src/core/index_20240820003114.js +495 -0
- package/.history/src/core/index_20240820003120.js +495 -0
- package/.history/src/core/index_20240820003331.js +495 -0
- package/.history/src/core/index_20240820004126.js +498 -0
- package/.history/src/core/index_20240820004357.js +497 -0
- package/.history/src/core/index_20240820005103.js +498 -0
- package/.history/src/core/index_20240820005110.js +499 -0
- package/.history/src/core/index_20240820005206.js +497 -0
- package/.history/src/core/index_20240820005352.js +497 -0
- package/{src/core/index.js → .history/src/core/index_20240823224904.ts} +75 -224
- package/.history/src/core/index_20240823224905.js +505 -0
- package/.history/src/core/index_20240823231631.ts +530 -0
- package/.history/src/core/index_20240823231735.ts +530 -0
- package/.history/src/core/index_20240823232123.ts +539 -0
- package/.history/src/core/index_20240823232329.ts +539 -0
- package/.history/src/core/index_20240823233058.ts +539 -0
- package/.history/src/core/index_20240823234946.ts +539 -0
- package/.history/src/core/index_20240824005956.ts +534 -0
- package/.history/src/core/index_20240824010113.ts +534 -0
- package/.history/src/core/index_20240824010124.ts +534 -0
- package/.history/src/core/index_20240824010212.ts +534 -0
- package/.history/src/core/index_20240824010218.ts +534 -0
- package/.history/src/core/index_20240824010407.ts +534 -0
- package/.history/src/core/index_20240824010611.ts +534 -0
- package/.history/src/core/index_20240824010623.ts +534 -0
- package/.history/src/core/index_20240824010652.ts +534 -0
- package/.history/src/core/index_20240824011007.ts +534 -0
- package/.history/src/core/index_20240824210450.ts +534 -0
- package/.history/src/core/index_20240824210703.ts +534 -0
- package/.history/src/core/index_20240824210708.ts +534 -0
- package/.history/src/core/index_20240824211001.ts +537 -0
- package/.history/src/core/index_20240824211258.ts +537 -0
- package/.history/src/core/index_20240824211654.ts +537 -0
- package/.history/src/core/index_20240824211723.ts +537 -0
- package/.history/src/core/index_20240824211808.ts +538 -0
- package/.history/src/core/index_20240824214041.js +538 -0
- package/.history/src/core/index_20240824215312.ts +538 -0
- package/.history/src/core/index_20240824215341.ts +538 -0
- package/.history/src/core/index_20240824220703.ts +538 -0
- package/.history/src/core/index_20240824220709.ts +538 -0
- package/.history/src/core/index_20240825012244.ts +536 -0
- package/.history/src/core/index_20240825012435.ts +539 -0
- package/.history/src/core/index_20240825012440.ts +539 -0
- package/.history/src/core/index_20240826005054.ts +539 -0
- package/.history/src/core/index_20240826005321.ts +540 -0
- package/.history/src/core/index_20240826005410.ts +539 -0
- package/.history/src/core/index_20240826005418.ts +539 -0
- package/.history/src/core/index_20240830231825.ts +539 -0
- package/.history/src/core/index_20240831022416.ts +539 -0
- package/.history/src/core/index_20240901222314.js +459 -0
- package/.history/src/core/index_20240901222951.js +459 -0
- package/.history/src/core/index_20240901223824.js +471 -0
- package/.history/src/core/index_20240901223833.js +468 -0
- package/.history/src/core/index_20240902223954.js +447 -0
- package/.history/src/core/index_20240902224000.js +446 -0
- package/.history/src/core/index_20240902230345.js +448 -0
- package/.history/src/core/index_20240902231130.js +449 -0
- package/.history/src/core/index_20240902231559.js +449 -0
- package/.history/src/core/index_20240902232135.js +449 -0
- package/.history/src/core/index_20240902232809.js +452 -0
- package/.history/src/core/index_20240902232815.js +452 -0
- package/.history/src/core/index_20240903000104.js +467 -0
- package/.history/src/core/index_20240904001731.js +444 -0
- package/.history/src/core/index_20240904002038.ts +539 -0
- package/.history/src/core/index_20240904011848.js +444 -0
- package/.history/src/core/index_20240904012138.js +444 -0
- package/.history/src/core/index_20240904012743.js +444 -0
- package/.history/src/core/index_20240904013051.js +444 -0
- package/.history/src/core/resourceManager_20240403231531.ts +16 -0
- package/.history/src/core/resourceManager_20240823232627.ts +17 -0
- package/.history/src/core/resourceManager_20240824214014.js +16 -0
- package/.history/src/core/resourceManager_20240824214620.js +17 -0
- package/.history/src/core/scenarioManager_20240812203410.ts +86 -0
- package/.history/src/core/scenarioManager_20240812203839.ts +94 -0
- package/.history/src/core/scenarioManager_20240812213437.ts +85 -0
- package/.history/src/core/scenarioManager_20240813225852.ts +85 -0
- package/.history/src/core/scenarioManager_20240823235010.ts +85 -0
- package/.history/src/core/scenarioManager_20240904002038.ts +94 -0
- package/.history/src/core/scenarioManager_20240904012411.ts +94 -0
- package/.history/src/core/scenarioManager_20240904012519.ts +94 -0
- package/.history/src/index_20240403231531.js +6 -0
- package/.history/src/index_20240429233436.js +8 -0
- package/.history/src/index_20240429233926.js +8 -0
- package/.history/src/index_20240429234401.js +7 -0
- package/.history/src/index_20240429234404.js +6 -0
- package/.history/src/resource/soundObject_20240419004314.ts +71 -0
- package/.history/src/resource/soundObject_20240815034420.ts +66 -0
- package/.history/src/resource/soundObject_20240815034836.ts +79 -0
- package/.history/src/resource/soundObject_20240815034919.ts +87 -0
- package/.history/src/resource/soundObject_20240815040724.ts +81 -0
- package/.history/src/resource/soundObject_20240815041022.ts +87 -0
- package/.history/src/resource/soundObject_20240815042103.ts +87 -0
- package/.history/src/resource/soundObject_20240823235929.ts +91 -0
- package/.history/src/resource/soundObject_20240824213129.ts +99 -0
- package/.history/src/resource/soundObject_20240824213611.ts +101 -0
- package/.history/src/resource/soundObject_20240824215734.ts +101 -0
- package/.history/src/resource/soundObject_20240825004926.ts +101 -0
- package/.history/src/resource/soundObject_20240825004947.ts +101 -0
- package/.history/src/utils/logger_20240812174230.ts +13 -0
- package/.history/src/utils/logger_20240823232736.ts +14 -0
- package/.history/src/utils/logger_20240824214930.js +14 -0
- package/.history/src/utils/store_20240812174230.ts +17 -0
- package/.history/src/utils/store_20240823232948.ts +29 -0
- package/.history/src/utils/store_20240824214020.js +17 -0
- package/.history/src/utils/store_20240824214955.js +29 -0
- package/.history/src/utils/waitUtil_20240812174230.ts +4 -0
- package/.history/src/utils/waitUtil_20240823232739.ts +4 -0
- package/.history/src/utils/waitUtil_20240824214024.js +4 -0
- package/.history/src/utils/waitUtil_20240824215009.js +4 -0
- package/.history/test/js/title_20240428215305.js +254 -0
- package/.history/test/js/title_20240429221911.js +227 -0
- package/.history/test/js/title_20240429222806.js +243 -0
- package/.history/test/js/title_20240429222854.js +263 -0
- package/.history/test/js/title_20240429222906.js +263 -0
- package/.history/test/js/title_20240429235639.js +263 -0
- package/.history/test/js/title_20240429235840.js +263 -0
- package/.history/test/js/title_20240430014721.js +262 -0
- package/.history/test/js/title_20240430014759.js +254 -0
- package/.history/test/js/title_20240430134612.js +285 -0
- package/.history/test/js/title_20240430141051.js +285 -0
- package/.history/test/js/title_20240430173745.js +245 -0
- package/.history/tsconfig_20240812174230.json +22 -0
- package/.history/tsconfig_20240824010157.json +19 -0
- package/.history/tsconfig_20240824220700.json +20 -0
- package/.history/tsconfig_20240825011301.json +20 -0
- package/.history/webpack.config_20240423002825.js +37 -0
- package/.history/webpack.config_20240430001157.js +38 -0
- package/.history/webpack.config_20240430001309.js +37 -0
- package/.history/webpack.config_20240430002112.js +37 -0
- package/CLAUDE.md +96 -0
- package/LICENSE +21 -0
- package/README.md +149 -48
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/core/drawer.ts.html +1264 -0
- package/coverage/lcov-report/core/index.html +146 -0
- package/coverage/lcov-report/core/resourceManager.ts.html +136 -0
- package/coverage/lcov-report/core/scenarioManager.ts.html +373 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +146 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/resource/ImageObject.ts.html +433 -0
- package/coverage/lcov-report/resource/index.html +131 -0
- package/coverage/lcov-report/resource/soundObject.ts.html +346 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/utils/TextMeasurer.ts.html +520 -0
- package/coverage/lcov-report/utils/index.html +161 -0
- package/coverage/lcov-report/utils/logger.ts.html +142 -0
- package/coverage/lcov-report/utils/store.ts.html +151 -0
- package/coverage/lcov-report/utils/waitUtil.ts.html +97 -0
- package/coverage/lcov.info +882 -0
- package/dist/README.md +294 -0
- package/dist/engineConfig.json +10 -0
- package/dist/package.json +51 -0
- package/dist/parser/cli.js +61 -0
- package/dist/parser/parser.js +53 -0
- package/{src → dist/src}/core/drawer.js +2 -11
- package/dist/src/core/drawer.js.map +1 -0
- package/dist/src/core/index.js +969 -0
- package/{src → dist/src}/core/scenarioManager.js +5 -6
- package/dist/src/core/scenarioManager.js.map +1 -0
- package/{src → dist/src}/resource/ImageObject.js +2 -2
- package/{src → dist/src}/resource/soundObject.js +6 -4
- package/dist/src/resource/soundObject.js.map +1 -0
- package/dist/src/utils/fallbackTemplate.js +13 -0
- package/dist/src/utils/fallbackTemplate.js.map +1 -0
- package/{src → dist/src}/utils/logger.js +4 -3
- package/dist/src/utils/logger.js.map +1 -0
- package/{src → dist/src}/utils/waitUtil.js +4 -3
- package/dist/src/utils/waitUtil.js.map +1 -0
- package/dist/webtalekit-alpha-0.2.13.tgz +0 -0
- package/docs/event-system-specification.md +493 -0
- package/docs/glossary.html +833 -0
- package/docs/index.html +296 -0
- package/docs/tag-reference.html +1317 -0
- package/docs/ui-template-guide.html +1068 -0
- package/example/README.md +29 -0
- package/example/engineConfig.json +10 -0
- package/example/package-lock.json +5145 -0
- package/example/package.json +26 -0
- package/example/src/index.js +13 -0
- package/example/src/resource/background/beach.jpg +0 -0
- package/example/src/resource/background/city.jpg +0 -0
- package/example/src/resource/background/crossroad.jpg +0 -0
- package/example/src/resource/background/forest.jpg +0 -0
- package/example/src/resource/background/laboratory.jpg +0 -0
- package/example/src/resource/background/library.jpg +0 -0
- package/example/src/resource/background/living_room.jpg +0 -0
- package/example/src/resource/background/music_room.jpg +0 -0
- package/example/src/resource/background/stage.jpg +0 -0
- package/example/src/resource/background/sunset.jpg +0 -0
- package/example/src/resource/background/title_bg.png +0 -0
- package/example/src/resource/bgm/calm_music.wav +0 -0
- package/example/src/resource/bgm/doorbell.mp3 +0 -0
- package/example/src/resource/bgm/nc366476_Virtual_Voyage.mp3 +0 -0
- package/example/src/resource/bgm/title_theme.mp3 +0 -0
- package/example/src/resource/chara/dancer.png +0 -0
- package/example/src/resource/chara/guest.png +0 -0
- package/example/src/resource/chara/guide.png +0 -0
- package/example/src/resource/chara/scientist.png +0 -0
- package/example/src/resource/config.js +0 -0
- package/example/src/resource/se/doorbell.mp3 +0 -0
- package/example/src/resource/system/systemPicture/01_message/message.png +0 -0
- package/example/src/resource/system/systemPicture/02_button/button.png +0 -0
- package/example/src/resource/system/systemPicture/02_button/button2.png +0 -0
- package/example/src/resource/system/systemPicture/02_button/button3.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/auto.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/auto2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/close.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/close2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/config.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/config2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/load.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/load2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/log.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/log2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/menu.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/menu2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/qload.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/qload2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/qsave.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/qsave2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/save.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/save2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/screen.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/screen2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/skip.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/skip2.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/title.png +0 -0
- package/example/src/resource/system/systemPicture/03_system_button/title2.png +0 -0
- package/example/src/resource/system/systemPicture//345/210/251/347/224/250/350/246/217/347/264/204.txt +0 -0
- package/example/src/resource/system/wait.gif +0 -0
- package/example/src/scene/animation.scene +28 -0
- package/example/src/scene/background.scene +29 -0
- package/example/src/scene/character.scene +26 -0
- package/example/src/scene/choice.scene +97 -0
- package/example/src/scene/dialog.scene +105 -0
- package/example/src/scene/effects.scene +38 -0
- package/example/src/scene/en/animation.scene +28 -0
- package/example/src/scene/en/background.scene +26 -0
- package/example/src/scene/en/character.scene +26 -0
- package/example/src/scene/en/choice.scene +32 -0
- package/example/src/scene/en/effects.scene +37 -0
- package/example/src/scene/en/sound.scene +26 -0
- package/example/src/scene/en/text.scene +26 -0
- package/example/src/scene/en/title.scene +39 -0
- package/example/src/scene/if_test.scene +37 -0
- package/example/src/scene/resource-error-test.scene +15 -0
- package/example/src/scene/save-load-test.scene +48 -0
- package/example/src/scene/sound.scene +26 -0
- package/example/src/scene/test_error.scene +21 -0
- package/example/src/scene/text.scene +34 -0
- package/example/src/scene/title.scene +51 -0
- package/example/src/screen/incoming.html +474 -0
- package/example/src/screen/title.html +135 -0
- package/example/src/template.html +16 -0
- package/example/test-results/.last-run.json +4 -0
- package/example/webpack.config.js +69 -0
- package/image.png +0 -0
- package/package.json +3 -1
- package/playwright-report/index.html +71 -0
- package/s-plan1-5Light-s-1.jpg +0 -0
- package/test-results/.last-run.json +6 -0
- package/tests/e2e/if-global-attribute.spec.js +90 -0
- package/tests/e2e/resource-error-handling.spec.js +58 -0
- package/tests/e2e/screenshots/before-error-check.png +0 -0
- package/tests/e2e/screenshots/choices.png +0 -0
- package/tests/e2e/screenshots/message-window-click-wait.png +0 -0
- package/src/core/drawer.js.map +0 -1
- package/src/core/scenarioManager.js.map +0 -1
- package/src/resource/soundObject.js.map +0 -1
- package/src/utils/logger.js.map +0 -1
- package/src/utils/waitUtil.js.map +0 -1
- /package/{src → dist/src}/core/resourceManager.js +0 -0
- /package/{src → dist/src}/core/resourceManager.js.map +0 -0
- /package/{src → dist/src}/resource/ImageObject.js.map +0 -0
- /package/{src → dist/src}/utils/store.js +0 -0
- /package/{src → dist/src}/utils/store.js.map +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<say name="Narrator">In this scene, we will demonstrate special effects and filters.</say>
|
|
4
|
+
<show src="./src/resource/chara/scientist.png" name="Scientist" pos="center:bottom" />
|
|
5
|
+
<say name="Scientist">Let's experiment with some visual effects!</say>
|
|
6
|
+
<say name="Scientist">First, let's try a sepia filter.</say>
|
|
7
|
+
<show src="./src/resource/background/laboratory.jpg" sepia="0.8" />
|
|
8
|
+
<say name="Scientist">Now, let's try it on me.</say>
|
|
9
|
+
<show src="./src/resource/background/laboratory.jpg" />
|
|
10
|
+
<show src="./src/resource/chara/scientist.png" name="Scientist" pos="center:bottom" sepia="0.8" />
|
|
11
|
+
<say name="Scientist">Next, let's switch to a monochrome effect.</say>
|
|
12
|
+
<show src="./src/resource/background/laboratory.jpg" mono="1" />
|
|
13
|
+
<say name="Scientist">Let's try this on me as well.</say>
|
|
14
|
+
<show src="./src/resource/background/laboratory.jpg" />
|
|
15
|
+
<show src="./src/resource/chara/scientist.png" name="Scientist" pos="center:bottom" mono="1" />
|
|
16
|
+
<say name="Scientist">We can also apply a blur effect.</say>
|
|
17
|
+
<show src="./src/resource/background/laboratory.jpg" blur="5" />
|
|
18
|
+
<say name="Scientist">Now, let's try it on me.</say>
|
|
19
|
+
<show src="./src/resource/background/laboratory.jpg" />
|
|
20
|
+
<show src="./src/resource/chara/scientist.png" name="Scientist" pos="center:bottom" blur="5" />
|
|
21
|
+
<say name="Scientist">By using these effects, we can create various atmospheres in our game!</say>
|
|
22
|
+
<show src="./src/resource/background/laboratory.jpg" />
|
|
23
|
+
<show src="./src/resource/chara/scientist.png" name="Scientist" pos="center:bottom" />
|
|
24
|
+
<choice>
|
|
25
|
+
<item label="Return to Title" onSelect="title">
|
|
26
|
+
<route scene="title" />
|
|
27
|
+
</item>
|
|
28
|
+
</choice>
|
|
29
|
+
</scenario>
|
|
30
|
+
<script>
|
|
31
|
+
export const sceneConfig = {
|
|
32
|
+
name: 'effects',
|
|
33
|
+
background: './src/resource/background/laboratory.jpg',
|
|
34
|
+
template: './src/screen/title.html'
|
|
35
|
+
}
|
|
36
|
+
</script>
|
|
37
|
+
</scene>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<say name="Narrator">This scene demonstrates sound features.</say>
|
|
4
|
+
<sound src="./src/resource/bgm/calm_music.wav" play loop />
|
|
5
|
+
<say name="Narrator">Background music is now playing. It can loop continuously.</say>
|
|
6
|
+
<sound src="./src/resource/se/doorbell.mp3" play />
|
|
7
|
+
<say name="Narrator">That was a sound effect. They can be played once or repeatedly.</say>
|
|
8
|
+
<sound name="calm_music.wav" stop />
|
|
9
|
+
<sound src="./src/resource/bgm/nc366476_Virtual_Voyage.mp3" play loop />
|
|
10
|
+
<say name="Narrator">We can also switch background music smoothly.</say>
|
|
11
|
+
<choice>
|
|
12
|
+
<item label="Return to Title" onSelect="title">
|
|
13
|
+
<sound src="nc366476_Virtual_Voyage.mp3" stop />
|
|
14
|
+
<route scene="title" />
|
|
15
|
+
</item>
|
|
16
|
+
</choice>
|
|
17
|
+
</scenario>
|
|
18
|
+
|
|
19
|
+
<script>
|
|
20
|
+
export const sceneConfig = {
|
|
21
|
+
name: 'sound',
|
|
22
|
+
background: './src/resource/background/music_room.png',
|
|
23
|
+
template: './src/screen/title.html'
|
|
24
|
+
}
|
|
25
|
+
</script>
|
|
26
|
+
</scene>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<say name="Narrator">This scene demonstrates various text display features.</say>
|
|
4
|
+
<text msg="This is a simple text display." />
|
|
5
|
+
<text msg="You can also use {{variables}} in your text." />
|
|
6
|
+
<text msg="Text can be displayed with different speeds." speed="50" />
|
|
7
|
+
<text msg="Or even letter by letter..." speed="150" />
|
|
8
|
+
<say name="Character">Characters can have names and portraits.</say>
|
|
9
|
+
<choice>
|
|
10
|
+
<item label="Return to Title" onSelect="title">
|
|
11
|
+
<route scene="title" />
|
|
12
|
+
</item>
|
|
13
|
+
</choice>
|
|
14
|
+
</scenario>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
const sceneConfig = {
|
|
18
|
+
name: 'text',
|
|
19
|
+
background: './src/resource/background/library.png',
|
|
20
|
+
template: './src/screen/title.html'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const variables = "dynamic content"
|
|
24
|
+
|
|
25
|
+
</script>
|
|
26
|
+
</scene>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<sound src="./src/resource/bgm/title_theme.mp3" play loop />
|
|
4
|
+
<say name="Narrator">Welcome to the WebTaleKit Demo Game!</say>
|
|
5
|
+
<say name="Narrator">Please select a feature to explore:</say>
|
|
6
|
+
<choice>
|
|
7
|
+
<item label="Text Display" onSelect="text">
|
|
8
|
+
<route scene="text" />
|
|
9
|
+
</item>
|
|
10
|
+
<item label="Character Display" onSelect="character">
|
|
11
|
+
<route scene="character" />
|
|
12
|
+
</item>
|
|
13
|
+
<item label="Background Changes" onSelect="background">
|
|
14
|
+
<route scene="background" />
|
|
15
|
+
</item>
|
|
16
|
+
<item label="Sound Effects" onSelect="sound">
|
|
17
|
+
<route scene="sound" />
|
|
18
|
+
</item>
|
|
19
|
+
<item label="Choices and Branching" onSelect="choice">
|
|
20
|
+
<route scene="choice" />
|
|
21
|
+
</item>
|
|
22
|
+
<item label="Animations" onSelect="animation">
|
|
23
|
+
<route scene="animation" />
|
|
24
|
+
</item>
|
|
25
|
+
<item label="Special Effects" onSelect="effects">
|
|
26
|
+
<route scene="effects" />
|
|
27
|
+
</item>
|
|
28
|
+
</choice>
|
|
29
|
+
</scenario>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
const sceneConfig = {
|
|
33
|
+
name: 'title',
|
|
34
|
+
background: './src/resource/background/title_bg.png',
|
|
35
|
+
bgm: './src/resource/bgm/title_theme.mp3',
|
|
36
|
+
template: './src/screen/title.html'
|
|
37
|
+
}
|
|
38
|
+
</script>
|
|
39
|
+
</scene>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<text>ifグローバル属性のテストです。</text>
|
|
4
|
+
<text>変数hogeの値を設定します。</text>
|
|
5
|
+
|
|
6
|
+
<call method="hoge = 1" />
|
|
7
|
+
|
|
8
|
+
<text>現在のhogeの値: {{hoge}}</text>
|
|
9
|
+
|
|
10
|
+
<text if="hoge==1">この文章はhoge==1の場合に表示されます。</text>
|
|
11
|
+
<text if="hoge==2">この文章はhoge==2の場合に表示されます。</text>
|
|
12
|
+
|
|
13
|
+
<text>hogeの値を2に変更します。</text>
|
|
14
|
+
|
|
15
|
+
<call method="hoge = 2" />
|
|
16
|
+
|
|
17
|
+
<text>現在のhogeの値: {{hoge}}</text>
|
|
18
|
+
|
|
19
|
+
<text if="hoge==1">この文章はhoge==1の場合に表示されます。</text>
|
|
20
|
+
<text if="hoge==2">この文章はhoge==2の場合に表示されます。</text>
|
|
21
|
+
|
|
22
|
+
<text>ifグローバル属性のテストが完了しました。</text>
|
|
23
|
+
|
|
24
|
+
<route to="title" />
|
|
25
|
+
</scenario>
|
|
26
|
+
|
|
27
|
+
<script>
|
|
28
|
+
export const sceneConfig = {
|
|
29
|
+
name: 'if_test',
|
|
30
|
+
background: './src/resource/background/title_bg.png',
|
|
31
|
+
bgm: './src/resource/bgm/title_theme.mp3',
|
|
32
|
+
template: './src/screen/title.html'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export let hoge = 0
|
|
36
|
+
</script>
|
|
37
|
+
</scene>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<text>これはリソースエラーハンドリングのテストです</text>
|
|
4
|
+
<text>存在しない画像ファイルを指定しています</text>
|
|
5
|
+
</scenario>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export const sceneConfig = {
|
|
9
|
+
name: 'resource_error_test',
|
|
10
|
+
background: './src/resource/background/non_existent_image.png',
|
|
11
|
+
bgm: './src/resource/bgm/non_existent_audio.mp3',
|
|
12
|
+
template: './src/screen/title.html'
|
|
13
|
+
}
|
|
14
|
+
</script>
|
|
15
|
+
</scene>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<!-- ジャンプで帰ってきた時に背景とBGMを再表示するための設定 -->
|
|
4
|
+
<show mode="bg" src="./src/resource/background/title_bg.png"></show>
|
|
5
|
+
<sound mode="bgm" src="./src/resource/bgm/title_theme.mp3"/>
|
|
6
|
+
<text>セーブ・ロード機能のテストです</text>
|
|
7
|
+
<say name="ナレーター">このシーンでは、セーブとロードの基本機能をテストします。</say>
|
|
8
|
+
<choice>
|
|
9
|
+
<item label="セーブテスト" onSelect="save_test">
|
|
10
|
+
<show mode="bg" src="./src/resource/background/stage.jpg"></show>
|
|
11
|
+
<sound mode="bgm" src="./src/resource/bgm/calm_music.wav" />
|
|
12
|
+
<save slot="test1" name="テストセーブ1" />
|
|
13
|
+
<text>ロードされたら、この文章が表示されます。</text>
|
|
14
|
+
</item>
|
|
15
|
+
<item label="オートセーブ" onSelect="auto_save">
|
|
16
|
+
<save />
|
|
17
|
+
<text>オートセーブが作成されました!</text>
|
|
18
|
+
</item>
|
|
19
|
+
<item label="ロードテスト" onSelect="load_test">
|
|
20
|
+
<text>
|
|
21
|
+
セーブデータのロードのテストを行います。
|
|
22
|
+
現在の背景とBGMが、セーブしたときの状態に戻るはずです。
|
|
23
|
+
</text>
|
|
24
|
+
<load slot="test1" />
|
|
25
|
+
</item>
|
|
26
|
+
<item label="オートロード" onSelect="auto_load">
|
|
27
|
+
<load />
|
|
28
|
+
</item>
|
|
29
|
+
<item label="サイレントセーブ" onSelect="silent_save">
|
|
30
|
+
<save slot="silent" name="サイレントセーブ" message="false" />
|
|
31
|
+
<text>メッセージなしでセーブしました</text>
|
|
32
|
+
</item>
|
|
33
|
+
<item label="タイトルに戻る" onSelect="title">
|
|
34
|
+
<route to="title" />
|
|
35
|
+
</item>
|
|
36
|
+
</choice>
|
|
37
|
+
<jump index="0" />
|
|
38
|
+
</scenario>
|
|
39
|
+
|
|
40
|
+
<script>
|
|
41
|
+
export const sceneConfig = {
|
|
42
|
+
name: 'save-load-test',
|
|
43
|
+
background: './src/resource/background/title_bg.png',
|
|
44
|
+
bgm: './src/resource/bgm/title_theme.mp3',
|
|
45
|
+
template: './src/screen/title.html'
|
|
46
|
+
}
|
|
47
|
+
</script>
|
|
48
|
+
</scene>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<say name="ナレーター">このシーンでは音声機能をデモンストレーションします。</say>
|
|
4
|
+
<sound mode="bgm" src="./src/resource/bgm/calm_music.wav" play loop />
|
|
5
|
+
<say name="ナレーター">今、バックグラウンドミュージックが流れ始めました。これはループ再生することができます。</say>
|
|
6
|
+
<sound mode="bgm" src="./src/resource/se/doorbell.mp3" play />
|
|
7
|
+
<say name="ナレーター">今のは効果音です。一度だけ、あるいは繰り返し再生することができます。</say>
|
|
8
|
+
<sound name="calm_music.mp3" stop />
|
|
9
|
+
<sound src="./src/resource/bgm/nc366476_Virtual_Voyage.mp3" play loop />
|
|
10
|
+
<say name="ナレーター">このように、バックグラウンドミュージックをスムーズに切り替えることもできます。</say>
|
|
11
|
+
<choice>
|
|
12
|
+
<item label="タイトルに戻る" onSelect="title">
|
|
13
|
+
<sound name="nc366476_Virtual_Voyage.mp3" stop />
|
|
14
|
+
<route to="title" />
|
|
15
|
+
</item>
|
|
16
|
+
</choice>
|
|
17
|
+
</scenario>
|
|
18
|
+
|
|
19
|
+
<script>
|
|
20
|
+
export const sceneConfig = {
|
|
21
|
+
name: 'sound',
|
|
22
|
+
background: './src/resource/background/music_room.jpg',
|
|
23
|
+
template: './src/screen/title.html'
|
|
24
|
+
}
|
|
25
|
+
</script>
|
|
26
|
+
</scene>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<text>これはエラーハンドリングのテストです</text>
|
|
4
|
+
<text>次に未定義のコマンドタイプを実行します</text>
|
|
5
|
+
|
|
6
|
+
<!-- 未定義のコマンドタイプ -->
|
|
7
|
+
<undefined_command>これは存在しないコマンドです</undefined_command>
|
|
8
|
+
|
|
9
|
+
<!-- この行は上記のエラーにより実行されないはず -->
|
|
10
|
+
<text>このテキストは表示されないはずです</text>
|
|
11
|
+
</scenario>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
export const sceneConfig = {
|
|
15
|
+
name: 'test_error',
|
|
16
|
+
background: './src/resource/background/title_bg.png',
|
|
17
|
+
bgm: './src/resource/bgm/title_theme.mp3',
|
|
18
|
+
template: './src/screen/title.html'
|
|
19
|
+
}
|
|
20
|
+
</script>
|
|
21
|
+
</scene>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<say name="ナレーター">このシーンでは、様々なテキスト表示機能をデモンストレーションします。</say>
|
|
4
|
+
<text>これは単純なテキスト表示です。</text>
|
|
5
|
+
<text>テキスト内で{{variables}}のような変数を使用することもできます。</text>
|
|
6
|
+
<text speed="10">テキストは異なる速度で表示することができます。</text>
|
|
7
|
+
<text speed="150">または、一文字ずつゆっくりと...</text>
|
|
8
|
+
<say name="キャラクター">キャラクターには名前と立ち絵を設定できます。</say>
|
|
9
|
+
<text><ruby text="ルビ">漢字</ruby>を振ることも可能です。</text>
|
|
10
|
+
<text>
|
|
11
|
+
<color value="red">文字の色を変えたり</color>、<b>太字にしたり</b>、<i>斜体にしたり</i>することもできます。
|
|
12
|
+
</text>
|
|
13
|
+
<text>改行も<br>簡単に<br>できます。</text>
|
|
14
|
+
<text>また、テキストの表示中に
|
|
15
|
+
<wait time="1000" />一時停止を入れることもできます。
|
|
16
|
+
</text>
|
|
17
|
+
<say name="ナレーター">これらの機能を組み合わせることで、豊かな表現が可能になります。</say>
|
|
18
|
+
<choice prompt="">
|
|
19
|
+
<item label="タイトルに戻る" onSelect="title">
|
|
20
|
+
<route to="title" />
|
|
21
|
+
</item>
|
|
22
|
+
</choice>
|
|
23
|
+
</scenario>
|
|
24
|
+
|
|
25
|
+
<script>
|
|
26
|
+
export const sceneConfig = {
|
|
27
|
+
name: 'text',
|
|
28
|
+
background: './src/resource/background/library.jpg',
|
|
29
|
+
template: './src/screen/title.html'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const variables = "HogeHoge"
|
|
33
|
+
</script>
|
|
34
|
+
</scene>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<scene>
|
|
2
|
+
<scenario>
|
|
3
|
+
<text>WebTaleKitデモゲームへようこそ!</text>
|
|
4
|
+
<text>以下の機能デモから、体験したいものを選んでください。</text>
|
|
5
|
+
|
|
6
|
+
<choice prompt="どの機能を体験しますか?">
|
|
7
|
+
<item label="テキスト表示デモ" onSelect="text">
|
|
8
|
+
<route to="text" />
|
|
9
|
+
</item>
|
|
10
|
+
<item label="キャラクター表示デモ" onSelect="character">
|
|
11
|
+
<route to="character" />
|
|
12
|
+
</item>
|
|
13
|
+
<item label="背景変更デモ" onSelect="background">
|
|
14
|
+
<route to="background" />
|
|
15
|
+
</item>
|
|
16
|
+
<item label="音声機能デモ" onSelect="sound">
|
|
17
|
+
<route to="sound" />
|
|
18
|
+
</item>
|
|
19
|
+
<item label="選択肢デモ" onSelect="choice">
|
|
20
|
+
<route to="choice" />
|
|
21
|
+
</item>
|
|
22
|
+
<item label="アニメーションデモ" onSelect="animation">
|
|
23
|
+
<route to="animation" />
|
|
24
|
+
</item>
|
|
25
|
+
<item label="特殊効果デモ" onSelect="effects">
|
|
26
|
+
<route to="effects" />
|
|
27
|
+
</item>
|
|
28
|
+
<item label="ifグローバル属性テスト" onSelect="if_test">
|
|
29
|
+
<route to="if_test" />
|
|
30
|
+
</item>
|
|
31
|
+
<item label="エラーハンドリングテスト" onSelect="test_error">
|
|
32
|
+
<route to="test_error" />
|
|
33
|
+
</item>
|
|
34
|
+
<item label="ダイアログテスト" onSelect="test_dialog">
|
|
35
|
+
<route to="dialog" />
|
|
36
|
+
</item>
|
|
37
|
+
<item label="セーブ・ロードテスト" onSelect="save_load_test">
|
|
38
|
+
<route to="save-load-test" />
|
|
39
|
+
</item>
|
|
40
|
+
</choice>
|
|
41
|
+
</scenario>
|
|
42
|
+
|
|
43
|
+
<script>
|
|
44
|
+
export const sceneConfig = {
|
|
45
|
+
name: 'title',
|
|
46
|
+
background: './src/resource/background/title_bg.png',
|
|
47
|
+
bgm: './src/resource/bgm/title_theme.mp3',
|
|
48
|
+
template: './src/screen/title.html'
|
|
49
|
+
}
|
|
50
|
+
</script>
|
|
51
|
+
</scene>
|