Fronter/Prison.tscn

57 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=9 format=2]
[ext_resource path="res://Bad.tscn" type="PackedScene" id=1]
[ext_resource path="res://Prison.gd" type="Script" id=2]
[ext_resource path="res://art/bad/prison/Star.png" type="Texture" id=3]
[ext_resource path="res://art/bad/prison/StarSmile.png" type="Texture" id=4]
[ext_resource path="res://art/bad/prison/Prison.png" type="Texture" id=5]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 3 ), ExtResource( 4 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="CapsuleShape2D" id=2]
custom_solver_bias = 0.0
radius = 367.866
height = 196.873
[sub_resource type="SpriteFrames" id=3]
animations = [ {
"frames": [ ExtResource( 5 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="Prison" groups=[
"enemies",
] instance=ExtResource( 1 )]
scale = Vector2( 0.2, 0.2 )
collision_layer = 4
script = ExtResource( 2 )
_sections_unfolded = [ "Collision", "Transform" ]
[node name="StarSprite" type="AnimatedSprite" parent="." index="0"]
frames = SubResource( 1 )
animation = "default"
[node name="CollisionBox" parent="." index="1"]
position = Vector2( 0, -40 )
shape = SubResource( 2 )
[node name="MainSprite" parent="." index="3"]
frames = SubResource( 3 )