@famibee/skynovel 1.23.0 → 1.24.1
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/CHANGELOG.md +46 -0
- package/app.js +105 -121
- package/core/lib/sn/Config.d.ts.map +1 -1
- package/core/lib/sn/Layer.d.ts.map +1 -1
- package/core/lib/sn/PropParser.d.ts.map +1 -1
- package/core/lib/sn/TxtLayer.d.ts +1 -35
- package/core/lib/sn/TxtLayer.d.ts.map +1 -1
- package/core/lib/sn/TxtStage.d.ts +6 -6
- package/core/lib/sn/TxtStage.d.ts.map +1 -1
- package/package.json +4 -4
- package/web.js +105 -121
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Layer } from './Layer';
|
|
2
2
|
import { IEvtMng } from './CmnLib';
|
|
3
3
|
import { IVariable, IHTag, HArg, IMain } from './CmnInterface';
|
|
4
|
-
import { IInfTxLay } from './TxtStage';
|
|
5
4
|
import { Config } from './Config';
|
|
6
5
|
import { IMakeDesignCast } from './LayerMng';
|
|
7
6
|
import { Renderer } from 'pixi.js';
|
|
@@ -32,40 +31,7 @@ export declare class TxtLayer extends Layer {
|
|
|
32
31
|
readonly addButton: (hArg: HArg) => Promise<void>;
|
|
33
32
|
canFocus(): boolean;
|
|
34
33
|
clearLay(hArg: HArg): void;
|
|
35
|
-
readonly record: () =>
|
|
36
|
-
name: string;
|
|
37
|
-
idx: number;
|
|
38
|
-
alpha: number;
|
|
39
|
-
blendMode: import("pixi.js").BLEND_MODES;
|
|
40
|
-
rotation: number;
|
|
41
|
-
scale_x: number;
|
|
42
|
-
scale_y: number;
|
|
43
|
-
pivot_x: number;
|
|
44
|
-
pivot_y: number;
|
|
45
|
-
x: number;
|
|
46
|
-
y: number;
|
|
47
|
-
visible: boolean;
|
|
48
|
-
} & {
|
|
49
|
-
enabled: boolean;
|
|
50
|
-
r_align: string;
|
|
51
|
-
b_do: string | null;
|
|
52
|
-
b_pic: string;
|
|
53
|
-
b_color: number;
|
|
54
|
-
b_alpha: number;
|
|
55
|
-
b_alpha_isfixed: boolean;
|
|
56
|
-
ffs: string;
|
|
57
|
-
txs: {
|
|
58
|
-
infTL: IInfTxLay;
|
|
59
|
-
cssText: string;
|
|
60
|
-
left: number;
|
|
61
|
-
idc_hArg: HArg;
|
|
62
|
-
ch_filter: any[] | null;
|
|
63
|
-
fi_easing: string;
|
|
64
|
-
fo_easing: string;
|
|
65
|
-
};
|
|
66
|
-
strNoFFS: string;
|
|
67
|
-
btns: string[];
|
|
68
|
-
};
|
|
34
|
+
readonly record: () => any;
|
|
69
35
|
playback(hLay: any, aPrm: Promise<void>[]): void;
|
|
70
36
|
snapshot(rnd: Renderer, re: () => void): void;
|
|
71
37
|
snapshot_end(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TxtLayer.d.ts","sourceRoot":"","sources":["../../src/sn/TxtLayer.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAe,OAAO,EAAgE,MAAM,UAAU,CAAC;AAC9G,OAAO,EAAC,SAAS,EAAE,KAAK,EAAE,IAAI,EAAU,KAAK,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"TxtLayer.d.ts","sourceRoot":"","sources":["../../src/sn/TxtLayer.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAe,OAAO,EAAgE,MAAM,UAAU,CAAC;AAC9G,OAAO,EAAC,SAAS,EAAE,KAAK,EAAE,IAAI,EAAU,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAErE,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAIhC,OAAO,EAAW,eAAe,EAAC,MAAM,YAAY,CAAC;AAErD,OAAO,EAA6C,QAAQ,EAAC,MAAM,SAAS,CAAC;AAE7E,qBAAa,QAAS,SAAQ,KAAK;;IAKlC,MA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,cAAc,CAAC,GAAG,EAAE,eAAe;IAInC,sBAAsB,CAAC,GAAG,EAAE,eAAe;IAK3C,cAAc;IACd,sBAAsB;IAItB,IAAI,IAAI,MAAM;CAoBvB"}
|
|
@@ -3,7 +3,7 @@ import { HArg } from './CmnInterface';
|
|
|
3
3
|
import { Config } from './Config';
|
|
4
4
|
import { IMakeDesignCast } from './LayerMng';
|
|
5
5
|
import { Container, Sprite, Renderer } from 'pixi.js';
|
|
6
|
-
|
|
6
|
+
interface IInfTxLay {
|
|
7
7
|
fontsize: number;
|
|
8
8
|
$width: number;
|
|
9
9
|
$height: number;
|
|
@@ -14,19 +14,18 @@ export interface IInfTxLay {
|
|
|
14
14
|
}
|
|
15
15
|
export declare class TxtStage extends Container {
|
|
16
16
|
#private;
|
|
17
|
-
private infTL;
|
|
18
17
|
private readonly spLay;
|
|
19
18
|
private readonly canFocus;
|
|
20
19
|
static init(cfg: Config): void;
|
|
21
20
|
static setEvtMng(evtMng: IEvtMng): void;
|
|
22
21
|
static destroy(): void;
|
|
23
|
-
|
|
24
|
-
constructor(infTL: IInfTxLay, spLay: Sprite, canFocus: () => boolean);
|
|
22
|
+
constructor(spLay: Sprite, canFocus: () => boolean);
|
|
25
23
|
lay(hArg: HArg): void;
|
|
26
24
|
cvsResize(): void;
|
|
27
25
|
get tategaki(): boolean;
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
get infTL(): IInfTxLay;
|
|
27
|
+
get getWidth(): number;
|
|
28
|
+
get getHeight(): number;
|
|
30
29
|
setSize(width: number, height: number): void;
|
|
31
30
|
goTxt(aSpan: string[]): void;
|
|
32
31
|
skipChIn(): boolean;
|
|
@@ -67,4 +66,5 @@ export declare class TxtStage extends Container {
|
|
|
67
66
|
dump(): string;
|
|
68
67
|
destroy(): void;
|
|
69
68
|
}
|
|
69
|
+
export {};
|
|
70
70
|
//# sourceMappingURL=TxtStage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TxtStage.d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,MAAK,OAAO;IAenF,GAAG,CAAC,IAAI,EAAE,IAAI;IAyEd,SAAS;IAWT,IAAI,QAAQ,YAA4B;IAIxC,IAAI,KAAK,IAAI,SAAS,CAAqB;IAC3C,IAAI,QAAQ,WAA8B;IAC1C,IAAI,SAAS,WAA+B;IAE5C,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IA8WrC,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE;IAuRrB,QAAQ,IAAI,OAAO;IAWnB,MAAM,CAAC,WAAW;IAIlB,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM;IAChC,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,GAAG;IA2CnC,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM;;;;;;;;;;;;;IACjC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,GAAG;IA+BpC,SAAS,CAAC,GAAG,EAAE,MAAM;IAQrB,MAAM,CAAC,QAAQ;IAkGf,KAAK,IAAI,QAAQ;IAqBjB,MAAM;;;;;;;;;IAWN,QAAQ,CAAC,IAAI,EAAE,GAAG;IAelB,QAAQ,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAK,IAAI;IAgBrC,YAAY;IAIZ,cAAc,CAAC,GAAG,EAAE,eAAe;IAOnC,cAAc;IAEd,IAAI,IAAI,MAAM;IAaL,OAAO;CAOhB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@famibee/skynovel",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.1",
|
|
4
4
|
"description": "webgl novelgame framework",
|
|
5
5
|
"main": "core/web.js",
|
|
6
6
|
"types": "core/lib/index.d.ts",
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
"@types/electron-json-storage": "^4.5.0",
|
|
30
30
|
"@types/fs-extra": "^9.0.13",
|
|
31
31
|
"@types/mocha": "^9.0.0",
|
|
32
|
-
"@types/node": "^
|
|
32
|
+
"@types/node": "^17.0.0",
|
|
33
33
|
"@types/parsimmon": "^1.10.6",
|
|
34
34
|
"@types/platform": "^1.3.4",
|
|
35
35
|
"@types/power-assert": "^1.5.8",
|
|
36
36
|
"@types/store": "^2.0.2",
|
|
37
37
|
"@types/tar-fs": "^2.0.1",
|
|
38
38
|
"@types/xml2js": "^0.4.9",
|
|
39
|
-
"electron": "^16.0.
|
|
39
|
+
"electron": "^16.0.5",
|
|
40
40
|
"mocha": "^9.1.3",
|
|
41
41
|
"power-assert": "^1.6.1",
|
|
42
42
|
"rimraf": "^3.0.2",
|
|
43
43
|
"semantic-release": "^18.0.1",
|
|
44
44
|
"ts-loader": "^9.2.6",
|
|
45
45
|
"ts-node": "^10.4.0",
|
|
46
|
-
"typescript": "^4.5.
|
|
46
|
+
"typescript": "^4.5.4",
|
|
47
47
|
"webpack": "^5.65.0",
|
|
48
48
|
"webpack-cli": "^4.9.1",
|
|
49
49
|
"webpack-dev-server": "^4.6.0"
|