Letty sprites and NPC
This commit is contained in:
parent
8f3edcebb1
commit
aa5abc16b5
12 changed files with 230 additions and 0 deletions
55
Units/DownhillAutoscrollerRival2.tscn
Normal file
55
Units/DownhillAutoscrollerRival2.tscn
Normal file
|
@ -0,0 +1,55 @@
|
|||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://Scripts/Units/NPCUnit.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Graphics/Units/Letty/Move0.png" type="Texture" id=2]
|
||||
[ext_resource path="res://Graphics/Units/Letty/Move-1.png" type="Texture" id=3]
|
||||
[ext_resource path="res://Graphics/Units/Letty/Move+2.png" type="Texture" id=4]
|
||||
[ext_resource path="res://Graphics/Units/Letty/Move+1.png" type="Texture" id=5]
|
||||
[ext_resource path="res://Graphics/Units/Letty/Move-2.png" type="Texture" id=6]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 9, 34 )
|
||||
|
||||
[node name="Rival" type="Area2D"]
|
||||
z_index = 1
|
||||
collision_layer = 0
|
||||
script = ExtResource( 1 )
|
||||
unit_type = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 0, -36 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Idle" type="Sprite" parent="."]
|
||||
visible = false
|
||||
texture = ExtResource( 2 )
|
||||
offset = Vector2( 0, -48 )
|
||||
|
||||
[node name="Move0" type="Sprite" parent="."]
|
||||
visible = false
|
||||
texture = ExtResource( 2 )
|
||||
offset = Vector2( 0, -48 )
|
||||
|
||||
[node name="Move+1" type="Sprite" parent="."]
|
||||
visible = false
|
||||
texture = ExtResource( 5 )
|
||||
offset = Vector2( 0, -48 )
|
||||
|
||||
[node name="Move+2" type="Sprite" parent="."]
|
||||
visible = false
|
||||
texture = ExtResource( 4 )
|
||||
offset = Vector2( 0, -48 )
|
||||
|
||||
[node name="Move-1" type="Sprite" parent="."]
|
||||
visible = false
|
||||
texture = ExtResource( 3 )
|
||||
offset = Vector2( 0, -48 )
|
||||
|
||||
[node name="Move-2" type="Sprite" parent="."]
|
||||
visible = false
|
||||
texture = ExtResource( 6 )
|
||||
offset = Vector2( 0, -48 )
|
||||
script = ExtResource( 1 )
|
||||
unit_type = 2
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_Player_area_entered"]
|
Loading…
Add table
Add a link
Reference in a new issue