Skip to content

Commit

Permalink
v2.0.0:SKYNovel 1.0.0 対応・テンプレ変更
Browse files Browse the repository at this point in the history
  • Loading branch information
famibee committed Jun 9, 2020
1 parent 3943391 commit c615167
Show file tree
Hide file tree
Showing 14 changed files with 546 additions and 831 deletions.
42 changes: 0 additions & 42 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,47 +18,5 @@
"script": "npm_check_updates_do",
"problemMatcher": []
},
{
"label": "SKYNovel dbg start",
"type": "npm",
"script": "dbg_skynovel",
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": true,
"problemMatcher": {
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": "^.*",
"endsPattern": "^.*Built at.*",
}
},
"presentation": {
"reveal": "never"
}
},
{
"label": "SKYNovel dbg stop",
"type": "shell",
"group": "build",
"command": "echo ${input:terminate}"
}
],
"inputs": [
{
"id": "terminate",
"type": "command",
"command": "workbench.action.tasks.terminate",
"args": "SKYNovel dbg start"
}
]
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## v2.0.0
- upd:SKYNovel 1.0.0 対応・テンプレ変更
- npm un skynovel && npm i @famibee/skynovel
- core/app4webpack.js ... require('@famibee/skynovel/app');
- core/web4webpack.js ... require('@famibee/skynovel/web');
- upd:デバッグアプリ版、ブラウザ版はダイアログで聞かずレジュームするように。リロード開発利便性から(doc/prj/script/sub.sn [sys_resume_load]
- upd:ライブラリ更新
## v1.2.3
- upd:ライブラリ更新
## v1.2.2
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Novelgame(Yoko-gaki) sample project
[![MIT License](https://img.shields.io/github/license/famibee/SKYNovel_uc.svg)](LICENSE)
[![MIT License](https://img.shields.io/github/license/famibee/SKYNovel_hatsune.svg)](LICENSE)
![](https://img.shields.io/badge/platform-windows%20%7C%20macos-lightgrey.svg)
![GitHub last commit](https://img.shields.io/github/last-commit/famibee/SKYNovel_hatsune)

[![dependencies](https://david-dm.org/famibee/SKYNovel_hatsune/status.svg)](https://david-dm.org/famibee/SKYNovel_hatsune)
[![dependencies](https://david-dm.org/famibee/SKYNovel_hatsune/dev-status.svg)](https://david-dm.org/famibee/SKYNovel_hatsune?type=dev)
Expand Down
2 changes: 1 addition & 1 deletion core/app4webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ const hPlg = {};
const h = require('./plugin').default;
for (const nm in h) hPlg[nm] = require(`./plugin/${nm}`);

const {SysApp} = require('skynovel/app');
const {SysApp} = require('@famibee/skynovel/app');
new SysApp(hPlg);
2 changes: 1 addition & 1 deletion core/web4webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ const hPlg = {};
const h = require('./plugin').default;
for (const nm in h) hPlg[nm] = require(`./plugin/${nm}`);

const {SysWeb} = require('skynovel/web');
const {SysWeb} = require('@famibee/skynovel/web');
new SysWeb(hPlg);
24 changes: 12 additions & 12 deletions doc/app/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/prj/archive/_archive.sn
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
[ask_ync mes="クイックロードしますか?" no_cleartext=true]
;#FONT クイックロードしますか?
[enable_event enabled=true]
[return cond="_yesno != 'y'"]
[return cond="_yesno=='n'"]
[jump label=*do_load]


Expand Down
4 changes: 2 additions & 2 deletions doc/prj/other/_submenu.sn
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
[enable_event layer=mes_submenu enabled=false]
[ask_ync mes="タイトルに戻りますか?"]
;#FONT タイトルに戻りますか?
[jump label=*retry cond="_yesno != 'y'"]
[jump label=*retry cond="_yesno=='n'"]

[call label=*exit]

Expand All @@ -101,7 +101,7 @@
[enable_event layer=mes_submenu enabled=false]
[ask_ync mes="ゲームを終了しますか?"]
;#FONT ゲームを終了しますか?
[jump label=*retry cond="_yesno != 'y'"]
[jump label=*retry cond="_yesno=='n'"]

[lay layer=mes page=fore visible=&v]
[jump fn="main" label=*close_do]
Expand Down
8 changes: 4 additions & 4 deletions doc/prj/other/_yesno.sn
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

[clear_event]

&_yesno = n

[event key=rightclick label=*cancel]
[event key=y label=*y]
[event key=n label=*n]
Expand All @@ -28,10 +30,8 @@
[event key=shift label=*cancel]
[s]


*y [let name=_yesno text=y][jump label=*exit]

*n [let name=_yesno text=n][jump label=*exit]
*y &_yesno = y
*n [jump label=*exit]

*cancel
[se fn=&sysse_cancel buf=SYS]
Expand Down
2 changes: 1 addition & 1 deletion doc/prj/script/main.sn
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
;#FONT ゲームを終了しますか?
[enable_event enabled=true]
*close_do
[return cond="_yesno != 'y'"]
[return cond="_yesno=='n'"]
[enable_event enabled=false]
[wait time=500]
[close]
Expand Down
6 changes: 3 additions & 3 deletions doc/prj/script/sub.sn
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
[macro name=sys_resume_load]
[return cond=!sys:doResume]

[ask_ync mes="前回終了ポイントから再開しますか?"]
[return cond="_yesno != 'y'"]
[ask_ync mes='前回終了ポイントから再開しますか?' cond='! const.sn.isDbg && const.sn.isApp']
[return cond="_yesno=='n'"]

[jump fn=_archive label=*do_load_resume]
[endmacro]
Expand Down Expand Up @@ -376,7 +376,7 @@
;#FONT タイトルに戻りますか?
[enable_event enabled=true]
[enable_event layer="mes_sysmenu" enabled=true]
[return cond="_yesno != 'y'"]
[return cond="_yesno=='n'"]

[fadeoutse buf=音声 time=1000]
; テキストレイヤ全画面設定
Expand Down
24 changes: 12 additions & 12 deletions doc/web.js

Large diffs are not rendered by default.

Loading

0 comments on commit c615167

Please sign in to comment.