|
@@ -0,0 +1,125 @@
|
|
|
|
|
+{
|
|
|
|
|
+ "_resourceType": "actorPrefab",
|
|
|
|
|
+ "id": "7986c989-257a-42ed-b7b2-c7fa98b2d341",
|
|
|
|
|
+ "name": "Enemy",
|
|
|
|
|
+ "frame": 0,
|
|
|
|
|
+ "animate": false,
|
|
|
|
|
+ "spriteSheetId": "6a3ea647-7795-4ffc-8ca4-e056183a118b",
|
|
|
|
|
+ "moveSpeed": 1,
|
|
|
|
|
+ "animSpeed": 63,
|
|
|
|
|
+ "paletteId": "",
|
|
|
|
|
+ "persistent": false,
|
|
|
|
|
+ "collisionGroup": "1",
|
|
|
|
|
+ "script": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "command": "EVENT_CALL_CUSTOM_EVENT",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "customEventId": "e6cd7f23-a889-4a99-b34c-c456ab3544f8",
|
|
|
|
|
+ "__collapse": true
|
|
|
|
|
+ },
|
|
|
|
|
+ "id": "2bec348c-655f-4361-bb5e-0fb756c5cc6d"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "command": "EVENT_ACTOR_SHOW",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "actorId": "$self$"
|
|
|
|
|
+ },
|
|
|
|
|
+ "id": "ff75e578-c0a4-4655-8f51-a20a29d79ca3"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "command": "EVENT_CALL_CUSTOM_EVENT",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "customEventId": "c2777a9d-6cd0-4810-a953-3c4e1affe5b7",
|
|
|
|
|
+ "__collapse": false
|
|
|
|
|
+ },
|
|
|
|
|
+ "id": "803eb88b-c817-400a-8031-5a04c9cb96ff"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "command": "EVENT_TEXT",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "text": [
|
|
|
|
|
+ "Behold! A Monster!"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "__section": "text",
|
|
|
|
|
+ "avatarId": "",
|
|
|
|
|
+ "minHeight": 4,
|
|
|
|
|
+ "maxHeight": 7,
|
|
|
|
|
+ "textX": 1,
|
|
|
|
|
+ "textY": 1,
|
|
|
|
|
+ "textHeight": 5,
|
|
|
|
|
+ "position": "bottom",
|
|
|
|
|
+ "clearPrevious": true,
|
|
|
|
|
+ "showFrame": "true",
|
|
|
|
|
+ "speedIn": -1,
|
|
|
|
|
+ "speedOut": -1,
|
|
|
|
|
+ "closeWhen": "key",
|
|
|
|
|
+ "closeButton": "a",
|
|
|
|
|
+ "closeDelayTime": 0.5,
|
|
|
|
|
+ "closeDelayFrames": 30,
|
|
|
|
|
+ "__collapse": true
|
|
|
|
|
+ },
|
|
|
|
|
+ "id": "0e38410b-58c8-46ac-bf17-775646396266"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "command": "EVENT_LOOP_WHILE",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "condition": {
|
|
|
|
|
+ "type": "expression",
|
|
|
|
|
+ "value": "$01$ > 0"
|
|
|
|
|
+ },
|
|
|
|
|
+ "__collapse": false
|
|
|
|
|
+ },
|
|
|
|
|
+ "children": {
|
|
|
|
|
+ "true": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "command": "EVENT_CALL_CUSTOM_EVENT",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "customEventId": "c2777a9d-6cd0-4810-a953-3c4e1affe5b7",
|
|
|
|
|
+ "__collapse": false
|
|
|
|
|
+ },
|
|
|
|
|
+ "id": "ec9f8ed9-b53e-4071-ab7e-4d45cdc2658d"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "command": "EVENT_CALL_CUSTOM_EVENT",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "customEventId": "5a060925-e335-4b93-8af5-2a63051e70e8",
|
|
|
|
|
+ "$variable[V0]$": {
|
|
|
|
|
+ "type": "variable",
|
|
|
|
|
+ "value": "0"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "id": "4bc160c7-ed9f-43d1-86b0-c3d3bc140793"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "command": "EVENT_CALL_CUSTOM_EVENT",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "customEventId": "4e18c992-1d59-4174-b94b-0db3d744aa3d"
|
|
|
|
|
+ },
|
|
|
|
|
+ "id": "e6742bcd-fe7d-415f-8433-c63568541dea"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ "id": "78d3300d-fb2e-4295-85c6-30c87dc38ab6"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "command": "EVENT_ACTOR_DEACTIVATE",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "actorId": "$self$",
|
|
|
|
|
+ "__collapse": true
|
|
|
|
|
+ },
|
|
|
|
|
+ "id": "9fa45752-0a6b-4f73-9047-28692648e26f"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "command": "EVENT_ACTOR_HIDE",
|
|
|
|
|
+ "args": {
|
|
|
|
|
+ "actorId": "$self$"
|
|
|
|
|
+ },
|
|
|
|
|
+ "id": "14ac7d7f-94fd-492f-80b0-2c40540b4e56"
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "startScript": [],
|
|
|
|
|
+ "updateScript": [],
|
|
|
|
|
+ "hit1Script": [],
|
|
|
|
|
+ "hit2Script": [],
|
|
|
|
|
+ "hit3Script": []
|
|
|
|
|
+}
|