48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://ai/Script/ogre.gd" type="Script" id=1]
|
|
[ext_resource path="res://art/Ogre_Run.png" type="Texture" id=2]
|
|
[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]
|
|
|
|
[sub_resource type="RectangleShape2D" id=3]
|
|
extents = Vector2( 11.7397, 12.875 )
|
|
|
|
[sub_resource type="CapsuleShape2D" id=2]
|
|
radius = 12.0
|
|
height = 6.0
|
|
|
|
[node name="Ogre" type="KinematicBody2D"]
|
|
collision_layer = 4
|
|
collision_mask = 2147483655
|
|
collision/safe_margin = 2.518
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
position = Vector2( 0, -17 )
|
|
texture = ExtResource( 2 )
|
|
hframes = 4
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( -0.25, -12.25 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="DamageCD" type="Timer" parent="."]
|
|
wait_time = 0.5
|
|
one_shot = true
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
autoplay = "Run"
|
|
anims/Run = ExtResource( 4 )
|
|
|
|
[node name="AnimationPlayer2" type="AnimationPlayer" parent="."]
|
|
anims/Hit = ExtResource( 3 )
|
|
"anims/Ogre Hit" = ExtResource( 3 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
collision_layer = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2( -0.375, -11.625 )
|
|
shape = SubResource( 2 )
|