@wwawing/assets 4.0.22 → 4.0.23

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/exe/node.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwawing/assets",
3
- "version": "4.0.22",
3
+ "version": "4.0.23",
4
4
  "description": "WWA Wing asset files",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -32,5 +32,5 @@
32
32
  "node": ">=24",
33
33
  "npm": ">=11"
34
34
  },
35
- "gitHead": "d6b3847a659b87796a5eef8ec85a697ee607fe94"
35
+ "gitHead": "a66cb87d90df081e6619cd7323d6bb6838d9f0d7"
36
36
  }
package/script/defined.js CHANGED
@@ -47,6 +47,24 @@ function CALL_PUSH_ESC() {
47
47
  MSG("ESC keyが押されました")
48
48
  }
49
49
 
50
+ /** 数字の9ボタンを長押しした際に呼ばれる関数 */
51
+ function CALL_HOLD_9() {
52
+ PICTURE(1, {
53
+ pos: [220, 220],
54
+ timeFrame: 80 / 2,
55
+ img: [3, 3],
56
+ move: [0, 2],
57
+ zoom: [0.5, 0.5],
58
+ fade: -(200 / 80),
59
+ anchor: 5
60
+ });
61
+ }
62
+
63
+ /** 数字の9ボタンの長押しをやめた際に呼ばれる関数 */
64
+ function CALL_HOLD_RELEASE_9() {
65
+ MSG("9 keyの長押しが解除されました");
66
+ }
67
+
50
68
  /** WWAを開始した際に呼ばれる関数 */
51
69
  function CALL_WWA_START() {
52
70
  MSG("ゲームを開始します")