123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- [gd_scene load_steps=21 format=3 uid="uid://bdni5iw2j108j"]
- [ext_resource type="Script" path="res://grid_movement/pawns/walker.gd" id="1"]
- [ext_resource type="Texture2D" uid="uid://ba5rklp7brg7" path="res://grid_movement/pawns/character.png" id="2"]
- [ext_resource type="Texture2D" uid="uid://c7n37h1euodch" path="res://grid_movement/pawns/player_exploration.png" id="3"]
- [ext_resource type="Texture2D" uid="uid://c5mr2yqxvctld" path="res://grid_movement/pawns/player_exploration_bump.png" id="4"]
- [sub_resource type="Animation" id="3"]
- length = 0.001
- [sub_resource type="Animation" id="1"]
- resource_name = "bump"
- length = 0.25
- step = 0.01
- tracks/0/type = "value"
- tracks/0/imported = false
- tracks/0/enabled = true
- tracks/0/path = NodePath("Pivot/Sprite2D:position")
- tracks/0/interp = 1
- tracks/0/loop_wrap = true
- tracks/0/keys = {
- "times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25),
- "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
- "update": 0,
- "values": [Vector2(0, 0), Vector2(-0.6, -1), Vector2(1, 0.6), Vector2(-1.2, 1), Vector2(0.5, -0.5), Vector2(0, 0)]
- }
- tracks/1/type = "value"
- tracks/1/imported = false
- tracks/1/enabled = true
- tracks/1/path = NodePath("Pivot/Slime:position")
- tracks/1/interp = 1
- tracks/1/loop_wrap = true
- tracks/1/keys = {
- "times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25),
- "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
- "update": 0,
- "values": [Vector2(0, 0), Vector2(-3, -4), Vector2(2, 1.5), Vector2(-2.6, 2), Vector2(1.8, -1.9), Vector2(0, 0)]
- }
- tracks/2/type = "value"
- tracks/2/imported = false
- tracks/2/enabled = true
- tracks/2/path = NodePath("Pivot/Slime:scale")
- tracks/2/interp = 1
- tracks/2/loop_wrap = true
- tracks/2/keys = {
- "times": PackedFloat32Array(0, 0.25),
- "transitions": PackedFloat32Array(1, 1),
- "update": 0,
- "values": [Vector2(1, 1), Vector2(1, 1)]
- }
- tracks/3/type = "value"
- tracks/3/imported = false
- tracks/3/enabled = true
- tracks/3/path = NodePath("Pivot/Slime:texture")
- tracks/3/interp = 1
- tracks/3/loop_wrap = true
- tracks/3/keys = {
- "times": PackedFloat32Array(0, 0.24, 0.25),
- "transitions": PackedFloat32Array(1, 1, 1),
- "update": 1,
- "values": [ExtResource("4"), ExtResource("4"), ExtResource("3")]
- }
- [sub_resource type="Animation" id="4"]
- resource_name = "idle"
- length = 1.5
- loop_mode = 1
- tracks/0/type = "value"
- tracks/0/imported = false
- tracks/0/enabled = true
- tracks/0/path = NodePath("Pivot/Slime:position")
- tracks/0/interp = 1
- tracks/0/loop_wrap = true
- tracks/0/keys = {
- "times": PackedFloat32Array(0, 0.3, 0.7, 1.5),
- "transitions": PackedFloat32Array(1, 0.5, 2, 1),
- "update": 0,
- "values": [Vector2(0, 0), Vector2(0, 5), Vector2(0, -4.498), Vector2(0, 0)]
- }
- tracks/1/type = "value"
- tracks/1/imported = false
- tracks/1/enabled = true
- tracks/1/path = NodePath("Pivot/Slime:scale")
- tracks/1/interp = 1
- tracks/1/loop_wrap = true
- tracks/1/keys = {
- "times": PackedFloat32Array(0, 0.3, 0.7, 1.5),
- "transitions": PackedFloat32Array(1, 0.5, 2, 1),
- "update": 0,
- "values": [Vector2(1, 1), Vector2(1.125, 0.844), Vector2(0.906, 1.141), Vector2(1, 1)]
- }
- tracks/2/type = "value"
- tracks/2/imported = false
- tracks/2/enabled = false
- tracks/2/path = NodePath("Pivot/Slime:texture")
- tracks/2/interp = 1
- tracks/2/loop_wrap = true
- tracks/2/keys = {
- "times": PackedFloat32Array(0, 1.5),
- "transitions": PackedFloat32Array(1, 1),
- "update": 1,
- "values": [ExtResource("3"), ExtResource("3")]
- }
- [sub_resource type="Animation" id="2"]
- resource_name = "walk"
- length = 0.25
- step = 0.05
- tracks/0/type = "value"
- tracks/0/imported = false
- tracks/0/enabled = false
- tracks/0/path = NodePath("Pivot/Sprite2D:self_modulate")
- tracks/0/interp = 1
- tracks/0/loop_wrap = true
- tracks/0/keys = {
- "times": PackedFloat32Array(0, 0.1, 0.25),
- "transitions": PackedFloat32Array(1, 1, 1),
- "update": 0,
- "values": [Color(1, 1, 1, 1), Color(1, 0.9375, 0, 1), Color(1, 1, 1, 1)]
- }
- tracks/1/type = "value"
- tracks/1/imported = false
- tracks/1/enabled = true
- tracks/1/path = NodePath("Pivot/Sprite2D:position")
- tracks/1/interp = 1
- tracks/1/loop_wrap = true
- tracks/1/keys = {
- "times": PackedFloat32Array(0, 0.1, 0.15, 0.25),
- "transitions": PackedFloat32Array(1, 0.303143, 2.61003, 1),
- "update": 0,
- "values": [Vector2(1.43051e-06, -1.90735e-06), Vector2(1.43051e-06, -1.90735e-06), Vector2(0, -20), Vector2(1.43051e-06, -1.90735e-06)]
- }
- tracks/2/type = "value"
- tracks/2/imported = false
- tracks/2/enabled = true
- tracks/2/path = NodePath("Pivot/Sprite2D:scale")
- tracks/2/interp = 1
- tracks/2/loop_wrap = true
- tracks/2/keys = {
- "times": PackedFloat32Array(0, 0.05, 0.15, 0.25),
- "transitions": PackedFloat32Array(1, 0.354553, 1, 1),
- "update": 0,
- "values": [Vector2(1, 1), Vector2(1.20007, 0.917384), Vector2(0.916712, 1.13495), Vector2(1, 1)]
- }
- tracks/3/type = "value"
- tracks/3/imported = false
- tracks/3/enabled = true
- tracks/3/path = NodePath("Pivot/Slime:position")
- tracks/3/interp = 1
- tracks/3/loop_wrap = true
- tracks/3/keys = {
- "times": PackedFloat32Array(0, 0.1, 0.15, 0.25),
- "transitions": PackedFloat32Array(1, 0.378929, 2.63902, 1),
- "update": 0,
- "values": [Vector2(0, 0), Vector2(0, 0), Vector2(0, -20), Vector2(0, 0)]
- }
- tracks/4/type = "value"
- tracks/4/imported = false
- tracks/4/enabled = true
- tracks/4/path = NodePath("Pivot/Slime:scale")
- tracks/4/interp = 1
- tracks/4/loop_wrap = true
- tracks/4/keys = {
- "times": PackedFloat32Array(0, 0.05, 0.15, 0.25),
- "transitions": PackedFloat32Array(1, 0.353553, 1, 1),
- "update": 0,
- "values": [Vector2(1, 1), Vector2(1.2, 0.917), Vector2(0.917, 1.135), Vector2(1, 1)]
- }
- tracks/5/type = "value"
- tracks/5/imported = false
- tracks/5/enabled = false
- tracks/5/path = NodePath("Pivot/Slime:texture")
- tracks/5/interp = 1
- tracks/5/loop_wrap = true
- tracks/5/keys = {
- "times": PackedFloat32Array(0, 0.25),
- "transitions": PackedFloat32Array(1, 1),
- "update": 1,
- "values": [ExtResource("3"), ExtResource("3")]
- }
- [sub_resource type="AnimationLibrary" id="AnimationLibrary_yxglf"]
- _data = {
- "RESET": SubResource("3"),
- "bump": SubResource("1"),
- "idle": SubResource("4"),
- "walk": SubResource("2")
- }
- [sub_resource type="AnimationNodeAnimation" id="9"]
- animation = &"bump"
- [sub_resource type="AnimationNodeAnimation" id="7"]
- animation = &"idle"
- [sub_resource type="AnimationNodeAnimation" id="10"]
- animation = &"walk"
- [sub_resource type="AnimationNodeStateMachineTransition" id="11"]
- [sub_resource type="AnimationNodeStateMachineTransition" id="12"]
- [sub_resource type="AnimationNodeStateMachineTransition" id="13"]
- [sub_resource type="AnimationNodeStateMachineTransition" id="14"]
- [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_ed7tp"]
- advance_mode = 2
- [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_j3wgi"]
- advance_mode = 0
- [sub_resource type="AnimationNodeStateMachine" id="5"]
- states/End/position = Vector2(245, -15)
- states/Start/position = Vector2(-22, 84)
- states/bump/node = SubResource("9")
- states/bump/position = Vector2(139, 194)
- states/idle/node = SubResource("7")
- states/idle/position = Vector2(139, 36)
- states/walk/node = SubResource("10")
- states/walk/position = Vector2(310, 116)
- transitions = ["walk", "idle", SubResource("11"), "bump", "idle", SubResource("12"), "idle", "walk", SubResource("13"), "idle", "bump", SubResource("14"), "Start", "idle", SubResource("AnimationNodeStateMachineTransition_ed7tp"), "idle", "End", SubResource("AnimationNodeStateMachineTransition_j3wgi")]
- graph_offset = Vector2(-609, -158)
- [sub_resource type="AnimationNodeStateMachinePlayback" id="6"]
- [node name="Character" type="Node2D"]
- z_index = 1
- position = Vector2(32, 32)
- script = ExtResource("1")
- [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
- libraries = {
- "": SubResource("AnimationLibrary_yxglf")
- }
- [node name="Pivot" type="Marker2D" parent="."]
- [node name="Slime" type="Sprite2D" parent="Pivot"]
- position = Vector2(0, -4.37912)
- scale = Vector2(0.908741, 1.13728)
- texture = ExtResource("3")
- centered = false
- offset = Vector2(-32, -32)
- [node name="Sprite2D" type="Sprite2D" parent="Pivot"]
- visible = false
- self_modulate = Color(0, 0, 0, 1)
- scale = Vector2(1e-05, 1e-05)
- texture = ExtResource("2")
- centered = false
- offset = Vector2(-32, -32)
- [node name="AnimationTree" type="AnimationTree" parent="."]
- tree_root = SubResource("5")
- anim_player = NodePath("../AnimationPlayer")
- active = true
- parameters/playback = SubResource("6")
|