| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- {
- "_resourceType": "actorPrefab",
- "id": "aa85a6c2-7d1b-4e7c-b0ff-d029b9ec31b7",
- "name": "ScaredGhost",
- "frame": 0,
- "animate": false,
- "spriteSheetId": "b98bf956-914f-4ee1-b828-5202d3645f05",
- "moveSpeed": 0.5,
- "animSpeed": 255,
- "paletteId": "",
- "persistent": true,
- "collisionGroup": "1",
- "script": [],
- "startScript": [],
- "updateScript": [
- {
- "command": "EVENT_IF_ACTOR_DIRECTION",
- "args": {
- "actorId": "$self$",
- "direction": {
- "type": "direction",
- "value": "left"
- },
- "__collapseElse": false
- },
- "children": {
- "true": [
- {
- "command": "EVENT_IF_ACTOR_DIRECTION",
- "args": {
- "actorId": "player",
- "direction": {
- "type": "direction",
- "value": "right"
- },
- "__collapseElse": false,
- "__collapse": true
- },
- "children": {
- "true": [
- {
- "command": "EVENT_ACTOR_PUSH",
- "args": {
- "continue": true,
- "__collapse": false
- },
- "id": "4232b47f-1516-4d50-ab3d-a3dc4dddd90c"
- }
- ],
- "false": [
- {
- "command": "EVENT_ACTOR_MOVE_TO",
- "args": {
- "actorId": "$self$",
- "x": {
- "type": "property",
- "target": "player",
- "property": "xpos"
- },
- "y": {
- "type": "property",
- "target": "player",
- "property": "ypos"
- },
- "moveType": "horizontal",
- "useCollisions": true,
- "__collapse": true
- },
- "id": "755b6143-ebb8-44a8-89ea-7f55bbc1dc7c"
- }
- ]
- },
- "id": "f32e07bf-ee81-4801-920d-31d42e52c838"
- }
- ],
- "false": [
- {
- "command": "EVENT_IF_ACTOR_DIRECTION",
- "args": {
- "actorId": "player",
- "direction": {
- "type": "direction",
- "value": "left"
- },
- "__collapseElse": false,
- "__collapse": false
- },
- "children": {
- "true": [
- {
- "command": "EVENT_ACTOR_PUSH",
- "args": {
- "continue": true
- },
- "id": "1a2ee7f5-d155-4206-bbb8-65b3191986c6"
- }
- ],
- "false": [
- {
- "command": "EVENT_ACTOR_MOVE_TO",
- "args": {
- "actorId": "$self$",
- "x": {
- "type": "property",
- "target": "player",
- "property": "xpos"
- },
- "y": {
- "type": "property",
- "target": "player",
- "property": "ypos"
- },
- "moveType": "horizontal",
- "useCollisions": true
- },
- "id": "8734042c-7911-4290-8f06-5c230b12b3ad"
- }
- ]
- },
- "id": "d8ea875a-f010-46b7-ba05-3433eaf6debc"
- }
- ]
- },
- "id": "2c237aed-fdfe-432d-b536-ff84d56b4500"
- }
- ],
- "hit1Script": [],
- "hit2Script": [],
- "hit3Script": []
- }
|