{
    "type": "character",
    "name": "Wisp",
    "parts": [
        {
            "name": "body",
            "anchor": {"x": 0.5, "y": 0.5},
            "position": {"x": 0, "y": 0},
            "rotation": 0,
            "scale": {"x": 1, "y": 1},
            "defaultTexture": "./media/images/wisp/wisp1.png",
            "animations": {
                "walk": [
                    "./media/images/wisp/wisp1.png",
                    "./media/images/wisp/wisp1.png",
                    "./media/images/wisp/wisp2.png",
                    "./media/images/wisp/wisp2.png",
                    "./media/images/wisp/wisp3.png",
                    "./media/images/wisp/wisp3.png",
                    "./media/images/wisp/wisp2.png",
                    "./media/images/wisp/wisp2.png"
                ]
            }
        }
    ],
    "components": {
        "BodyComponent": {
            "allowMultipleCollide": false,
            "shapes": [
                {
                    "name": "body",
                    "offset": {"x": 0, "y": 0},
                    "offsetRotation": 0,
                    "circle": {
                        "radius": 12
                    }
                }
            ]
        },
        "MovementComponent": {
            "friction": {
                "x": 0,
                "y": 0
            }
        },
        "CollisionComponent": {
            "collidesWith": {
                "tiles": false,
                "objects": true
            },
            "resolveFor": {
                "tiles": false,
                "objects": false
            },
            "groups": [
                "enemy"
            ],
            "targetAndGroups": [
            ],
            "targetOrGroups": [
                "ally"
            ]
        },
        "StatsComponent": {
            "acceleration": {"x": 2.5, "y": 2.5},
            "maxMoveSpeed": {"x": 60, "y": 60},
            "gravity": {
                "x": 0,
                "y": 0
            },
            "maxHitPoints": 1,
            "damage": 1,
            "force": 100
        },
        "ScriptsComponent": {
            "sensorBodyCollide": ["BodyAttack"],
            "justDeath": ["RemoveOnDeath"]
        },
        "ActionComponent": {
            "actions": ["WalkLeft", "WalkRight", "FlyUp", "FlyDown"]
        },
        "AnimationComponent": {},
        "AIComponent": {
            "scripts": ["WispAI", "TargetRadiusAI"]
        },
        "LayerComponent": {
            "layer": "projectile"
        },
        "SfxComponent": {}
    }
}