40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
|
[gd_scene load_steps=7 format=2]
|
||
|
|
||
|
[ext_resource path="res://Units/DownhillAutoscrollerNPC.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://Graphics/Units/NPC.png" type="Texture" id=2]
|
||
|
[ext_resource path="res://Graphics/Animations/NPCWalk.tres" type="SpriteFrames" id=3]
|
||
|
[ext_resource path="res://Graphics/Units/NPCJump2.png" type="Texture" id=4]
|
||
|
[ext_resource path="res://Graphics/Units/NPCJump1.png" type="Texture" id=5]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id=1]
|
||
|
extents = Vector2( 6, 14 )
|
||
|
|
||
|
[node name="NPC" type="Area2D"]
|
||
|
collision_mask = 2
|
||
|
script = ExtResource( 1 )
|
||
|
unit_type = 1
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
position = Vector2( 0, -14 )
|
||
|
shape = SubResource( 1 )
|
||
|
|
||
|
[node name="Idle" type="Sprite" parent="."]
|
||
|
visible = false
|
||
|
texture = ExtResource( 2 )
|
||
|
offset = Vector2( 0, -15 )
|
||
|
|
||
|
[node name="Jump1" type="Sprite" parent="."]
|
||
|
visible = false
|
||
|
texture = ExtResource( 5 )
|
||
|
offset = Vector2( 0, -15 )
|
||
|
|
||
|
[node name="Jump2" type="Sprite" parent="."]
|
||
|
visible = false
|
||
|
texture = ExtResource( 4 )
|
||
|
offset = Vector2( 0, -15 )
|
||
|
|
||
|
[node name="Walk" type="AnimatedSprite" parent="."]
|
||
|
visible = false
|
||
|
frames = ExtResource( 3 )
|
||
|
offset = Vector2( 0, -15 )
|