the-crypt/ai/Scenes/ogre.tscn

48 lines
1.4 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
2020-07-23 23:04:24 -05:00
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 11.7397, 12.875 )
2020-07-19 23:45:39 -05:00
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 14:43:42 -05:00
collision_mask = 2147483655
2020-07-23 15:32:05 -05:00
collision/safe_margin = 2.518
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
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2020-07-23 23:04:24 -05:00
position = Vector2( -0.25, -12.25 )
shape = SubResource( 3 )
2020-07-19 23:45:39 -05:00
[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="."]
collision_layer = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
2020-07-23 23:04:24 -05:00
position = Vector2( -0.375, -11.625 )
2020-07-21 15:50:32 -05:00
shape = SubResource( 2 )