-
Notifications
You must be signed in to change notification settings - Fork 1
/
player.tscn
44 lines (36 loc) · 1.33 KB
/
player.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[gd_scene load_steps=6 format=2]
[ext_resource path="res://scripts/player.gd" type="Script" id=1]
[ext_resource path="res://assets/elephant-1.png" type="Texture" id=2]
[ext_resource path="res://assets/elephant-2.png" type="Texture" id=3]
[ext_resource path="res://assets/elephant-0.png" type="Texture" id=4]
[ext_resource path="res://assets/elephant-3.png" type="Texture" id=5]
[node name="player" type="Node2D"]
z_index = 1
script = ExtResource( 1 )
[node name="helper" type="Polygon2D" parent="."]
visible = false
position = Vector2( 0, -110 )
polygon = PoolVector2Array( 0, 0, 96, 55, 0, 110, -96, 55 )
__meta__ = {
"_editor_description_": "helper polygon"
}
[node name="sprite" type="Node2D" parent="."]
scale = Vector2( 0.5, 0.5 )
__meta__ = {
"_editor_description_": "the player origin is on the bottom middle of the iso square. so we shift the sprites up "
}
[node name="sprite0" type="Sprite" parent="sprite"]
visible = false
position = Vector2( 32, -190 )
texture = ExtResource( 4 )
[node name="sprite1" type="Sprite" parent="sprite"]
visible = false
position = Vector2( 16, -166 )
texture = ExtResource( 2 )
[node name="sprite2" type="Sprite" parent="sprite"]
visible = false
position = Vector2( -26, -176 )
texture = ExtResource( 3 )
[node name="sprite3" type="Sprite" parent="sprite"]
position = Vector2( -22, -188 )
texture = ExtResource( 5 )