This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/Graphics/tgstation/sprites/Player.tscn

107 lines
2.8 KiB
Text
Raw Permalink Normal View History

2020-07-06 12:38:05 +00:00
[gd_scene load_steps=12 format=2]
[ext_resource path="res://Graphics/tgstation/player.png" type="Texture" id=1]
[sub_resource type="AnimationNodeAnimation" id=11]
animation = "left"
[sub_resource type="AnimationNodeAnimation" id=12]
animation = "right"
[sub_resource type="AnimationNodeAnimation" id=13]
animation = "up"
[sub_resource type="AnimationNodeAnimation" id=14]
animation = "down"
[sub_resource type="AnimationNodeBlendSpace2D" id=15]
blend_point_0/node = SubResource( 11 )
blend_point_0/pos = Vector2( -1, 0 )
blend_point_1/node = SubResource( 12 )
blend_point_1/pos = Vector2( 1, 0 )
blend_point_2/node = SubResource( 13 )
blend_point_2/pos = Vector2( 0, -1 )
blend_point_3/node = SubResource( 14 )
blend_point_3/pos = Vector2( 0, 1 )
blend_mode = 1
[sub_resource type="AnimationNodeBlendTree" id=16]
graph_offset = Vector2( -794.59, 0 )
nodes/direction/node = SubResource( 15 )
nodes/direction/position = Vector2( -160, 140 )
nodes/output/position = Vector2( 200, 140 )
node_connections = [ "output", 0, "direction" ]
[sub_resource type="Animation" id=7]
tracks/0/type = "value"
tracks/0/path = NodePath(".:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Rect2( 0, 32, 32, 32 ) ]
}
[sub_resource type="Animation" id=8]
tracks/0/type = "value"
tracks/0/path = NodePath(".:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Rect2( 0, 0, 32, 32 ) ]
}
[sub_resource type="Animation" id=9]
tracks/0/type = "value"
tracks/0/path = NodePath(".:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Rect2( 32, 32, 32, 32 ) ]
}
[sub_resource type="Animation" id=10]
tracks/0/type = "value"
tracks/0/path = NodePath(".:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Rect2( 32, 0, 32, 32 ) ]
}
[node name="Sprite" type="Sprite"]
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 0, 32, 32, 32 )
[node name="AnimationTree" type="AnimationTree" parent="."]
tree_root = SubResource( 16 )
anim_player = NodePath("../AnimationPlayer")
active = true
parameters/direction/blend_position = Vector2( -0.00416231, 0.751938 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/down = SubResource( 7 )
anims/left = SubResource( 8 )
anims/right = SubResource( 9 )
anims/up = SubResource( 10 )