the-crypt/ai/Scenes/ogre.tscn

50 lines
1.3 KiB
Plaintext
Raw Normal View History

2020-07-21 14:50:04 -05:00
[gd_scene load_steps=7 format=2]
2020-07-19 23:45:39 -05:00
2020-07-21 23:22:33 -05:00
[ext_resource path="res://ai/Script/ogre.gd" type="Script" id=1]
2020-07-19 23:45:39 -05:00
[ext_resource path="res://art/Ogre_Run.png" type="Texture" id=2]
2020-07-21 14:50:04 -05:00
[ext_resource path="res://Music and Fonts(Misc.)/Ogre Hit.tres" type="Animation" id=3]
[ext_resource path="res://Music and Fonts(Misc.)/Ogre Run.tres" type="Animation" id=4]
2020-07-19 23:45:39 -05:00
[sub_resource type="CapsuleShape2D" id=1]
height = 4.0
2020-07-21 15:50:32 -05:00
[sub_resource type="CapsuleShape2D" id=2]
2020-07-20 14:24:15 -05:00
radius = 12.0
height = 6.0
2020-07-19 23:45:39 -05:00
[node name="Ogre" type="KinematicBody2D"]
collision_layer = 4
2020-07-23 13:43:07 -05:00
collision_mask = 2147483663
2020-07-19 23:45:39 -05:00
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, -17 )
texture = ExtResource( 2 )
hframes = 4
2020-07-23 13:43:07 -05:00
frame = 3
2020-07-19 23:45:39 -05:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2020-07-21 14:50:04 -05:00
visible = false
2020-07-19 23:45:39 -05:00
position = Vector2( 1, -12 )
shape = SubResource( 1 )
[node name="DamageCD" type="Timer" parent="."]
wait_time = 0.5
one_shot = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "Run"
2020-07-21 14:50:04 -05:00
anims/Run = ExtResource( 4 )
[node name="AnimationPlayer2" type="AnimationPlayer" parent="."]
anims/Hit = ExtResource( 3 )
"anims/Ogre Hit" = ExtResource( 3 )
2020-07-20 14:24:15 -05:00
[node name="Area2D" type="Area2D" parent="."]
2020-07-21 14:50:04 -05:00
visible = false
2020-07-20 14:24:15 -05:00
collision_layer = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( 1, -13 )
2020-07-21 15:50:32 -05:00
shape = SubResource( 2 )