diff --git a/2d/skeleton/README.md b/2d/skeleton/README.md index 7c0fb931ee..ae42dc8d03 100644 --- a/2d/skeleton/README.md +++ b/2d/skeleton/README.md @@ -6,7 +6,7 @@ there is a simple character controller that controls the animations. Language: GDScript -Renderer: GLES 2 +Renderer: GL Compatibility Check out this demo on the asset library: https://godotengine.org/asset-library/asset/1027 diff --git a/2d/skeleton/level.tscn b/2d/skeleton/level.tscn index 00ca6bbd12..a963a36ad1 100644 --- a/2d/skeleton/level.tscn +++ b/2d/skeleton/level.tscn @@ -1,779 +1,29 @@ -[gd_scene load_steps=21 format=3 uid="uid://b0dcakpphuuc5"] +[gd_scene load_steps=5 format=3 uid="uid://b0dcakpphuuc5"] -[ext_resource type="Script" path="res://level/level.gd" id="1"] -[ext_resource type="Texture2D" uid="uid://b54eod3j4xx34" path="res://level/tileset/tiles_demo.png" id="2"] -[ext_resource type="PackedScene" path="res://level/background.tscn" id="3"] -[ext_resource type="PackedScene" path="res://player/player.tscn" id="4"] - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_rab6l"] -texture = ExtResource("2") -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_o7puq"] -texture = ExtResource("2") -margins = Vector2i(32, 0) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_j5g0l"] -texture = ExtResource("2") -margins = Vector2i(160, 32) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_uyp8g"] -texture = ExtResource("2") -margins = Vector2i(128, 64) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ds0a0"] -texture = ExtResource("2") -margins = Vector2i(128, 32) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_4ksjb"] -texture = ExtResource("2") -margins = Vector2i(128, 96) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ubcc7"] -texture = ExtResource("2") -margins = Vector2i(128, 0) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_f777p"] -texture = ExtResource("2") -margins = Vector2i(64, 64) -texture_region_size = Vector2i(32, 64) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(32, 38, 32, 64, 0, 64, 0, 6) -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(32, 38, 32, 64, 0, 64, 0, 6) -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(32, 38, 32, 64, 0, 64, 0, 6) -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(32, 38, 32, 64, 0, 64, 0, 6) -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(32, 38, 32, 64, 0, 64, 0, 6) -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(32, 38, 32, 64, 0, 64, 0, 6) -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(32, 38, 32, 64, 0, 64, 0, 6) -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(32, 38, 32, 64, 0, 64, 0, 6) - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_oeweg"] -texture = ExtResource("2") -margins = Vector2i(32, 32) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 32, 0, 32) -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 32, 0, 32) -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 32, 0, 32) -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 32, 0, 32) -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 32, 0, 32) -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 32, 0, 32) -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 32, 0, 32) -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 32, 0, 32) - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_pq75v"] -texture = ExtResource("2") -margins = Vector2i(32, 64) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(28, 6, 32, 6, 32, 32, 0, 32, 0, 0, 28, 0) -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(28, 6, 32, 6, 32, 32, 0, 32, 0, 0, 28, 0) -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(28, 6, 32, 6, 32, 32, 0, 32, 0, 0, 28, 0) -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(28, 6, 32, 6, 32, 32, 0, 32, 0, 0, 28, 0) -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(28, 6, 32, 6, 32, 32, 0, 32, 0, 0, 28, 0) -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(28, 6, 32, 6, 32, 32, 0, 32, 0, 0, 28, 0) -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(28, 6, 32, 6, 32, 32, 0, 32, 0, 0, 28, 0) -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(28, 6, 32, 6, 32, 32, 0, 32, 0, 0, 28, 0) - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_7bhqb"] -texture = ExtResource("2") -margins = Vector2i(64, 0) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/0/physics_layer_0/polygon_0/one_way = true -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/1/physics_layer_0/polygon_0/one_way = true -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/2/physics_layer_0/polygon_0/one_way = true -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/3/physics_layer_0/polygon_0/one_way = true -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/4/physics_layer_0/polygon_0/one_way = true -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/5/physics_layer_0/polygon_0/one_way = true -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/6/physics_layer_0/polygon_0/one_way = true -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 32, 6, 32, 32, 0, 32) -0:0/7/physics_layer_0/polygon_0/one_way = true - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_rss6p"] -texture = ExtResource("2") -margins = Vector2i(96, 0) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/0/physics_layer_0/polygon_0/one_way = true -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/1/physics_layer_0/polygon_0/one_way = true -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/2/physics_layer_0/polygon_0/one_way = true -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/3/physics_layer_0/polygon_0/one_way = true -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/4/physics_layer_0/polygon_0/one_way = true -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/5/physics_layer_0/polygon_0/one_way = true -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/6/physics_layer_0/polygon_0/one_way = true -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(0, 6, 28, 6, 28, 32, 0, 32) -0:0/7/physics_layer_0/polygon_0/one_way = true - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_do6p2"] -texture = ExtResource("2") -margins = Vector2i(0, 32) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 32, 0, 32) - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ju8am"] -texture = ExtResource("2") -margins = Vector2i(192, 32) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 24, 0, 24) -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 24, 0, 24) -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 24, 0, 24) -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 24, 0, 24) -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 24, 0, 24) -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 24, 0, 24) -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 24, 0, 24) -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 32, 0, 32, 24, 0, 24) - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_7h7mc"] -texture = ExtResource("2") -margins = Vector2i(224, 32) -texture_region_size = Vector2i(32, 32) -0:0/next_alternative_id = 8 -0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 -0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 24, 0, 24) -0:0/1 = 1 -0:0/1/flip_h = true -0:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/1/physics_layer_0/angular_velocity = 0.0 -0:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 24, 0, 24) -0:0/2 = 2 -0:0/2/flip_v = true -0:0/2/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/2/physics_layer_0/angular_velocity = 0.0 -0:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 24, 0, 24) -0:0/3 = 3 -0:0/3/flip_h = true -0:0/3/flip_v = true -0:0/3/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/3/physics_layer_0/angular_velocity = 0.0 -0:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 24, 0, 24) -0:0/4 = 4 -0:0/4/transpose = true -0:0/4/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/4/physics_layer_0/angular_velocity = 0.0 -0:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 24, 0, 24) -0:0/5 = 5 -0:0/5/flip_h = true -0:0/5/transpose = true -0:0/5/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/5/physics_layer_0/angular_velocity = 0.0 -0:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 24, 0, 24) -0:0/6 = 6 -0:0/6/flip_v = true -0:0/6/transpose = true -0:0/6/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/6/physics_layer_0/angular_velocity = 0.0 -0:0/6/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 24, 0, 24) -0:0/7 = 7 -0:0/7/flip_h = true -0:0/7/flip_v = true -0:0/7/transpose = true -0:0/7/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/7/physics_layer_0/angular_velocity = 0.0 -0:0/7/physics_layer_0/polygon_0/points = PackedVector2Array(0, 0, 28, 0, 28, 24, 0, 24) - -[sub_resource type="TileSet" id="13"] -physics_layer_0/collision_layer = 1 -sources/0 = SubResource("TileSetAtlasSource_rab6l") -sources/1 = SubResource("TileSetAtlasSource_o7puq") -sources/2 = SubResource("TileSetAtlasSource_f777p") -sources/3 = SubResource("TileSetAtlasSource_oeweg") -sources/4 = SubResource("TileSetAtlasSource_pq75v") -sources/5 = SubResource("TileSetAtlasSource_7bhqb") -sources/6 = SubResource("TileSetAtlasSource_rss6p") -sources/7 = SubResource("TileSetAtlasSource_do6p2") -sources/8 = SubResource("TileSetAtlasSource_ju8am") -sources/9 = SubResource("TileSetAtlasSource_7h7mc") -sources/10 = SubResource("TileSetAtlasSource_j5g0l") -sources/11 = SubResource("TileSetAtlasSource_uyp8g") -sources/12 = SubResource("TileSetAtlasSource_ds0a0") -sources/13 = SubResource("TileSetAtlasSource_4ksjb") -sources/14 = SubResource("TileSetAtlasSource_ubcc7") +[ext_resource type="TileSet" uid="uid://dlu6wo1aknvai" path="res://level/tileset/tileset.tres" id="1_0yenw"] +[ext_resource type="Script" path="res://level/level.gd" id="1_bccge"] +[ext_resource type="PackedScene" uid="uid://c1n07vnm2brb8" path="res://level/parallax_background.tscn" id="3"] +[ext_resource type="PackedScene" uid="uid://c657hgr7fcptm" path="res://player/player.tscn" id="4"] [node name="Level" type="Node2D"] process_mode = 1 -script = ExtResource("1") +script = ExtResource("1_bccge") [node name="TileMap" type="TileMap" parent="."] -tile_set = SubResource("13") +position = Vector2(-96, 34) +tile_set = ExtResource("1_0yenw") format = 2 -layer_0/tile_data = PackedInt32Array(-65546, 1, 65536, -65545, 1, 0, -131044, 1, 65536, -131043, 1, 0, -10, 3, 65536, -9, 3, 0, -65508, 3, 65536, -65507, 3, 0, 65526, 3, 65536, 65527, 3, 0, 28, 3, 65536, 29, 3, 0, 131062, 3, 65536, 131063, 3, 0, 131069, 6, 65536, 131070, 5, 0, 131071, 5, 0, 65536, 5, 0, 65537, 5, 0, 65538, 5, 0, 65539, 5, 0, 65540, 6, 0, 65564, 3, 65536, 65565, 3, 0, 196598, 3, 65536, 196599, 3, 0, 131080, 1, 65536, 131081, 0, 0, 131082, 0, 0, 131083, 0, 0, 131084, 0, 0, 131085, 1, 0, 131100, 3, 65536, 131101, 3, 0, 262134, 3, 65536, 262135, 3, 0, 196616, 9, 65536, 196617, 8, 0, 196618, 8, 0, 196619, 8, 0, 196620, 8, 0, 196621, 9, 0, 196626, 1, 65536, 196627, 0, 0, 196628, 0, 0, 196629, 0, 0, 196630, 0, 0, 196631, 0, 0, 196632, 0, 0, 196633, 0, 0, 196634, 0, 0, 196635, 0, 0, 196636, 4, 65536, 196637, 3, 0, 327670, 3, 65536, 327671, 3, 0, 262149, 6, 65536, 262150, 6, 0, 262162, 9, 65536, 262163, 8, 65536, 262164, 8, 65536, 262165, 8, 65536, 262166, 8, 65536, 262167, 10, 65536, 262168, 7, 0, 262169, 7, 0, 262170, 7, 0, 262171, 7, 0, 262172, 7, 0, 262173, 3, 0, 393206, 3, 65536, 393207, 3, 0, 327682, 6, 65536, 327683, 6, 0, 327703, 9, 65536, 327704, 8, 65536, 327705, 10, 65536, 327706, 7, 0, 327707, 7, 0, 327708, 7, 0, 327709, 3, 0, 458742, 3, 65536, 458743, 4, 0, 458744, 0, 0, 458745, 0, 0, 458746, 1, 0, 393241, 9, 65536, 393242, 8, 65536, 393243, 8, 65536, 393244, 10, 65536, 393245, 3, 0, 524278, 3, 65536, 524279, 7, 65536, 524280, 7, 65536, 524281, 7, 65536, 524282, 3, 0, 458754, 1, 65536, 458755, 0, 0, 458756, 0, 0, 458757, 2, 0, 458764, 1, 65536, 458765, 1, 0, 458780, 3, 65536, 458781, 3, 0, 589814, 3, 65536, 589815, 7, 65536, 589816, 7, 65536, 589817, 7, 65536, 589818, 3, 0, 524290, 3, 65536, 524291, 7, 0, 524292, 7, 0, 524294, 0, 65536, 524295, 0, 65536, 524296, 0, 65536, 524297, 0, 65536, 524298, 0, 65536, 524299, 0, 65536, 524300, 4, 65536, 524301, 3, 0, 524316, 3, 65536, 524317, 3, 0, 655350, 3, 65536, 655351, 7, 65536, 655352, 7, 65536, 655353, 7, 65536, 655354, 3, 0, 589826, 3, 65536, 589827, 7, 0, 589828, 7, 0, 589829, 7, 0, 589830, 7, 0, 589831, 7, 0, 589832, 7, 0, 589833, 7, 0, 589834, 7, 0, 589835, 7, 0, 589836, 7, 0, 589837, 4, 0, 589838, 0, 0, 589839, 1, 0, 589841, 6, 65536, 589842, 5, 0, 589843, 6, 0, 589852, 3, 65536, 589853, 3, 0, 720886, 3, 65536, 720887, 7, 65536, 720888, 7, 65536, 720889, 7, 65536, 720890, 3, 0, 655362, 9, 65536, 655363, 8, 65536, 655364, 8, 65536, 655365, 8, 65536, 655366, 8, 65536, 655367, 8, 65536, 655368, 8, 65536, 655369, 8, 65536, 655370, 8, 65536, 655371, 8, 65536, 655372, 8, 65536, 655373, 8, 65536, 655374, 8, 65536, 655375, 9, 0, 655381, 6, 65536, 655382, 5, 0, 655383, 6, 0, 655388, 3, 65536, 655389, 3, 0, 786422, 3, 65536, 786423, 7, 65536, 786424, 7, 65536, 786425, 7, 65536, 786426, 3, 0, 720924, 3, 65536, 720925, 3, 0, 851958, 3, 65536, 851959, 7, 65536, 851960, 7, 65536, 851961, 7, 65536, 851962, 3, 0, 786456, 6, 65536, 786457, 5, 65536, 786458, 6, 0, 786460, 3, 65536, 786461, 3, 0, 917494, 3, 65536, 917495, 7, 65536, 917496, 7, 65536, 917497, 7, 65536, 917498, 4, 0, 917499, 0, 0, 917500, 0, 0, 917501, 0, 0, 917502, 0, 0, 917503, 0, 0, 851968, 0, 0, 851969, 1, 0, 851996, 3, 65536, 851997, 3, 0, 983030, 3, 65536, 983031, 7, 65536, 983032, 7, 65536, 983033, 7, 65536, 983034, 7, 65536, 983035, 7, 65536, 983036, 7, 65536, 983037, 7, 65536, 983038, 7, 65536, 983039, 7, 65536, 917504, 7, 65536, 917505, 3, 0, 917526, 1, 65536, 917527, 0, 65536, 917528, 0, 65536, 917529, 0, 0, 917530, 0, 65536, 917531, 0, 65536, 917532, 4, 65536, 917533, 3, 0, 1048566, 3, 65536, 1048567, 7, 65536, 1048568, 7, 65536, 1048569, 7, 65536, 1048570, 7, 65536, 1048571, 7, 65536, 1048572, 7, 65536, 1048573, 7, 65536, 1048574, 7, 65536, 1048575, 7, 65536, 983040, 7, 65536, 983041, 3, 0, 983057, 6, 65536, 983058, 5, 0, 983059, 6, 0, 983062, 3, 65536, 983063, 7, 0, 983064, 7, 0, 983065, 7, 0, 983066, 7, 0, 983067, 7, 0, 983068, 7, 0, 983069, 3, 0, 1114102, 3, 65536, 1114103, 7, 65536, 1114104, 7, 65536, 1114105, 7, 65536, 1114106, 7, 65536, 1114107, 7, 65536, 1114108, 7, 65536, 1114109, 7, 65536, 1114110, 7, 65536, 1114111, 7, 65536, 1048576, 7, 65536, 1048577, 3, 0, 1048579, 14, 65536, 1048598, 3, 65536, 1048599, 7, 0, 1048600, 7, 0, 1048601, 7, 0, 1048602, 7, 0, 1048603, 7, 0, 1048604, 7, 0, 1048605, 3, 0, 1179638, 3, 65536, 1179639, 7, 65536, 1179640, 7, 65536, 1179641, 7, 65536, 1179642, 7, 65536, 1179643, 7, 65536, 1179644, 7, 65536, 1179645, 7, 65536, 1179646, 7, 65536, 1179647, 7, 65536, 1114112, 7, 65536, 1114113, 4, 0, 1114114, 0, 0, 1114115, 13, 65536, 1114116, 0, 0, 1114117, 2, 0, 1114123, 14, 65536, 1114126, 6, 65536, 1114127, 5, 0, 1114128, 6, 0, 1114133, 2, 65536, 1114134, 4, 65536, 1114135, 7, 0, 1114136, 7, 0, 1114137, 7, 0, 1114138, 7, 0, 1114139, 7, 0, 1114140, 7, 0, 1114141, 3, 0, 1245174, 3, 65536, 1245175, 7, 65536, 1245176, 7, 65536, 1245177, 7, 65536, 1245178, 7, 65536, 1245179, 7, 65536, 1245180, 7, 65536, 1245181, 7, 65536, 1245182, 7, 65536, 1245183, 7, 65536, 1179648, 7, 65536, 1179649, 7, 65536, 1179650, 7, 65536, 1179651, 7, 65536, 1179652, 7, 0, 1179654, 2, 0, 1179658, 1, 65536, 1179659, 13, 65536, 1179660, 1, 0, 1179668, 2, 65536, 1179670, 7, 0, 1179671, 7, 0, 1179672, 7, 0, 1179673, 7, 0, 1179674, 7, 0, 1179675, 7, 0, 1179676, 7, 0, 1179677, 3, 0, 1310710, 3, 65536, 1310711, 7, 65536, 1310712, 7, 65536, 1310713, 7, 65536, 1310714, 7, 65536, 1310715, 7, 65536, 1310716, 7, 65536, 1310717, 7, 65536, 1310718, 7, 65536, 1310719, 7, 65536, 1245184, 7, 65536, 1245185, 7, 65536, 1245186, 7, 65536, 1245187, 7, 65536, 1245188, 7, 65536, 1245189, 7, 0, 1245191, 2, 0, 1245194, 3, 65536, 1245195, 7, 0, 1245196, 3, 0, 1245203, 2, 65536, 1245205, 7, 0, 1245206, 7, 0, 1245207, 7, 0, 1245208, 7, 0, 1245209, 7, 0, 1245210, 7, 0, 1245211, 7, 0, 1245212, 7, 0, 1245213, 3, 0, 1376246, 3, 65536, 1376247, 7, 65536, 1376248, 7, 65536, 1376249, 7, 65536, 1376250, 7, 65536, 1376251, 7, 65536, 1376252, 7, 65536, 1376253, 7, 65536, 1376254, 7, 65536, 1376255, 7, 65536, 1310720, 7, 65536, 1310721, 7, 65536, 1310722, 7, 65536, 1310723, 7, 65536, 1310724, 7, 65536, 1310725, 7, 65536, 1310726, 7, 0, 1310728, 0, 65536, 1310729, 0, 65536, 1310730, 4, 65536, 1310731, 7, 0, 1310732, 4, 0, 1310733, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1310736, 0, 0, 1310737, 0, 0, 1310738, 0, 65536, 1310740, 7, 0, 1310741, 7, 0, 1310742, 7, 0, 1310743, 7, 0, 1310744, 7, 0, 1310745, 7, 0, 1310746, 7, 0, 1310747, 7, 0, 1310748, 7, 0, 1310749, 3, 0, 1441782, 9, 65536, 1441783, 8, 65536, 1441784, 8, 65536, 1441785, 8, 65536, 1441786, 8, 65536, 1441787, 8, 65536, 1441788, 8, 65536, 1441789, 8, 65536, 1441790, 8, 65536, 1441791, 8, 65536, 1376256, 8, 65536, 1376257, 8, 65536, 1376258, 8, 65536, 1376259, 8, 65536, 1376260, 8, 65536, 1376261, 8, 65536, 1376262, 8, 65536, 1376263, 8, 65536, 1376264, 8, 65536, 1376265, 8, 65536, 1376266, 8, 65536, 1376267, 8, 65536, 1376268, 8, 65536, 1376269, 8, 65536, 1376270, 8, 65536, 1376271, 8, 65536, 1376272, 8, 65536, 1376273, 8, 65536, 1376274, 8, 65536, 1376275, 8, 65536, 1376276, 8, 65536, 1376277, 8, 65536, 1376278, 8, 65536, 1376279, 8, 65536, 1376280, 8, 65536, 1376281, 8, 65536, 1376282, 8, 65536, 1376283, 8, 65536, 1376284, 8, 0, 1376285, 9, 0) +layer_0/tile_data = PackedInt32Array(524309, 327681, 2, 458773, 65537, 1, 393237, 327681, 2, 327701, 327681, 2, 262165, 65537, 1, 196629, 65537, 1, 131093, 65537, 1, 65557, 65537, 1, 21, 65537, 1, -65515, 65537, 1, -131051, 65537, 1, -196587, 65537, 1, -262123, 65537, 1, -327659, 65537, 1, -393195, 65537, 1, -458731, 65537, 1, -524267, 65537, 1, -589803, 65537, 1, -655339, 65537, 1, -720875, 65537, 1, -786411, 65537, 1, 524308, 1, 1, 458772, 1, 1, 393236, 1, 1, 327700, 131073, 65539, 262164, 65537, 65537, 196628, 65537, 65537, 131092, 65537, 65537, 65556, 65537, 65537, 20, 65537, 65537, -65516, 65537, 65537, -131052, 65537, 65537, -196588, 327681, 65538, -262124, 65537, 65537, -327660, 65537, 65537, -393196, 131073, 65539, -458732, 65537, 65537, -524268, 65537, 65537, -589804, 1, 1, -655340, 131073, 65539, -720876, 65537, 65537, -786412, 65537, 65537, 524307, 1, 1, 524306, 1, 1, 524305, 1, 1, 524304, 1, 1, 524303, 1, 1, 524302, 1, 1, 524301, 1, 1, 524300, 1, 1, 524299, 131073, 65539, 524298, 1, 0, 524297, 262145, 3, 524296, 327681, 3, 524295, 1, 0, 524294, 65537, 2, 524293, 1, 1, 524292, 1, 1, 524291, 1, 1, 589822, 1, 0, 589821, 1, 0, 589820, 131073, 3, 589819, 1, 1, 589818, 1, 1, 589817, 1, 1, 589816, 1, 1, 589815, 1, 1, 589814, 1, 1, 589813, 1, 1, 589812, 1, 1, 589811, 1, 1, 589810, 1, 1, 327666, 1, 1, 262130, 1, 1, 196594, 1, 1, 131058, 1, 1, 65522, 1, 1, -14, 1, 1, -65550, 1, 1, -131086, 1, 1, -196622, 1, 1, -262158, 327681, 3, 589809, 1, 1, 524273, 1, 1, 458737, 1, 1, 393201, 1, 1, 327665, 1, 1, 262129, 1, 1, 196593, 1, 1, 131057, 1, 1, 65521, 1, 1, -15, 1, 1, -65551, 1, 1, -131087, 1, 1, -196623, 1, 1, -262159, 65537, 2, -327695, 65537, 1, -393231, 65537, 1, -458767, 65537, 1, -524303, 327681, 2, -589839, 65537, 1, -655375, 65537, 1, -720911, 65537, 1, 327668, 1, 1, 262132, 1, 1, 196596, 65537, 2, 131060, 65537, 1, 65524, 65537, 1, -12, 327681, 2, -65548, 65537, 1, -131084, 65537, 1, -196620, 65537, 1, -262156, 65537, 0, 327667, 1, 1, 262131, 1, 1, 196595, 1, 1, 131059, 1, 1, 65523, 1, 1, -13, 1, 1, -65549, 1, 1, -131085, 1, 1, -196621, 1, 1, -262157, 262145, 3, 327670, 1, 1, 262134, 1, 1, 327669, 1, 1, 262133, 1, 1, 196597, 327681, 3, -393210, 65537, 0, -393211, 327681, 3, -393212, 1, 0, -327678, 393217, 1, -393214, 1, 0, -327679, 393217, 0, -393215, 1, 0, -327680, 393217, 1, -262145, 393217, 0, -327681, 327681, 3, -262146, 393217, 1, -327682, 1, 0, -262147, 393217, 0, -327683, 196609, 3, -262148, 393217, 0, -327684, 196609, 3, -262149, 393217, 0, -327685, 327681, 3, -262150, 458753, 65537, -327686, 65537, 65536, -589815, 458753, 65537, -589814, 393217, 0, -589813, 393217, 0, -589812, 393217, 1, -589811, 393217, 0, -589810, 393217, 1, -589809, 393217, 1, -589808, 393217, 1, -589807, 393217, 0, -589806, 393217, 0, -589805, 393217, 1, -524289, 65537, 0, -524290, 131073, 0, -524291, 196609, 65536, -720889, 458753, 1, -786425, 65537, 0, -720890, 393217, 1, -786426, 196609, 3, -720891, 393217, 1, -786427, 327681, 3, -720892, 393217, 1, -786428, 196609, 3, -720893, 393217, 0, -786429, 196609, 3, -720894, 458753, 65537, -786430, 65537, 65536, 786453, 458753, 1, 720917, 327681, 2, 655381, 65537, 1, 589845, 65537, 1, 786452, 393217, 1, 720916, 1, 1, 655380, 1, 1, 589844, 1, 1, 786451, 393217, 1, 720915, 1, 1, 655379, 1, 1, 589843, 1, 1, 786450, 393217, 0, 720914, 1, 1, 655378, 1, 1, 589842, 1, 1, 786449, 393217, 1, 720913, 1, 1, 655377, 1, 1, 589841, 1, 1, 786448, 393217, 1, 720912, 1, 1, 655376, 1, 1, 589840, 1, 1, 786447, 393217, 1, 720911, 1, 1, 655375, 1, 1, 589839, 1, 1, 786446, 393217, 1, 720910, 1, 1, 655374, 1, 1, 589838, 1, 1, 786445, 393217, 0, 720909, 1, 1, 655373, 1, 1, 589837, 1, 1, 786444, 393217, 0, 720908, 1, 1, 655372, 1, 1, 589836, 1, 1, 786443, 393217, 1, 720907, 1, 1, 655371, 1, 1, 589835, 1, 1, 786442, 393217, 0, 720906, 1, 1, 655370, 1, 1, 589834, 1, 1, 786441, 393217, 0, 720905, 1, 1, 655369, 1, 1, 589833, 1, 1, 786440, 393217, 0, 720904, 1, 1, 655368, 1, 1, 589832, 1, 1, 786439, 393217, 0, 720903, 1, 1, 655367, 1, 1, 589831, 1, 1, 786438, 393217, 1, 720902, 1, 1, 655366, 1, 1, 589830, 1, 1, 786437, 393217, 1, 720901, 1, 1, 655365, 1, 1, 589829, 1, 1, 786436, 393217, 0, 720900, 1, 1, 655364, 1, 1, 589828, 1, 1, 786435, 393217, 0, 720899, 1, 1, 655363, 1, 1, 589827, 1, 1, 786434, 393217, 1, 720898, 1, 1, 786433, 393217, 1, 720897, 1, 1, 786432, 393217, 1, 720896, 1, 1, 851967, 393217, 1, 786431, 1, 1, 851966, 393217, 0, 786430, 1, 1, 720894, 1, 1, 655358, 1, 1, 851965, 393217, 0, 786429, 1, 1, 720893, 1, 1, 655357, 1, 1, 851964, 393217, 1, 786428, 1, 1, 720892, 1, 1, 655356, 1, 1, 851963, 393217, 0, 786427, 1, 1, 720891, 1, 1, 655355, 1, 1, 851962, 393217, 1, 786426, 1, 1, 720890, 1, 1, 655354, 1, 1, 851961, 393217, 0, 786425, 1, 1, 720889, 1, 1, 655353, 1, 1, 851960, 393217, 0, 786424, 1, 1, 720888, 1, 1, 655352, 1, 1, 851959, 393217, 0, 786423, 1, 1, 720887, 1, 1, 655351, 1, 1, 851958, 393217, 1, 786422, 1, 1, 720886, 1, 1, 655350, 1, 1, 851957, 393217, 0, 786421, 1, 1, 720885, 1, 1, 655349, 1, 1, 851956, 393217, 1, 786420, 1, 1, 720884, 1, 1, 655348, 1, 1, 851955, 393217, 0, 786419, 1, 1, 720883, 1, 1, 655347, 1, 1, 851954, 393217, 1, 786418, 1, 1, 720882, 1, 1, 655346, 1, 1, 851953, 393217, 0, 786417, 1, 1, 720881, 1, 1, 655345, 1, 1, 851952, 458753, 65537, 786416, 65537, 65537, 720880, 65537, 65537, 655344, 65537, 65537, 589808, 65537, 65537, 524272, 65537, 65537, 458736, 65537, 65537, 393200, 65537, 65537, 327664, 65537, 65537, 262128, 65537, 65537, 196592, 65537, 65537, 131056, 65537, 65537, 65520, 65537, 65537, -16, 65537, 65537, -65552, 65537, 65537, -131088, 65537, 65537, -196624, 65537, 65537, -262160, 65537, 65537, -327696, 65537, 65537, -393232, 65537, 65537, -458768, 65537, 65537, -524304, 65537, 65537, -589840, 65537, 65537, -655376, 65537, 65537, -720912, 65537, 65537, 196598, 1, 0, 655362, 1, 1, 589826, 1, 1, 655361, 1, 1, 589825, 1, 1, 655360, 1, 1, 589824, 1, 1, 720895, 1, 1, 655359, 1, 1, 524290, 1, 1, 524289, 1, 1, 524288, 1, 0, 589823, 196609, 3, 393207, 1, 1, 458744, 1, 1, 524281, 1, 1, 524280, 1, 1, 524279, 1, 1, 458743, 1, 1, 524278, 1, 1, 458742, 1, 1, 393206, 1, 1, 524277, 1, 1, 458741, 1, 1, 393205, 1, 1, 524276, 1, 1, 458740, 1, 1, 393204, 1, 1, 524275, 1, 1, 458739, 1, 1, 393203, 1, 1, 524274, 1, 1, 458738, 1, 1, 393202, 1, 1, 327694, 1, 0, 393229, 131073, 65539, 458764, 131073, 65539, 458771, 1, 1, 393235, 1, 1, 327699, 1, 0, 458770, 1, 1, 393234, 1, 1, 327698, 196609, 3, 458769, 1, 1, 393233, 1, 1, 327697, 196609, 3, 458768, 1, 1, 393232, 1, 1, 327696, 196609, 3, 458767, 1, 1, 393231, 1, 1, 327695, 327681, 3, 458766, 1, 1, 393230, 1, 1, 458765, 1, 1, 458758, 327681, 2, 393222, 65537, 0, 458757, 1, 1, 393221, 196609, 3, 458756, 1, 1, 393220, 1, 0, 458755, 1, 1, 393219, 1, 0, 458754, 1, 1, 393218, 196609, 3, 458753, 1, 1, 393217, 196609, 3, 262136, 131073, 2, 327673, 131073, 2, 393210, 131073, 2, 458747, 131073, 2, 524284, 131073, 2, 524283, 131073, 3, 524282, 1, 1, 458746, 131073, 3, 458745, 1, 1, 393209, 131073, 3, 393208, 1, 1, 327672, 131073, 3, 327671, 1, 1, 262135, 131073, 3, 12, 65537, 65536, 13, 262145, 3, 14, 131073, 2, -65529, 196609, 65536, -65528, 131073, 0, -65527, 196609, 0, -327674, 458753, 1, -327675, 393217, 0, -327676, 393217, 1, -327677, 393217, 1, -393213, 262145, 3, 327693, 131073, 65538, 393228, 131073, 65538, 458763, 131073, 65538, 196599, 131073, 2, 262154, 196609, 0, 262153, 196609, 65536, 65529, 196609, 65536, 65530, 196609, 0, -393197, 131073, 0, -393198, 131073, 0, -393199, 131073, 0, -655341, 196609, 3, -655342, 1, 0, -655343, 327681, 3, -655344, 1, 0, -655345, 1, 0, -655346, 262145, 3, -655347, 196609, 3, -655348, 1, 0, -655349, 1, 0, -655350, 196609, 3, -655351, 65537, 65536, -196593, 196609, 0, -196594, 131073, 0, -196595, 131073, 0, -196596, 131073, 0, -327672, 196609, 65536, -327671, 196609, 0, -393201, 131073, 0, -393202, 131073, 0, -393203, 196609, 65536, -393200, 131073, 0, 65552, 196609, 0, 65551, 131073, 0, 65549, 1, 1, 65550, 131073, 3, 131084, 458753, 65537, 131085, 393217, 1, 131086, 458753, 1, 65536, 1, 1, 131071, 1, 1, 131070, 131073, 65539, -131072, 131073, 65538, -1, 131073, 65538, 65534, 131073, 65538, 65539, 1, 1, 2, 1, 1, -65535, 1, 1, 65537, 1, 1, 65538, 1, 1, 1, 1, 1, 0, 1, 1, 65535, 131073, 65539, -65536, 131073, 65539, -131071, 1, 0, 65540, 131073, 3, 3, 131073, 3, -65534, 131073, 3, -131070, 131073, 2, -65533, 131073, 2, 4, 131073, 2, 131069, 196609, 65536, 65541, 131073, 2, 131078, 131073, 0, 131077, 131073, 3, 131076, 1, 1, 131079, 196609, 0, 131075, 1, 1, 131074, 1, 1, 196610, 458753, 65537, 196611, 393217, 0, 196612, 393217, 0, 196613, 458753, 1, 131073, 393217, 1, 131072, 393217, 0, 196607, 393217, 1, 196606, 458753, 65537, 65547, 393217, 65538, 65548, 327681, 65538, -11, 393217, 2, -524302, 393217, 2, -196589, 393217, 65538, -393216, 196609, 3, -589821, 262145, 0, -524285, 262145, 1, -458749, 262145, 2, -851954, 262145, 0, -786418, 262145, 1, -720882, 262145, 2, -458765, 262145, 0, -393229, 262145, 1, -327693, 262145, 2, 327689, 262145, 0, 393225, 262145, 1, 458761, 262145, 2, -196597, 196609, 65536, -524288, 196609, 0, -458753, 196609, 65536, -655366, 196609, 0, -655367, 131073, 0, -655368, 131073, 0, -655369, 196609, 65536, -786447, 65537, 1, -851983, 65537, 1, -917519, 65537, 1, -983055, 65537, 1, -1048591, 65537, 1, -1114127, 65537, 1, -1179663, 65537, 1, -1245199, 65537, 0, -786448, 65537, 65537, -851984, 65537, 65537, -917520, 65537, 65537, -983056, 65537, 65537, -1048592, 65537, 65537, -1114128, 65537, 65537, -1179664, 65537, 65537, -1245200, 65537, 65536, -851947, 65537, 1, -917483, 65537, 1, -983019, 65537, 1, -1048555, 65537, 1, -1114091, 65537, 1, -1179627, 65537, 1, -1245163, 65537, 1, -1310699, 65537, 0, -851948, 65537, 65537, -917484, 65537, 65537, -983020, 65537, 65537, -1048556, 65537, 65537, -1114092, 65537, 65537, -1179628, 65537, 65537, -1245164, 65537, 65537, -1310700, 65537, 65536) [node name="ParallaxBackground" parent="." instance=ExtResource("3")] +offset = Vector2(0, -427) +transform = Transform2D(1, 0, 0, 1, 0, -427) [node name="SkeletalPlayer" parent="." instance=ExtResource("4")] -position = Vector2(90, 546) +position = Vector2(482, -24) + +[node name="CameraLimit_min" type="Marker2D" parent="."] +position = Vector2(-600, -598) + +[node name="CameraLimit_max" type="Marker2D" parent="."] +position = Vector2(596, 423) diff --git a/2d/skeleton/level/background/cloud_1.png.import b/2d/skeleton/level/background/cloud_1.png.import index b43ca56807..83b184a1d6 100644 --- a/2d/skeleton/level/background/cloud_1.png.import +++ b/2d/skeleton/level/background/cloud_1.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/cloud_1.png-d9f3821e0d58b8b79ac7a8bc81287ae8. [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/2d/skeleton/level/background/cloud_2.png.import b/2d/skeleton/level/background/cloud_2.png.import index 15ed87c8d1..e8318d9e0b 100644 --- a/2d/skeleton/level/background/cloud_2.png.import +++ b/2d/skeleton/level/background/cloud_2.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/cloud_2.png-1b2bb3f73839db8c5ad1d01ad2876ab2. [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/2d/skeleton/level/background/cloud_3.png.import b/2d/skeleton/level/background/cloud_3.png.import index 8dc75998bb..965108741f 100644 --- a/2d/skeleton/level/background/cloud_3.png.import +++ b/2d/skeleton/level/background/cloud_3.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/cloud_3.png-a4ce274fb6c38e3b05e8f88cf8cfffb6. [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/2d/skeleton/level/background/distant_platforms_1.png.import b/2d/skeleton/level/background/distant_platforms_1.png.import index 8b6e34f398..f973bb7781 100644 --- a/2d/skeleton/level/background/distant_platforms_1.png.import +++ b/2d/skeleton/level/background/distant_platforms_1.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/distant_platforms_1.png-34bd3c6d35ad3a7b690f0 [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/2d/skeleton/level/background/distant_platforms_2.png.import b/2d/skeleton/level/background/distant_platforms_2.png.import index 2afffef65f..4fc1306d4b 100644 --- a/2d/skeleton/level/background/distant_platforms_2.png.import +++ b/2d/skeleton/level/background/distant_platforms_2.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/distant_platforms_2.png-2ecd927ea77506f4ec1f3 [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/2d/skeleton/level/background/sky.png.import b/2d/skeleton/level/background/sky.png.import index 4182340d78..b83de8dcd0 100644 --- a/2d/skeleton/level/background/sky.png.import +++ b/2d/skeleton/level/background/sky.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/sky.png-c2b26f59be93d20195841091d4bd6a50.ctex [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/2d/skeleton/level/level.gd b/2d/skeleton/level/level.gd index 6779ca0619..df1657d7da 100644 --- a/2d/skeleton/level/level.gd +++ b/2d/skeleton/level/level.gd @@ -1,15 +1,10 @@ extends Node2D -const LIMIT_LEFT = -315 -const LIMIT_TOP = -250 -const LIMIT_RIGHT = 955 -const LIMIT_BOTTOM = 690 - func _ready(): - for child in get_children(): - if child is Player: - var camera = child.get_node(^"Camera2D") - camera.limit_left = LIMIT_LEFT - camera.limit_top = LIMIT_TOP - camera.limit_right = LIMIT_RIGHT - camera.limit_bottom = LIMIT_BOTTOM + var camera = find_child("Camera2D") + var min_pos = $CameraLimit_min.global_position + var max_pos = $CameraLimit_max.global_position + camera.limit_left = min_pos.x + camera.limit_top = min_pos.y + camera.limit_right = max_pos.x + camera.limit_bottom = max_pos.y diff --git a/2d/skeleton/level/background.tscn b/2d/skeleton/level/parallax_background.tscn similarity index 65% rename from 2d/skeleton/level/background.tscn rename to 2d/skeleton/level/parallax_background.tscn index 9468b9c834..8e2a622a9c 100644 --- a/2d/skeleton/level/background.tscn +++ b/2d/skeleton/level/parallax_background.tscn @@ -1,25 +1,29 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=7 format=3 uid="uid://c1n07vnm2brb8"] -[ext_resource path="res://level/background/distant_platforms_2.png" type="Texture2D" id=1] -[ext_resource path="res://level/background/sky.png" type="Texture2D" id=2] -[ext_resource path="res://level/background/cloud_1.png" type="Texture2D" id=3] -[ext_resource path="res://level/background/cloud_2.png" type="Texture2D" id=4] -[ext_resource path="res://level/background/cloud_3.png" type="Texture2D" id=5] -[ext_resource path="res://level/background/distant_platforms_1.png" type="Texture2D" id=6] +[ext_resource type="Texture2D" uid="uid://do8unqmg6yew6" path="res://level/background/distant_platforms_2.png" id="1"] +[ext_resource type="Texture2D" uid="uid://c8jm7s3tbb3b" path="res://level/background/sky.png" id="2"] +[ext_resource type="Texture2D" uid="uid://j28pf8bfgty" path="res://level/background/cloud_1.png" id="3"] +[ext_resource type="Texture2D" uid="uid://kreppu5t30jn" path="res://level/background/cloud_2.png" id="4"] +[ext_resource type="Texture2D" uid="uid://bwhwlduoqnb15" path="res://level/background/cloud_3.png" id="5"] +[ext_resource type="Texture2D" uid="uid://b4lffygwgc7vy" path="res://level/background/distant_platforms_1.png" id="6"] [node name="ParallaxBackground" type="ParallaxBackground"] -scroll_base_scale = Vector2(0.4, 0) +follow_viewport_enabled = true +scroll_base_scale = Vector2(0.2, 0) [node name="Sky" type="ParallaxLayer" parent="."] +motion_scale = Vector2(1, 0) +motion_offset = Vector2(0, -15) motion_mirroring = Vector2(400, 0) [node name="Sprite2D" type="Sprite2D" parent="Sky"] -scale = Vector2(64, 0.94) -texture = ExtResource( 2 ) +position = Vector2(0, -80) +scale = Vector2(136.169, 2) +texture = ExtResource("2") centered = false [node name="Clouds" type="ParallaxLayer" parent="."] -motion_scale = Vector2(0.1, 1) +motion_scale = Vector2(0.1, 0.3) motion_offset = Vector2(-550, 0) [node name="CloudGroup1" type="Node2D" parent="Clouds"] @@ -27,64 +31,64 @@ position = Vector2(-780, 0) [node name="Sprite1" type="Sprite2D" parent="Clouds/CloudGroup1"] position = Vector2(-200, 120) -texture = ExtResource( 3 ) +texture = ExtResource("3") centered = false [node name="Sprite2" type="Sprite2D" parent="Clouds/CloudGroup1"] position = Vector2(100, 10) -texture = ExtResource( 3 ) +texture = ExtResource("3") centered = false [node name="Sprite3" type="Sprite2D" parent="Clouds/CloudGroup1"] position = Vector2(-60, 40) -texture = ExtResource( 4 ) +texture = ExtResource("4") centered = false [node name="Sprite4" type="Sprite2D" parent="Clouds/CloudGroup1"] position = Vector2(150, 65) -texture = ExtResource( 4 ) +texture = ExtResource("4") centered = false [node name="Sprite5" type="Sprite2D" parent="Clouds/CloudGroup1"] position = Vector2(15, 75) -texture = ExtResource( 5 ) +texture = ExtResource("5") centered = false [node name="Sprite6" type="Sprite2D" parent="Clouds/CloudGroup1"] position = Vector2(225, 35) -texture = ExtResource( 5 ) +texture = ExtResource("5") centered = false [node name="CloudGroup2" type="Node2D" parent="Clouds"] [node name="Sprite1" type="Sprite2D" parent="Clouds/CloudGroup2"] position = Vector2(-200, 120) -texture = ExtResource( 3 ) +texture = ExtResource("3") centered = false [node name="Sprite2" type="Sprite2D" parent="Clouds/CloudGroup2"] position = Vector2(100, 10) -texture = ExtResource( 3 ) +texture = ExtResource("3") centered = false [node name="Sprite3" type="Sprite2D" parent="Clouds/CloudGroup2"] position = Vector2(-60, 40) -texture = ExtResource( 4 ) +texture = ExtResource("4") centered = false [node name="Sprite4" type="Sprite2D" parent="Clouds/CloudGroup2"] position = Vector2(150, 65) -texture = ExtResource( 4 ) +texture = ExtResource("4") centered = false [node name="Sprite5" type="Sprite2D" parent="Clouds/CloudGroup2"] position = Vector2(15, 75) -texture = ExtResource( 5 ) +texture = ExtResource("5") centered = false [node name="Sprite6" type="Sprite2D" parent="Clouds/CloudGroup2"] position = Vector2(225, 35) -texture = ExtResource( 5 ) +texture = ExtResource("5") centered = false [node name="CloudGroup3" type="Node2D" parent="Clouds"] @@ -92,32 +96,32 @@ position = Vector2(390, 0) [node name="Sprite1" type="Sprite2D" parent="Clouds/CloudGroup3"] position = Vector2(-200, 120) -texture = ExtResource( 3 ) +texture = ExtResource("3") centered = false [node name="Sprite2" type="Sprite2D" parent="Clouds/CloudGroup3"] position = Vector2(100, 10) -texture = ExtResource( 3 ) +texture = ExtResource("3") centered = false [node name="Sprite3" type="Sprite2D" parent="Clouds/CloudGroup3"] position = Vector2(-60, 40) -texture = ExtResource( 4 ) +texture = ExtResource("4") centered = false [node name="Sprite4" type="Sprite2D" parent="Clouds/CloudGroup3"] position = Vector2(150, 65) -texture = ExtResource( 4 ) +texture = ExtResource("4") centered = false [node name="Sprite5" type="Sprite2D" parent="Clouds/CloudGroup3"] position = Vector2(15, 75) -texture = ExtResource( 5 ) +texture = ExtResource("5") centered = false [node name="Sprite6" type="Sprite2D" parent="Clouds/CloudGroup3"] position = Vector2(225, 35) -texture = ExtResource( 5 ) +texture = ExtResource("5") centered = false [node name="CloudGroup4" type="Node2D" parent="Clouds"] @@ -125,50 +129,56 @@ position = Vector2(780, 0) [node name="Sprite1" type="Sprite2D" parent="Clouds/CloudGroup4"] position = Vector2(-200, 120) -texture = ExtResource( 3 ) +texture = ExtResource("3") centered = false [node name="Sprite2" type="Sprite2D" parent="Clouds/CloudGroup4"] position = Vector2(100, 10) -texture = ExtResource( 3 ) +texture = ExtResource("3") centered = false [node name="Sprite3" type="Sprite2D" parent="Clouds/CloudGroup4"] position = Vector2(-60, 40) -texture = ExtResource( 4 ) +texture = ExtResource("4") centered = false [node name="Sprite4" type="Sprite2D" parent="Clouds/CloudGroup4"] position = Vector2(150, 65) -texture = ExtResource( 4 ) +texture = ExtResource("4") centered = false [node name="Sprite5" type="Sprite2D" parent="Clouds/CloudGroup4"] position = Vector2(15, 75) -texture = ExtResource( 5 ) +texture = ExtResource("5") centered = false [node name="Sprite6" type="Sprite2D" parent="Clouds/CloudGroup4"] position = Vector2(225, 35) -texture = ExtResource( 5 ) +texture = ExtResource("5") centered = false [node name="Mountains2" type="ParallaxLayer" parent="."] -position = Vector2(0, 243) -motion_scale = Vector2(0.2, 1) +position = Vector2(0, 400) +motion_scale = Vector2(0.1, 0) +motion_mirroring = Vector2(400, 0) [node name="Sprite2D" type="Sprite2D" parent="Mountains2"] position = Vector2(0, -64) -texture = ExtResource( 1 ) +texture = ExtResource("1") +centered = false +offset = Vector2(0, -64) region_enabled = true region_rect = Rect2(0, 0, 2048, 128) [node name="Mountains1" type="ParallaxLayer" parent="."] -position = Vector2(0, 246) -motion_scale = Vector2(0.4, 1) +position = Vector2(0, 400) +motion_scale = Vector2(0.3, 0) +motion_mirroring = Vector2(400, 0) [node name="Sprite2D" type="Sprite2D" parent="Mountains1"] position = Vector2(0, -64) -texture = ExtResource( 6 ) +texture = ExtResource("6") +centered = false +offset = Vector2(0, -64) region_enabled = true region_rect = Rect2(0, 0, 2048, 128) diff --git a/2d/skeleton/level/tileset/tiles_demo.png.import b/2d/skeleton/level/tileset/tiles_demo.png.import index fdccfd5b97..47e1afec7f 100644 --- a/2d/skeleton/level/tileset/tiles_demo.png.import +++ b/2d/skeleton/level/tileset/tiles_demo.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/tiles_demo.png-68724c3ed5763f2cba827c6d71224f [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/2d/skeleton/level/tileset/tileset.tres b/2d/skeleton/level/tileset/tileset.tres index 758c72666c..0dedb57004 100644 --- a/2d/skeleton/level/tileset/tileset.tres +++ b/2d/skeleton/level/tileset/tileset.tres @@ -1,335 +1,330 @@ -[gd_resource type="TileSet" load_steps=14 format=2] +[gd_resource type="TileSet" load_steps=6 format=3 uid="uid://dlu6wo1aknvai"] -[ext_resource path="res://level/tileset/tiles_demo.png" type="Texture2D" id=1] +[ext_resource type="Texture2D" uid="uid://b54eod3j4xx34" path="res://level/tileset/tiles_demo.png" id="1_sa5xi"] -[sub_resource type="ConvexPolygonShape2D" id=1] -points = PackedVector2Array( 0, 6, 32, 6, 32, 32, 0, 32 ) +[sub_resource type="TileMapPattern" id="TileMapPattern_4pfkh"] +tile_data = PackedInt32Array(0, 393217, 65538, 1, 327681, 65538) -[sub_resource type="ConvexPolygonShape2D" id=2] -points = PackedVector2Array( 0, 6, 28, 6, 28, 32, 0, 32 ) +[sub_resource type="TileMapPattern" id="TileMapPattern_fatpo"] +tile_data = PackedInt32Array(0, 327681, 2, 1, 393217, 2) -[sub_resource type="ConvexPolygonShape2D" id=3] -points = PackedVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) +[sub_resource type="TileMapPattern" id="TileMapPattern_hwg2d"] +tile_data = PackedInt32Array(0, 262145, 0, 65536, 262145, 1, 131072, 262145, 2, 196608, 262145, 3) -[sub_resource type="ConvexPolygonShape2D" id=4] -points = PackedVector2Array( 0, 6, 32, 6, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=5] -points = PackedVector2Array( 32, 38, 32, 64, 0, 64, 0, 6 ) - -[sub_resource type="ConvexPolygonShape2D" id=6] -points = PackedVector2Array( 0, 0, 28, 0, 28, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=7] -points = PackedVector2Array( 28, 6, 32, 6, 32, 32, 0, 32, 0, 0, 28, 0 ) - -[sub_resource type="ConvexPolygonShape2D" id=8] -points = PackedVector2Array( 0, 6, 32, 6, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=9] -points = PackedVector2Array( 0, 6, 28, 6, 28, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=10] -points = PackedVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=11] -points = PackedVector2Array( 0, 0, 32, 0, 32, 24, 0, 24 ) - -[sub_resource type="ConvexPolygonShape2D" id=12] -points = PackedVector2Array( 0, 0, 28, 0, 28, 24, 0, 24 ) +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_v5kxh"] +texture = ExtResource("1_sa5xi") +texture_region_size = Vector2i(32, 32) +0:0/0 = 0 +0:0/0/terrain_set = 0 +0:0/0/terrain = 0 +0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:0/0/physics_layer_0/angular_velocity = 0.0 +0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +0:0/0/terrains_peering_bit/right_side = 0 +0:0/0/terrains_peering_bit/bottom_right_corner = 0 +0:0/0/terrains_peering_bit/bottom_side = 0 +0:0/0/terrains_peering_bit/bottom_left_corner = 0 +0:0/0/terrains_peering_bit/left_side = 0 +1:0/next_alternative_id = 2 +1:0/0 = 0 +1:0/0/terrain_set = 0 +1:0/0/terrain = 0 +1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:0/0/physics_layer_0/angular_velocity = 0.0 +1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:0/0/terrains_peering_bit/bottom_side = 0 +1:0/0/terrains_peering_bit/bottom_left_corner = 0 +1:0/0/terrains_peering_bit/left_side = 0 +1:0/1 = 1 +1:0/1/flip_h = true +1:0/1/terrain_set = 0 +1:0/1/terrain = 0 +1:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) +1:0/1/physics_layer_0/angular_velocity = 0.0 +1:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:0/1/terrains_peering_bit/right_side = 0 +1:0/1/terrains_peering_bit/bottom_right_corner = 0 +1:0/1/terrains_peering_bit/bottom_side = 0 +2:0/0 = 0 +2:0/0/terrain_set = 0 +2:0/0/terrain = 0 +2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:0/0/physics_layer_0/angular_velocity = 0.0 +2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 8, -16, 8) +2:0/0/terrains_peering_bit/right_side = 0 +2:0/0/terrains_peering_bit/left_side = 0 +3:0/next_alternative_id = 2 +3:0/0 = 0 +3:0/0/terrain_set = 0 +3:0/0/terrain = 0 +3:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:0/0/physics_layer_0/angular_velocity = 0.0 +3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 8, -16, 8) +3:0/0/terrains_peering_bit/left_side = 0 +3:0/1 = 1 +3:0/1/flip_h = true +3:0/1/terrain_set = 0 +3:0/1/terrain = 0 +3:0/1/physics_layer_0/linear_velocity = Vector2(0, 0) +3:0/1/physics_layer_0/angular_velocity = 0.0 +3:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 8, -16, 8) +3:0/1/terrains_peering_bit/right_side = 0 +4:0/0 = 0 +4:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:0/0/physics_layer_0/angular_velocity = 0.0 +6:0/0 = 0 +6:0/0/terrain_set = 0 +6:0/0/terrain = 0 +6:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:0/0/physics_layer_0/angular_velocity = 0.0 +6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +6:0/0/terrains_peering_bit/right_side = 0 +6:0/0/terrains_peering_bit/left_side = 0 +6:0/0/terrains_peering_bit/top_left_corner = 0 +6:0/0/terrains_peering_bit/top_side = 0 +6:0/0/terrains_peering_bit/top_right_corner = 0 +0:1/0 = 0 +0:1/0/terrain_set = 0 +0:1/0/terrain = 0 +0:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:1/0/physics_layer_0/angular_velocity = 0.0 +0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +0:1/0/terrains_peering_bit/right_side = 0 +0:1/0/terrains_peering_bit/bottom_right_corner = 0 +0:1/0/terrains_peering_bit/bottom_side = 0 +0:1/0/terrains_peering_bit/bottom_left_corner = 0 +0:1/0/terrains_peering_bit/left_side = 0 +0:1/0/terrains_peering_bit/top_left_corner = 0 +0:1/0/terrains_peering_bit/top_side = 0 +0:1/0/terrains_peering_bit/top_right_corner = 0 +1:1/next_alternative_id = 2 +1:1/0 = 0 +1:1/0/terrain_set = 0 +1:1/0/terrain = 0 +1:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:1/0/physics_layer_0/angular_velocity = 0.0 +1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:1/0/terrains_peering_bit/bottom_side = 0 +1:1/0/terrains_peering_bit/bottom_left_corner = 0 +1:1/0/terrains_peering_bit/left_side = 0 +1:1/0/terrains_peering_bit/top_left_corner = 0 +1:1/0/terrains_peering_bit/top_side = 0 +1:1/1 = 1 +1:1/1/flip_h = true +1:1/1/terrain_set = 0 +1:1/1/terrain = 0 +1:1/1/physics_layer_0/linear_velocity = Vector2(0, 0) +1:1/1/physics_layer_0/angular_velocity = 0.0 +1:1/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:1/1/terrains_peering_bit/right_side = 0 +1:1/1/terrains_peering_bit/bottom_right_corner = 0 +1:1/1/terrains_peering_bit/bottom_side = 0 +1:1/1/terrains_peering_bit/top_side = 0 +1:1/1/terrains_peering_bit/top_right_corner = 0 +4:1/0 = 0 +4:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:1/0/physics_layer_0/angular_velocity = 0.0 +5:1/0 = 0 +5:1/0/terrain_set = 0 +5:1/0/terrain = 0 +5:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:1/0/physics_layer_0/angular_velocity = 0.0 +5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +5:1/0/terrains_peering_bit/right_side = 0 +5:1/0/terrains_peering_bit/bottom_side = 0 +5:1/0/terrains_peering_bit/bottom_left_corner = 0 +5:1/0/terrains_peering_bit/left_side = 0 +5:1/0/terrains_peering_bit/top_left_corner = 0 +5:1/0/terrains_peering_bit/top_side = 0 +5:1/0/terrains_peering_bit/top_right_corner = 0 +6:1/0 = 0 +6:1/0/terrain_set = 0 +6:1/0/terrain = 0 +6:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:1/0/physics_layer_0/angular_velocity = 0.0 +6:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +6:1/0/terrains_peering_bit/right_side = 0 +6:1/0/terrains_peering_bit/left_side = 0 +6:1/0/terrains_peering_bit/top_left_corner = 0 +6:1/0/terrains_peering_bit/top_side = 0 +6:1/0/terrains_peering_bit/top_right_corner = 0 +7:1/next_alternative_id = 2 +7:1/0 = 0 +7:1/0/terrain_set = 0 +7:1/0/terrain = 0 +7:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:1/0/physics_layer_0/angular_velocity = 0.0 +7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +7:1/0/terrains_peering_bit/left_side = 0 +7:1/0/terrains_peering_bit/top_left_corner = 0 +7:1/0/terrains_peering_bit/top_side = 0 +7:1/1 = 1 +7:1/1/flip_h = true +7:1/1/terrain_set = 0 +7:1/1/terrain = 0 +7:1/1/physics_layer_0/linear_velocity = Vector2(0, 0) +7:1/1/physics_layer_0/angular_velocity = 0.0 +7:1/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +7:1/1/terrains_peering_bit/right_side = 0 +7:1/1/terrains_peering_bit/top_side = 0 +7:1/1/terrains_peering_bit/top_right_corner = 0 +1:2/next_alternative_id = 2 +1:2/0 = 0 +1:2/0/terrain_set = 0 +1:2/0/terrain = 0 +1:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:2/0/physics_layer_0/angular_velocity = 0.0 +1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:2/0/terrains_peering_bit/right_side = 0 +1:2/0/terrains_peering_bit/bottom_right_corner = 0 +1:2/0/terrains_peering_bit/bottom_side = 0 +1:2/0/terrains_peering_bit/bottom_left_corner = 0 +1:2/0/terrains_peering_bit/left_side = 0 +1:2/0/terrains_peering_bit/top_left_corner = 0 +1:2/0/terrains_peering_bit/top_side = 0 +1:2/1 = 1 +1:2/1/flip_h = true +1:2/1/terrain_set = 0 +1:2/1/terrain = 0 +1:2/1/physics_layer_0/linear_velocity = Vector2(0, 0) +1:2/1/physics_layer_0/angular_velocity = 0.0 +1:2/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:2/1/terrains_peering_bit/right_side = 0 +1:2/1/terrains_peering_bit/bottom_right_corner = 0 +1:2/1/terrains_peering_bit/bottom_side = 0 +1:2/1/terrains_peering_bit/bottom_left_corner = 0 +1:2/1/terrains_peering_bit/left_side = 0 +1:2/1/terrains_peering_bit/top_side = 0 +1:2/1/terrains_peering_bit/top_right_corner = 0 +2:2/next_alternative_id = 2 +2:2/0 = 0 +2:2/0/terrain_set = 0 +2:2/0/terrain = 0 +2:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:2/0/physics_layer_0/angular_velocity = 0.0 +2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, 16, -16, 16) +2:2/0/terrains_peering_bit/bottom_side = 0 +2:2/0/terrains_peering_bit/bottom_left_corner = 0 +2:2/0/terrains_peering_bit/left_side = 0 +2:2/1 = 1 +2:2/1/flip_h = true +2:2/1/terrain_set = 0 +2:2/1/terrain = 0 +2:2/1/physics_layer_0/linear_velocity = Vector2(0, 0) +2:2/1/physics_layer_0/angular_velocity = 0.0 +2:2/1/physics_layer_0/polygon_0/points = PackedVector2Array(16, -16, 16, 16, -16, 16) +2:2/1/terrains_peering_bit/right_side = 0 +2:2/1/terrains_peering_bit/bottom_right_corner = 0 +2:2/1/terrains_peering_bit/bottom_side = 0 +4:2/0 = 0 +4:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:2/0/physics_layer_0/angular_velocity = 0.0 +5:2/next_alternative_id = 2 +5:2/0 = 0 +5:2/0/terrain_set = 0 +5:2/0/terrain = 0 +5:2/0/probability = 0.0 +5:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:2/0/physics_layer_0/angular_velocity = 0.0 +5:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +5:2/0/terrains_peering_bit/bottom_side = 0 +5:2/0/terrains_peering_bit/bottom_left_corner = 0 +5:2/0/terrains_peering_bit/left_side = 0 +5:2/0/terrains_peering_bit/top_left_corner = 0 +5:2/0/terrains_peering_bit/top_side = 0 +5:2/1 = 1 +5:2/1/flip_h = true +5:2/1/terrain_set = 0 +5:2/1/terrain = 0 +5:2/1/probability = 0.0 +5:2/1/physics_layer_0/linear_velocity = Vector2(0, 0) +5:2/1/physics_layer_0/angular_velocity = 0.0 +5:2/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +5:2/1/terrains_peering_bit/right_side = 0 +5:2/1/terrains_peering_bit/bottom_right_corner = 0 +5:2/1/terrains_peering_bit/bottom_side = 0 +5:2/1/terrains_peering_bit/top_side = 0 +5:2/1/terrains_peering_bit/top_right_corner = 0 +6:2/next_alternative_id = 2 +6:2/0 = 0 +6:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:2/0/physics_layer_0/angular_velocity = 0.0 +6:2/1 = 1 +6:2/1/flip_h = true +6:2/1/physics_layer_0/linear_velocity = Vector2(0, 0) +6:2/1/physics_layer_0/angular_velocity = 0.0 +2:3/next_alternative_id = 3 +2:3/0 = 0 +2:3/0/terrain_set = 0 +2:3/0/terrain = 0 +2:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:3/0/physics_layer_0/angular_velocity = 0.0 +2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +2:3/0/terrains_peering_bit/right_side = 0 +2:3/0/terrains_peering_bit/bottom_right_corner = 0 +2:3/0/terrains_peering_bit/bottom_side = 0 +2:3/0/terrains_peering_bit/bottom_left_corner = 0 +2:3/0/terrains_peering_bit/left_side = 0 +2:3/0/terrains_peering_bit/top_left_corner = 0 +2:3/0/terrains_peering_bit/top_side = 0 +2:3/1 = 1 +2:3/1/flip_h = true +2:3/1/terrain_set = 0 +2:3/1/terrain = 0 +2:3/1/physics_layer_0/linear_velocity = Vector2(0, 0) +2:3/1/physics_layer_0/angular_velocity = 0.0 +2:3/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +2:3/1/terrains_peering_bit/right_side = 0 +2:3/1/terrains_peering_bit/bottom_right_corner = 0 +2:3/1/terrains_peering_bit/bottom_side = 0 +2:3/1/terrains_peering_bit/bottom_left_corner = 0 +2:3/1/terrains_peering_bit/left_side = 0 +2:3/1/terrains_peering_bit/top_side = 0 +2:3/1/terrains_peering_bit/top_right_corner = 0 +3:3/0 = 0 +3:3/0/terrain_set = 0 +3:3/0/terrain = 0 +3:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:3/0/physics_layer_0/angular_velocity = 0.0 +3:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +3:3/0/terrains_peering_bit/right_side = 0 +3:3/0/terrains_peering_bit/bottom_right_corner = 0 +3:3/0/terrains_peering_bit/bottom_side = 0 +3:3/0/terrains_peering_bit/bottom_left_corner = 0 +3:3/0/terrains_peering_bit/left_side = 0 +4:3/0 = 0 +4:3/0/terrain_set = 0 +4:3/0/terrain = 0 +4:3/0/probability = 0.0 +4:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:3/0/physics_layer_0/angular_velocity = 0.0 +4:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +4:3/0/terrains_peering_bit/right_side = 0 +4:3/0/terrains_peering_bit/bottom_right_corner = 0 +4:3/0/terrains_peering_bit/bottom_side = 0 +4:3/0/terrains_peering_bit/bottom_left_corner = 0 +4:3/0/terrains_peering_bit/left_side = 0 +5:3/0 = 0 +5:3/0/terrain_set = 0 +5:3/0/terrain = 0 +5:3/0/probability = 0.25 +5:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:3/0/physics_layer_0/angular_velocity = 0.0 +5:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +5:3/0/terrains_peering_bit/right_side = 0 +5:3/0/terrains_peering_bit/bottom_right_corner = 0 +5:3/0/terrains_peering_bit/bottom_side = 0 +5:3/0/terrains_peering_bit/bottom_left_corner = 0 +5:3/0/terrains_peering_bit/left_side = 0 [resource] -0/name = "ground" -0/texture = ExtResource( 1 ) -0/tex_offset = Vector2( 0, 0 ) -0/modulate = Color( 1, 1, 1, 1 ) -0/region = Rect2( 0, 0, 32, 32 ) -0/tile_mode = 0 -0/occluder_offset = Vector2( 0, 0 ) -0/navigation_offset = Vector2( 0, 0 ) -0/shape_offset = Vector2( 0, 0 ) -0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -0/shape = SubResource( 1 ) -0/shape_one_way = false -0/shape_one_way_margin = 1.0 -0/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 1 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -0/z_index = 0 -1/name = "ground_end" -1/texture = ExtResource( 1 ) -1/tex_offset = Vector2( 0, 0 ) -1/modulate = Color( 1, 1, 1, 1 ) -1/region = Rect2( 32, 0, 32, 32 ) -1/tile_mode = 0 -1/occluder_offset = Vector2( 0, 0 ) -1/navigation_offset = Vector2( 0, 0 ) -1/shape_offset = Vector2( 0, 0 ) -1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -1/shape = SubResource( 2 ) -1/shape_one_way = false -1/shape_one_way_margin = 1.0 -1/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 2 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -1/z_index = 0 -2/name = "slope" -2/texture = ExtResource( 1 ) -2/tex_offset = Vector2( 0, 0 ) -2/modulate = Color( 1, 1, 1, 1 ) -2/region = Rect2( 64, 64, 32, 64 ) -2/tile_mode = 0 -2/occluder_offset = Vector2( 0, 0 ) -2/navigation_offset = Vector2( 0, 0 ) -2/shape_offset = Vector2( 0, 0 ) -2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -2/shape = SubResource( 5 ) -2/shape_one_way = false -2/shape_one_way_margin = 1.0 -2/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 5 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -2/z_index = 0 -3/name = "wall" -3/texture = ExtResource( 1 ) -3/tex_offset = Vector2( 0, 0 ) -3/modulate = Color( 1, 1, 1, 1 ) -3/region = Rect2( 32, 32, 32, 32 ) -3/tile_mode = 0 -3/occluder_offset = Vector2( 0, 0 ) -3/navigation_offset = Vector2( 0, 0 ) -3/shape_offset = Vector2( 0, 0 ) -3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -3/shape = SubResource( 6 ) -3/shape_one_way = false -3/shape_one_way_margin = 1.0 -3/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 6 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -3/z_index = 0 -4/name = "slope_top" -4/texture = ExtResource( 1 ) -4/tex_offset = Vector2( 0, 0 ) -4/modulate = Color( 1, 1, 1, 1 ) -4/region = Rect2( 32, 64, 32, 32 ) -4/tile_mode = 0 -4/occluder_offset = Vector2( 0, 0 ) -4/navigation_offset = Vector2( 0, 0 ) -4/shape_offset = Vector2( 0, 0 ) -4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -4/shape = SubResource( 7 ) -4/shape_one_way = false -4/shape_one_way_margin = 1.0 -4/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 7 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -4/z_index = 0 -5/name = "one_way" -5/texture = ExtResource( 1 ) -5/tex_offset = Vector2( 0, 0 ) -5/modulate = Color( 1, 1, 1, 1 ) -5/region = Rect2( 64, 0, 32, 32 ) -5/tile_mode = 0 -5/occluder_offset = Vector2( 0, 0 ) -5/navigation_offset = Vector2( 0, 0 ) -5/shape_offset = Vector2( 0, 0 ) -5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -5/shape = SubResource( 8 ) -5/shape_one_way = true -5/shape_one_way_margin = 1.0 -5/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": true, -"one_way_margin": 1.0, -"shape": SubResource( 8 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -5/z_index = 0 -6/name = "one_way_end" -6/texture = ExtResource( 1 ) -6/tex_offset = Vector2( 0, 0 ) -6/modulate = Color( 1, 1, 1, 1 ) -6/region = Rect2( 96, 0, 32, 32 ) -6/tile_mode = 0 -6/occluder_offset = Vector2( 0, 0 ) -6/navigation_offset = Vector2( 0, 0 ) -6/shape_offset = Vector2( 0, 0 ) -6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -6/shape = SubResource( 9 ) -6/shape_one_way = true -6/shape_one_way_margin = 1.0 -6/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": true, -"one_way_margin": 1.0, -"shape": SubResource( 9 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -6/z_index = 0 -7/name = "rock" -7/texture = ExtResource( 1 ) -7/tex_offset = Vector2( 0, 0 ) -7/modulate = Color( 1, 1, 1, 1 ) -7/region = Rect2( 0, 32, 32, 32 ) -7/tile_mode = 0 -7/occluder_offset = Vector2( 0, 0 ) -7/navigation_offset = Vector2( 0, 0 ) -7/shape_offset = Vector2( 0, 0 ) -7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -7/shape = SubResource( 10 ) -7/shape_one_way = false -7/shape_one_way_margin = 1.0 -7/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 10 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -7/z_index = 0 -8/name = "bottom" -8/texture = ExtResource( 1 ) -8/tex_offset = Vector2( 0, 0 ) -8/modulate = Color( 1, 1, 1, 1 ) -8/region = Rect2( 192, 32, 32, 32 ) -8/tile_mode = 0 -8/occluder_offset = Vector2( 0, 0 ) -8/navigation_offset = Vector2( 0, 0 ) -8/shape_offset = Vector2( 0, 0 ) -8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -8/shape = SubResource( 11 ) -8/shape_one_way = false -8/shape_one_way_margin = 1.0 -8/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 11 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -8/z_index = 0 -9/name = "bottom_end" -9/texture = ExtResource( 1 ) -9/tex_offset = Vector2( 0, 0 ) -9/modulate = Color( 1, 1, 1, 1 ) -9/region = Rect2( 224, 32, 32, 32 ) -9/tile_mode = 0 -9/occluder_offset = Vector2( 0, 0 ) -9/navigation_offset = Vector2( 0, 0 ) -9/shape_offset = Vector2( 0, 0 ) -9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -9/shape = SubResource( 12 ) -9/shape_one_way = false -9/shape_one_way_margin = 1.0 -9/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 12 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -9/z_index = 0 -10/name = "bottom_corner" -10/texture = ExtResource( 1 ) -10/tex_offset = Vector2( 0, 0 ) -10/modulate = Color( 1, 1, 1, 1 ) -10/region = Rect2( 160, 32, 32, 32 ) -10/tile_mode = 0 -10/occluder_offset = Vector2( 0, 0 ) -10/navigation_offset = Vector2( 0, 0 ) -10/shape_offset = Vector2( 0, 0 ) -10/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -10/shape = SubResource( 3 ) -10/shape_one_way = false -10/shape_one_way_margin = 1.0 -10/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 3 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -10/z_index = 0 -11/name = "tree_trunk_0" -11/texture = ExtResource( 1 ) -11/tex_offset = Vector2( 0, 0 ) -11/modulate = Color( 1, 1, 1, 1 ) -11/region = Rect2( 128, 64, 32, 32 ) -11/tile_mode = 0 -11/occluder_offset = Vector2( 0, 0 ) -11/navigation_offset = Vector2( 0, 0 ) -11/shape_offset = Vector2( 0, 0 ) -11/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -11/shape_one_way = false -11/shape_one_way_margin = 0.0 -11/shapes = [ ] -11/z_index = 0 -12/name = "tree_trunk_1" -12/texture = ExtResource( 1 ) -12/tex_offset = Vector2( 0, 0 ) -12/modulate = Color( 1, 1, 1, 1 ) -12/region = Rect2( 128, 32, 32, 32 ) -12/tile_mode = 0 -12/occluder_offset = Vector2( 0, 0 ) -12/navigation_offset = Vector2( 0, 0 ) -12/shape_offset = Vector2( 0, 0 ) -12/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -12/shape_one_way = false -12/shape_one_way_margin = 0.0 -12/shapes = [ ] -12/z_index = 0 -13/name = "tree_base" -13/texture = ExtResource( 1 ) -13/tex_offset = Vector2( 0, 0 ) -13/modulate = Color( 1, 1, 1, 1 ) -13/region = Rect2( 128, 96, 32, 32 ) -13/tile_mode = 0 -13/occluder_offset = Vector2( 0, 0 ) -13/navigation_offset = Vector2( 0, 0 ) -13/shape_offset = Vector2( 0, 0 ) -13/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -13/shape = SubResource( 4 ) -13/shape_one_way = false -13/shape_one_way_margin = 1.0 -13/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 4 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -13/z_index = 0 -14/name = "tree_top" -14/texture = ExtResource( 1 ) -14/tex_offset = Vector2( 0, 0 ) -14/modulate = Color( 1, 1, 1, 1 ) -14/region = Rect2( 128, 0, 32, 32 ) -14/tile_mode = 0 -14/occluder_offset = Vector2( 0, 0 ) -14/navigation_offset = Vector2( 0, 0 ) -14/shape_offset = Vector2( 0, 0 ) -14/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -14/shape_one_way = false -14/shape_one_way_margin = 0.0 -14/shapes = [ ] -14/z_index = 0 +tile_size = Vector2i(32, 32) +physics_layer_0/collision_layer = 16 +physics_layer_0/collision_mask = 0 +terrain_set_0/mode = 0 +terrain_set_0/terrain_0/name = "Terrain 0" +terrain_set_0/terrain_0/color = Color(0.5, 0.34375, 0.25, 1) +sources/1 = SubResource("TileSetAtlasSource_v5kxh") +pattern_0 = SubResource("TileMapPattern_4pfkh") +pattern_1 = SubResource("TileMapPattern_fatpo") +pattern_2 = SubResource("TileMapPattern_hwg2d") diff --git a/2d/skeleton/player/gBot.png.import b/2d/skeleton/player/gBot.png.import index 8347529dbc..f13dcae701 100644 --- a/2d/skeleton/player/gBot.png.import +++ b/2d/skeleton/player/gBot.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/gBot.png-b94e4323e02d18e8c6fabf612fa396da.cte [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/2d/skeleton/player/player.gd b/2d/skeleton/player/player.gd index bce2794a34..4ffab0f1e3 100644 --- a/2d/skeleton/player/player.gd +++ b/2d/skeleton/player/player.gd @@ -1,16 +1,21 @@ class_name Player extends CharacterBody2D -# Keep this in sync with the AnimationTree's state names and numbers. -enum States { - IDLE = 0, - WALK = 1, - RUN = 2, - FLY = 3, - FALL = 4, +# Keep this in sync with the AnimationTree's state names. +const States = { + IDLE = "idle", + WALK = "walk", + RUN = "run", + FLY = "fly", + FALL = "fall", } -var speed = Vector2(120.0, 360.0) +const WALK_SPEED = 200.0 +const ACCELERATION_SPEED = WALK_SPEED * 6.0 +const JUMP_VELOCITY = -400.0 +## Maximum speed at which the player can fall. +const TERMINAL_VELOCITY = 400 + var falling_slow = false var falling_fast = false var no_move_horizontal_time = 0.0 @@ -24,51 +29,73 @@ func _ready(): $AnimationTree.active = true -func _physics_process(delta): - velocity.y += gravity * delta +func _physics_process(delta: float) -> void: + var is_jumping = false + if Input.is_action_just_pressed("jump"): + is_jumping = try_jump() + elif Input.is_action_just_released("jump") and velocity.y < 0.0: + # The player let go of jump early, reduce vertical momentum. + velocity.y *= 0.6 + # Fall. + velocity.y = minf(TERMINAL_VELOCITY, velocity.y + gravity * delta) + + var direction := Input.get_axis("move_left", "move_right") * WALK_SPEED + velocity.x = move_toward(velocity.x, direction, ACCELERATION_SPEED * delta) + if no_move_horizontal_time > 0.0: # After doing a hard fall, don't move for a short time. velocity.x = 0.0 no_move_horizontal_time -= delta - else: - velocity.x = (Input.get_axis(&"move_left", &"move_right")) * speed.x - if Input.is_action_pressed(&"walk"): - velocity.x *= 0.2 - # TODO: This information should be set to the CharacterBody properties instead of arguments: , Vector2.UP - # TODO: Rename velocity to linear_velocity in the rest of the script. + + if not is_zero_approx(velocity.x): + if velocity.x > 0.0: + sprite.scale.x = 1.0 * sprite_scale + else: + sprite.scale.x = -1.0 * sprite_scale + move_and_slide() - # Calculate flipping and falling speed for animation purposes. - if velocity.x > 0: - sprite.transform.x = Vector2(sprite_scale, 0) - elif velocity.x < 0: - sprite.transform.x = Vector2(-sprite_scale, 0) - if velocity.y > 500: + + # After applying our motion, update our animation to match. + + # Calculate falling speed for animation purposes. + if velocity.y >= TERMINAL_VELOCITY: falling_fast = true falling_slow = false elif velocity.y > 300: falling_slow = true - # Check if on floor and do mostly animation stuff based on it. + + if is_jumping: + $AnimationTree["parameters/jump/request"] = AnimationNodeOneShot.ONE_SHOT_REQUEST_FIRE + if is_on_floor(): + # Most animations change when we run, land, or take off. if falling_fast: - $AnimationTree["parameters/land_hard/active"] = true + $AnimationTree["parameters/land_hard/request"] = AnimationNodeOneShot.ONE_SHOT_REQUEST_FIRE no_move_horizontal_time = 0.4 - falling_fast = false elif falling_slow: - $AnimationTree["parameters/land/active"] = true - falling_slow = false - if Input.is_action_just_pressed(&"jump"): - $AnimationTree["parameters/jump/active"] = true - velocity.y = -speed.y + $AnimationTree["parameters/land/request"] = AnimationNodeOneShot.ONE_SHOT_REQUEST_FIRE + if abs(velocity.x) > 50: - $AnimationTree["parameters/state/current"] = States.RUN + $AnimationTree["parameters/state/transition_request"] = States.RUN $AnimationTree["parameters/run_timescale/scale"] = abs(velocity.x) / 60 elif velocity.x: - $AnimationTree["parameters/state/current"] = States.WALK + $AnimationTree["parameters/state/transition_request"] = States.WALK $AnimationTree["parameters/walk_timescale/scale"] = abs(velocity.x) / 12 else: - $AnimationTree["parameters/state/current"] = States.IDLE + $AnimationTree["parameters/state/transition_request"] = States.IDLE + + falling_fast = false + falling_slow = false else: if velocity.y > 0: - $AnimationTree["parameters/state/current"] = States.FALL + $AnimationTree["parameters/state/transition_request"] = States.FALL else: - $AnimationTree["parameters/state/current"] = States.FLY + $AnimationTree["parameters/state/transition_request"] = States.FLY + + + +func try_jump() -> bool: + if is_on_floor(): + velocity.y = JUMP_VELOCITY + return true + return false diff --git a/2d/skeleton/player/player.tscn b/2d/skeleton/player/player.tscn index 9c640cdcea..9a19be6bfc 100644 --- a/2d/skeleton/player/player.tscn +++ b/2d/skeleton/player/player.tscn @@ -1,16 +1,16 @@ -[gd_scene load_steps=27 format=2] +[gd_scene load_steps=28 format=3 uid="uid://c657hgr7fcptm"] -[ext_resource path="res://player/player.gd" type="Script" id=1] -[ext_resource path="res://player/gBot.png" type="Texture2D" id=2] +[ext_resource type="Script" path="res://player/player.gd" id="1"] +[ext_resource type="Texture2D" uid="uid://cgnjku7sa0qyt" path="res://player/gBot.png" id="2"] -[sub_resource type="Animation" id=1] -loop = true +[sub_resource type="Animation" id="1"] +loop_mode = 1 tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm/LeftHand:rotation_degrees") tracks/0/interp = 1 tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true tracks/0/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -18,11 +18,11 @@ tracks/0/keys = { "values": [70.4643, 70.4643] } tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm:rotation_degrees") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -30,11 +30,11 @@ tracks/1/keys = { "values": [-37.4387, -30.0798] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -42,11 +42,11 @@ tracks/2/keys = { "values": [-25.4772, -47.0619] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head/Chin:rotation_degrees") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -54,11 +54,11 @@ tracks/3/keys = { "values": [3.02107, -2.49648] } tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head:rotation_degrees") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -66,11 +66,11 @@ tracks/4/keys = { "values": [12.6368, 16.4997] } tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true tracks/5/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm:rotation_degrees") tracks/5/interp = 1 tracks/5/loop_wrap = true -tracks/5/imported = false -tracks/5/enabled = true tracks/5/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -78,11 +78,11 @@ tracks/5/keys = { "values": [29.1185, 42.6324] } tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true tracks/6/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest:rotation_degrees") tracks/6/interp = 1 tracks/6/loop_wrap = true -tracks/6/imported = false -tracks/6/enabled = true tracks/6/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -90,11 +90,11 @@ tracks/6/keys = { "values": [2.08718, -4.90066] } tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true tracks/7/path = NodePath("Sprite2D/Skeleton2D/Hip:rotation_degrees") tracks/7/interp = 1 tracks/7/loop_wrap = true -tracks/7/imported = false -tracks/7/enabled = true tracks/7/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -102,11 +102,11 @@ tracks/7/keys = { "values": [0.0, 0.0] } tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true tracks/8/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm:rotation_degrees") tracks/8/interp = 1 tracks/8/loop_wrap = true -tracks/8/imported = false -tracks/8/enabled = true tracks/8/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -114,11 +114,11 @@ tracks/8/keys = { "values": [18.2027, -3.07291] } tracks/9/type = "value" +tracks/9/imported = false +tracks/9/enabled = true tracks/9/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm/RightHand:rotation_degrees") tracks/9/interp = 1 tracks/9/loop_wrap = true -tracks/9/imported = false -tracks/9/enabled = true tracks/9/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -126,11 +126,11 @@ tracks/9/keys = { "values": [70.3278, 70.3278] } tracks/10/type = "value" +tracks/10/imported = false +tracks/10/enabled = true tracks/10/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg:rotation_degrees") tracks/10/interp = 1 tracks/10/loop_wrap = true -tracks/10/imported = false -tracks/10/enabled = true tracks/10/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -138,11 +138,11 @@ tracks/10/keys = { "values": [24.2348, 35.1483] } tracks/11/type = "value" +tracks/11/imported = false +tracks/11/enabled = true tracks/11/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg:rotation_degrees") tracks/11/interp = 1 tracks/11/loop_wrap = true -tracks/11/imported = false -tracks/11/enabled = true tracks/11/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -150,11 +150,11 @@ tracks/11/keys = { "values": [-14.3397, 5.91387] } tracks/12/type = "value" +tracks/12/imported = false +tracks/12/enabled = true tracks/12/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg:rotation_degrees") tracks/12/interp = 1 tracks/12/loop_wrap = true -tracks/12/imported = false -tracks/12/enabled = true tracks/12/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -162,11 +162,11 @@ tracks/12/keys = { "values": [-34.5752, -43.2786] } tracks/13/type = "value" +tracks/13/imported = false +tracks/13/enabled = true tracks/13/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg/LeftFoot:rotation_degrees") tracks/13/interp = 1 tracks/13/loop_wrap = true -tracks/13/imported = false -tracks/13/enabled = true tracks/13/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), @@ -174,50 +174,38 @@ tracks/13/keys = { "values": [0.0, 0.0] } tracks/14/type = "value" -tracks/14/path = NodePath("Sprite2D/Skeleton2D/Hip:position") -tracks/14/interp = 1 -tracks/14/loop_wrap = true tracks/14/imported = false tracks/14/enabled = true +tracks/14/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg/RightFoot:rotation_degrees") +tracks/14/interp = 1 +tracks/14/loop_wrap = true tracks/14/keys = { -"times": PackedFloat32Array(), -"transitions": PackedFloat32Array(), +"times": PackedFloat32Array(0.5, 1), +"transitions": PackedFloat32Array(1, 1), "update": 0, -"values": [] +"values": [0.0, 0.0] } tracks/15/type = "value" -tracks/15/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg/RightFoot:rotation_degrees") -tracks/15/interp = 1 -tracks/15/loop_wrap = true tracks/15/imported = false tracks/15/enabled = true +tracks/15/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg:rotation_degrees") +tracks/15/interp = 1 +tracks/15/loop_wrap = true tracks/15/keys = { "times": PackedFloat32Array(0.5, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, -"values": [0.0, 0.0] -} -tracks/16/type = "value" -tracks/16/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg:rotation_degrees") -tracks/16/interp = 1 -tracks/16/loop_wrap = true -tracks/16/imported = false -tracks/16/enabled = true -tracks/16/keys = { -"times": PackedFloat32Array(0.5, 1), -"transitions": PackedFloat32Array(1, 1), -"update": 0, "values": [21.1503, 35.6408] } -[sub_resource type="Animation" id=2] -loop = true +[sub_resource type="Animation" id="2"] +loop_mode = 1 tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D/Skeleton2D/Hip:position") tracks/0/interp = 1 tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -225,11 +213,11 @@ tracks/0/keys = { "values": [Vector2(-3, -11), Vector2(-3, -11)] } tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath("Sprite2D/Skeleton2D/Hip:rotation_degrees") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -237,11 +225,11 @@ tracks/1/keys = { "values": [11.6703, 11.6703] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg/LeftFoot:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -249,11 +237,11 @@ tracks/2/keys = { "values": [38.6239, 38.6239] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest:rotation_degrees") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -261,11 +249,11 @@ tracks/3/keys = { "values": [-11.5462, -8.494] } tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head:rotation_degrees") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -273,11 +261,11 @@ tracks/4/keys = { "values": [-11.0514, -25.0228] } tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true tracks/5/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm:rotation_degrees") tracks/5/interp = 1 tracks/5/loop_wrap = true -tracks/5/imported = false -tracks/5/enabled = true tracks/5/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -285,11 +273,11 @@ tracks/5/keys = { "values": [21.6381, 13.6475] } tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true tracks/6/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head/Chin:rotation_degrees") tracks/6/interp = 1 tracks/6/loop_wrap = true -tracks/6/imported = false -tracks/6/enabled = true tracks/6/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -297,11 +285,11 @@ tracks/6/keys = { "values": [3.43037, -3.49671] } tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true tracks/7/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm:rotation_degrees") tracks/7/interp = 1 tracks/7/loop_wrap = true -tracks/7/imported = false -tracks/7/enabled = true tracks/7/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -309,11 +297,11 @@ tracks/7/keys = { "values": [16.6504, 7.36116] } tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true tracks/8/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm:rotation_degrees") tracks/8/interp = 1 tracks/8/loop_wrap = true -tracks/8/imported = false -tracks/8/enabled = true tracks/8/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -321,11 +309,11 @@ tracks/8/keys = { "values": [3.76293, 3.76293] } tracks/9/type = "value" +tracks/9/imported = false +tracks/9/enabled = true tracks/9/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm/RightHand:rotation_degrees") tracks/9/interp = 1 tracks/9/loop_wrap = true -tracks/9/imported = false -tracks/9/enabled = true tracks/9/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -333,11 +321,11 @@ tracks/9/keys = { "values": [70.3278, 70.3278] } tracks/10/type = "value" +tracks/10/imported = false +tracks/10/enabled = true tracks/10/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg:rotation_degrees") tracks/10/interp = 1 tracks/10/loop_wrap = true -tracks/10/imported = false -tracks/10/enabled = true tracks/10/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -345,11 +333,11 @@ tracks/10/keys = { "values": [10.1037, 15.2186] } tracks/11/type = "value" +tracks/11/imported = false +tracks/11/enabled = true tracks/11/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg:rotation_degrees") tracks/11/interp = 1 tracks/11/loop_wrap = true -tracks/11/imported = false -tracks/11/enabled = true tracks/11/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -357,11 +345,11 @@ tracks/11/keys = { "values": [0.0, 4.93806] } tracks/12/type = "value" +tracks/12/imported = false +tracks/12/enabled = true tracks/12/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg:rotation_degrees") tracks/12/interp = 1 tracks/12/loop_wrap = true -tracks/12/imported = false -tracks/12/enabled = true tracks/12/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -369,11 +357,11 @@ tracks/12/keys = { "values": [42.7374, 32.673] } tracks/13/type = "value" +tracks/13/imported = false +tracks/13/enabled = true tracks/13/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm/LeftHand:rotation_degrees") tracks/13/interp = 1 tracks/13/loop_wrap = true -tracks/13/imported = false -tracks/13/enabled = true tracks/13/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -381,11 +369,11 @@ tracks/13/keys = { "values": [70.4643, 70.4643] } tracks/14/type = "value" +tracks/14/imported = false +tracks/14/enabled = true tracks/14/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg/RightFoot:rotation_degrees") tracks/14/interp = 1 tracks/14/loop_wrap = true -tracks/14/imported = false -tracks/14/enabled = true tracks/14/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -393,11 +381,11 @@ tracks/14/keys = { "values": [29.6667, 29.6667] } tracks/15/type = "value" +tracks/15/imported = false +tracks/15/enabled = true tracks/15/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg:rotation_degrees") tracks/15/interp = 1 tracks/15/loop_wrap = true -tracks/15/imported = false -tracks/15/enabled = true tracks/15/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -405,11 +393,11 @@ tracks/15/keys = { "values": [-24.0246, -12.7213] } tracks/16/type = "value" +tracks/16/imported = false +tracks/16/enabled = true tracks/16/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm:rotation_degrees") tracks/16/interp = 1 tracks/16/loop_wrap = true -tracks/16/imported = false -tracks/16/enabled = true tracks/16/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -417,15 +405,15 @@ tracks/16/keys = { "values": [6.71521, 6.71521] } -[sub_resource type="Animation" id=3] +[sub_resource type="Animation" id="3"] length = 2.0 -loop = true +loop_mode = 1 tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm/LeftHand:rotation_degrees") tracks/0/interp = 1 tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true tracks/0/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -433,11 +421,11 @@ tracks/0/keys = { "values": [70.4643, 70.4643] } tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm:rotation_degrees") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -445,11 +433,11 @@ tracks/1/keys = { "values": [0.0, 0.0] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -457,11 +445,11 @@ tracks/2/keys = { "values": [0.0, 0.0] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head/Chin:rotation_degrees") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -469,11 +457,11 @@ tracks/3/keys = { "values": [0.0971458, 0.0971458] } tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head:rotation_degrees") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -481,11 +469,11 @@ tracks/4/keys = { "values": [-1.00903, 4.92988] } tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true tracks/5/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm:rotation_degrees") tracks/5/interp = 1 tracks/5/loop_wrap = true -tracks/5/imported = false -tracks/5/enabled = true tracks/5/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -493,11 +481,11 @@ tracks/5/keys = { "values": [0.0, 0.0] } tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true tracks/6/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest:rotation_degrees") tracks/6/interp = 1 tracks/6/loop_wrap = true -tracks/6/imported = false -tracks/6/enabled = true tracks/6/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -505,11 +493,11 @@ tracks/6/keys = { "values": [-0.342875, -0.433443] } tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true tracks/7/path = NodePath("Sprite2D/Skeleton2D/Hip:rotation_degrees") tracks/7/interp = 1 tracks/7/loop_wrap = true -tracks/7/imported = false -tracks/7/enabled = true tracks/7/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -517,11 +505,11 @@ tracks/7/keys = { "values": [0.0, 0.0] } tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true tracks/8/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm:rotation_degrees") tracks/8/interp = 1 tracks/8/loop_wrap = true -tracks/8/imported = false -tracks/8/enabled = true tracks/8/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -529,11 +517,11 @@ tracks/8/keys = { "values": [0.0, 0.0] } tracks/9/type = "value" +tracks/9/imported = false +tracks/9/enabled = true tracks/9/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm/RightHand:rotation_degrees") tracks/9/interp = 1 tracks/9/loop_wrap = true -tracks/9/imported = false -tracks/9/enabled = true tracks/9/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -541,11 +529,11 @@ tracks/9/keys = { "values": [70.3278, 70.3278] } tracks/10/type = "value" +tracks/10/imported = false +tracks/10/enabled = true tracks/10/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg:rotation_degrees") tracks/10/interp = 1 tracks/10/loop_wrap = true -tracks/10/imported = false -tracks/10/enabled = true tracks/10/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -553,11 +541,11 @@ tracks/10/keys = { "values": [0.0, 0.0] } tracks/11/type = "value" +tracks/11/imported = false +tracks/11/enabled = true tracks/11/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg:rotation_degrees") tracks/11/interp = 1 tracks/11/loop_wrap = true -tracks/11/imported = false -tracks/11/enabled = true tracks/11/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -565,11 +553,11 @@ tracks/11/keys = { "values": [0.0, 0.0] } tracks/12/type = "value" +tracks/12/imported = false +tracks/12/enabled = true tracks/12/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg:rotation_degrees") tracks/12/interp = 1 tracks/12/loop_wrap = true -tracks/12/imported = false -tracks/12/enabled = true tracks/12/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -577,11 +565,11 @@ tracks/12/keys = { "values": [0.0, 0.0] } tracks/13/type = "value" +tracks/13/imported = false +tracks/13/enabled = true tracks/13/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg/LeftFoot:rotation_degrees") tracks/13/interp = 1 tracks/13/loop_wrap = true -tracks/13/imported = false -tracks/13/enabled = true tracks/13/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -589,11 +577,11 @@ tracks/13/keys = { "values": [0.0, 0.0] } tracks/14/type = "value" +tracks/14/imported = false +tracks/14/enabled = true tracks/14/path = NodePath("Sprite2D/Skeleton2D/Hip:position") tracks/14/interp = 1 tracks/14/loop_wrap = true -tracks/14/imported = false -tracks/14/enabled = true tracks/14/keys = { "times": PackedFloat32Array(0.5), "transitions": PackedFloat32Array(1), @@ -601,11 +589,11 @@ tracks/14/keys = { "values": [Vector2(-3, -11)] } tracks/15/type = "value" +tracks/15/imported = false +tracks/15/enabled = true tracks/15/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg/RightFoot:rotation_degrees") tracks/15/interp = 1 tracks/15/loop_wrap = true -tracks/15/imported = false -tracks/15/enabled = true tracks/15/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -613,11 +601,11 @@ tracks/15/keys = { "values": [0.0, 0.0] } tracks/16/type = "value" +tracks/16/imported = false +tracks/16/enabled = true tracks/16/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg:rotation_degrees") tracks/16/interp = 1 tracks/16/loop_wrap = true -tracks/16/imported = false -tracks/16/enabled = true tracks/16/keys = { "times": PackedFloat32Array(0.5, 1.5), "transitions": PackedFloat32Array(1, 1), @@ -625,14 +613,14 @@ tracks/16/keys = { "values": [0.0, 0.0] } -[sub_resource type="Animation" id=4] +[sub_resource type="Animation" id="4"] length = 0.5 tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm/LeftHand:rotation_degrees") tracks/0/interp = 1 tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -640,11 +628,11 @@ tracks/0/keys = { "values": [70.4643, 70.4643] } tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm:rotation_degrees") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -652,11 +640,11 @@ tracks/1/keys = { "values": [0.0, -29.4707] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -664,11 +652,11 @@ tracks/2/keys = { "values": [0.0, -74.1478] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head/Chin:rotation_degrees") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -676,11 +664,11 @@ tracks/3/keys = { "values": [0.0971458, 5.9923] } tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head:rotation_degrees") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -688,11 +676,11 @@ tracks/4/keys = { "values": [1.96043, -28.2334] } tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true tracks/5/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm:rotation_degrees") tracks/5/interp = 1 tracks/5/loop_wrap = true -tracks/5/imported = false -tracks/5/enabled = true tracks/5/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -700,11 +688,11 @@ tracks/5/keys = { "values": [0.0, 19.9986] } tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true tracks/6/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest:rotation_degrees") tracks/6/interp = 1 tracks/6/loop_wrap = true -tracks/6/imported = false -tracks/6/enabled = true tracks/6/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -712,11 +700,11 @@ tracks/6/keys = { "values": [-0.388159, -0.342875] } tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true tracks/7/path = NodePath("Sprite2D/Skeleton2D/Hip:rotation_degrees") tracks/7/interp = 1 tracks/7/loop_wrap = true -tracks/7/imported = false -tracks/7/enabled = true tracks/7/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -724,11 +712,11 @@ tracks/7/keys = { "values": [0.0, 5.03596] } tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true tracks/8/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm:rotation_degrees") tracks/8/interp = 1 tracks/8/loop_wrap = true -tracks/8/imported = false -tracks/8/enabled = true tracks/8/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -736,11 +724,11 @@ tracks/8/keys = { "values": [0.0, -54.8646] } tracks/9/type = "value" +tracks/9/imported = false +tracks/9/enabled = true tracks/9/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm/RightHand:rotation_degrees") tracks/9/interp = 1 tracks/9/loop_wrap = true -tracks/9/imported = false -tracks/9/enabled = true tracks/9/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -748,11 +736,11 @@ tracks/9/keys = { "values": [70.3278, 70.3278] } tracks/10/type = "value" +tracks/10/imported = false +tracks/10/enabled = true tracks/10/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg:rotation_degrees") tracks/10/interp = 1 tracks/10/loop_wrap = true -tracks/10/imported = false -tracks/10/enabled = true tracks/10/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -760,11 +748,11 @@ tracks/10/keys = { "values": [0.0, 0.0] } tracks/11/type = "value" +tracks/11/imported = false +tracks/11/enabled = true tracks/11/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg:rotation_degrees") tracks/11/interp = 1 tracks/11/loop_wrap = true -tracks/11/imported = false -tracks/11/enabled = true tracks/11/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -772,11 +760,11 @@ tracks/11/keys = { "values": [0.0, 28.9085] } tracks/12/type = "value" +tracks/12/imported = false +tracks/12/enabled = true tracks/12/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg:rotation_degrees") tracks/12/interp = 1 tracks/12/loop_wrap = true -tracks/12/imported = false -tracks/12/enabled = true tracks/12/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -784,11 +772,11 @@ tracks/12/keys = { "values": [0.0, -91.5006] } tracks/13/type = "value" +tracks/13/imported = false +tracks/13/enabled = true tracks/13/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg/LeftFoot:rotation_degrees") tracks/13/interp = 1 tracks/13/loop_wrap = true -tracks/13/imported = false -tracks/13/enabled = true tracks/13/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -796,11 +784,11 @@ tracks/13/keys = { "values": [0.0, 34.3885] } tracks/14/type = "value" +tracks/14/imported = false +tracks/14/enabled = true tracks/14/path = NodePath("Sprite2D/Skeleton2D/Hip:position") tracks/14/interp = 1 tracks/14/loop_wrap = true -tracks/14/imported = false -tracks/14/enabled = true tracks/14/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -808,11 +796,11 @@ tracks/14/keys = { "values": [Vector2(-3, -11), Vector2(-3, -11)] } tracks/15/type = "value" +tracks/15/imported = false +tracks/15/enabled = true tracks/15/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg/RightFoot:rotation_degrees") tracks/15/interp = 1 tracks/15/loop_wrap = true -tracks/15/imported = false -tracks/15/enabled = true tracks/15/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -820,11 +808,11 @@ tracks/15/keys = { "values": [0.0, 22.3661] } tracks/16/type = "value" +tracks/16/imported = false +tracks/16/enabled = true tracks/16/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg:rotation_degrees") tracks/16/interp = 1 tracks/16/loop_wrap = true -tracks/16/imported = false -tracks/16/enabled = true tracks/16/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), @@ -832,14 +820,14 @@ tracks/16/keys = { "values": [0.0, 135.318] } -[sub_resource type="Animation" id=5] +[sub_resource type="Animation" id="5"] length = 0.2 tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm:rotation_degrees") tracks/0/interp = 1 tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -847,11 +835,11 @@ tracks/0/keys = { "values": [-37.4387, -54.52, 0.0] } tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm:rotation_degrees") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -859,11 +847,11 @@ tracks/1/keys = { "values": [29.1185, 53.6614, 0.0] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm/RightHand:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -871,11 +859,11 @@ tracks/2/keys = { "values": [70.3278, 70.3278, 70.3278] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm:rotation_degrees") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -883,11 +871,11 @@ tracks/3/keys = { "values": [-25.4772, -25.4772, 0.0] } tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm/LeftHand:rotation_degrees") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -895,11 +883,11 @@ tracks/4/keys = { "values": [70.4643, 70.4643, 70.4643] } tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true tracks/5/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg:rotation_degrees") tracks/5/interp = 1 tracks/5/loop_wrap = true -tracks/5/imported = false -tracks/5/enabled = true tracks/5/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -907,11 +895,11 @@ tracks/5/keys = { "values": [-43.9948, -48.5965, 0.0] } tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true tracks/6/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg:rotation_degrees") tracks/6/interp = 1 tracks/6/loop_wrap = true -tracks/6/imported = false -tracks/6/enabled = true tracks/6/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -919,11 +907,11 @@ tracks/6/keys = { "values": [66.2951, 73.0908, 0.0] } tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true tracks/7/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head/Chin:rotation_degrees") tracks/7/interp = 1 tracks/7/loop_wrap = true -tracks/7/imported = false -tracks/7/enabled = true tracks/7/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -931,11 +919,11 @@ tracks/7/keys = { "values": [3.02107, 3.02107, 0.0971456] } tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true tracks/8/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest:rotation_degrees") tracks/8/interp = 1 tracks/8/loop_wrap = true -tracks/8/imported = false -tracks/8/enabled = true tracks/8/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -943,11 +931,11 @@ tracks/8/keys = { "values": [2.08718, 10.2298, 0.0] } tracks/9/type = "value" +tracks/9/imported = false +tracks/9/enabled = true tracks/9/path = NodePath("Sprite2D/Skeleton2D/Hip:rotation_degrees") tracks/9/interp = 1 tracks/9/loop_wrap = true -tracks/9/imported = false -tracks/9/enabled = true tracks/9/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -955,11 +943,11 @@ tracks/9/keys = { "values": [0.0, 0.0, 0.0] } tracks/10/type = "value" +tracks/10/imported = false +tracks/10/enabled = true tracks/10/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head:rotation_degrees") tracks/10/interp = 1 tracks/10/loop_wrap = true -tracks/10/imported = false -tracks/10/enabled = true tracks/10/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -967,11 +955,11 @@ tracks/10/keys = { "values": [12.6368, 26.4252, 0.0] } tracks/11/type = "value" +tracks/11/imported = false +tracks/11/enabled = true tracks/11/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm:rotation_degrees") tracks/11/interp = 1 tracks/11/loop_wrap = true -tracks/11/imported = false -tracks/11/enabled = true tracks/11/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -979,11 +967,11 @@ tracks/11/keys = { "values": [18.2027, 18.2027, 0.0] } tracks/12/type = "value" +tracks/12/imported = false +tracks/12/enabled = true tracks/12/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg/LeftFoot:rotation_degrees") tracks/12/interp = 1 tracks/12/loop_wrap = true -tracks/12/imported = false -tracks/12/enabled = true tracks/12/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -991,11 +979,11 @@ tracks/12/keys = { "values": [-23.9072, -25.6845, 0.0] } tracks/13/type = "value" +tracks/13/imported = false +tracks/13/enabled = true tracks/13/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg:rotation_degrees") tracks/13/interp = 1 tracks/13/loop_wrap = true -tracks/13/imported = false -tracks/13/enabled = true tracks/13/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -1003,11 +991,11 @@ tracks/13/keys = { "values": [-58.5844, -62.8435, 0.0] } tracks/14/type = "value" +tracks/14/imported = false +tracks/14/enabled = true tracks/14/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg:rotation_degrees") tracks/14/interp = 1 tracks/14/loop_wrap = true -tracks/14/imported = false -tracks/14/enabled = true tracks/14/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -1015,11 +1003,11 @@ tracks/14/keys = { "values": [65.1351, 71.2243, 0.0] } tracks/15/type = "value" +tracks/15/imported = false +tracks/15/enabled = true tracks/15/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg/RightFoot:rotation_degrees") tracks/15/interp = 1 tracks/15/loop_wrap = true -tracks/15/imported = false -tracks/15/enabled = true tracks/15/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -1027,11 +1015,11 @@ tracks/15/keys = { "values": [-7.80448, -9.33398, 0.0] } tracks/16/type = "value" +tracks/16/imported = false +tracks/16/enabled = true tracks/16/path = NodePath("Sprite2D/Skeleton2D/Hip:position") tracks/16/interp = 1 tracks/16/loop_wrap = true -tracks/16/imported = false -tracks/16/enabled = true tracks/16/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -1039,15 +1027,15 @@ tracks/16/keys = { "values": [Vector2(-3, 5), Vector2(-3, 10), Vector2(-3, -11)] } -[sub_resource type="Animation" id=6] +[sub_resource type="Animation" id="6"] length = 0.5 step = 0.05 tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm:rotation_degrees") tracks/0/interp = 1 tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1055,11 +1043,11 @@ tracks/0/keys = { "values": [-37.4387, -42.625, -47.8112, 0.0] } tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm:rotation_degrees") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1067,11 +1055,11 @@ tracks/1/keys = { "values": [29.1185, 11.1272, -6.86405, 0.0] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm/RightHand:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1079,11 +1067,11 @@ tracks/2/keys = { "values": [70.3278, 70.3278, 70.3278, 70.3278] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm:rotation_degrees") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1091,11 +1079,11 @@ tracks/3/keys = { "values": [-25.4772, -26.7555, -28.0338, 0.0] } tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm/LeftHand:rotation_degrees") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1103,11 +1091,11 @@ tracks/4/keys = { "values": [70.4643, 70.4643, 70.4643, 70.4643] } tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true tracks/5/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg:rotation_degrees") tracks/5/interp = 1 tracks/5/loop_wrap = true -tracks/5/imported = false -tracks/5/enabled = true tracks/5/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1115,11 +1103,11 @@ tracks/5/keys = { "values": [-14.3397, -73.2607, -101.672, -96.0437, -87.0644, -81.4364, -75.5482, -68.1294, -59.4516, -50.1338, 0.0] } tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true tracks/6/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg:rotation_degrees") tracks/6/interp = 1 tracks/6/loop_wrap = true -tracks/6/imported = false -tracks/6/enabled = true tracks/6/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1127,11 +1115,11 @@ tracks/6/keys = { "values": [24.2348, 81.9933, 115.218, 109.655, 100.857, 93.9295, 86.7621, 74.4117, 61.857, 48.4646, 0.0] } tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true tracks/7/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head/Chin:rotation_degrees") tracks/7/interp = 1 tracks/7/loop_wrap = true -tracks/7/imported = false -tracks/7/enabled = true tracks/7/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1139,11 +1127,11 @@ tracks/7/keys = { "values": [3.02107, 3.71772, 4.41437, 0.0971456] } tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true tracks/8/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest:rotation_degrees") tracks/8/interp = 1 tracks/8/loop_wrap = true -tracks/8/imported = false -tracks/8/enabled = true tracks/8/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1151,11 +1139,11 @@ tracks/8/keys = { "values": [2.08718, 28.9276, 55.7679, 0.0] } tracks/9/type = "value" +tracks/9/imported = false +tracks/9/enabled = true tracks/9/path = NodePath("Sprite2D/Skeleton2D/Hip:rotation_degrees") tracks/9/interp = 1 tracks/9/loop_wrap = true -tracks/9/imported = false -tracks/9/enabled = true tracks/9/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1163,11 +1151,11 @@ tracks/9/keys = { "values": [0.0, 0.0, 0.0, 0.0] } tracks/10/type = "value" +tracks/10/imported = false +tracks/10/enabled = true tracks/10/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head:rotation_degrees") tracks/10/interp = 1 tracks/10/loop_wrap = true -tracks/10/imported = false -tracks/10/enabled = true tracks/10/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1175,11 +1163,11 @@ tracks/10/keys = { "values": [12.6368, -16.0313, -44.6993, 0.0] } tracks/11/type = "value" +tracks/11/imported = false +tracks/11/enabled = true tracks/11/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm:rotation_degrees") tracks/11/interp = 1 tracks/11/loop_wrap = true -tracks/11/imported = false -tracks/11/enabled = true tracks/11/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1187,11 +1175,11 @@ tracks/11/keys = { "values": [18.2027, -3.87389, -25.9505, 0.0] } tracks/12/type = "value" +tracks/12/imported = false +tracks/12/enabled = true tracks/12/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg/LeftFoot:rotation_degrees") tracks/12/interp = 1 tracks/12/loop_wrap = true -tracks/12/imported = false -tracks/12/enabled = true tracks/12/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1199,11 +1187,11 @@ tracks/12/keys = { "values": [0.0, -10.1754, -13.1646, -13.0273, -14.769, -12.3075, -9.846, -7.3845, -4.923, 0.529002, 0.0] } tracks/13/type = "value" +tracks/13/imported = false +tracks/13/enabled = true tracks/13/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg:rotation_degrees") tracks/13/interp = 1 tracks/13/loop_wrap = true -tracks/13/imported = false -tracks/13/enabled = true tracks/13/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1211,11 +1199,11 @@ tracks/13/keys = { "values": [-34.5752, 2.11899, 3.93722, 6.87805, 10.7401, 13.8492, 20.5412, 23.1791, 22.8794, 25.5064, 0.0] } tracks/14/type = "value" +tracks/14/imported = false +tracks/14/enabled = true tracks/14/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg:rotation_degrees") tracks/14/interp = 1 tracks/14/loop_wrap = true -tracks/14/imported = false -tracks/14/enabled = true tracks/14/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1223,11 +1211,11 @@ tracks/14/keys = { "values": [21.1503, 76.1453, 94.2895, 86.0563, 78.3633, 70.5102, 56.7355, 48.8479, 42.6883, 31.5334, 0.0] } tracks/15/type = "value" +tracks/15/imported = false +tracks/15/enabled = true tracks/15/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg/RightFoot:rotation_degrees") tracks/15/interp = 1 tracks/15/loop_wrap = true -tracks/15/imported = false -tracks/15/enabled = true tracks/15/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1235,11 +1223,11 @@ tracks/15/keys = { "values": [0.0, 21.3576, 0.0, 2.33302, 1.93295, 1.61079, 1.28863, 6.65732, 19.5055, 26.646, 0.0] } tracks/16/type = "value" +tracks/16/imported = false +tracks/16/enabled = true tracks/16/path = NodePath("Sprite2D/Skeleton2D/Hip:position") tracks/16/interp = 1 tracks/16/loop_wrap = true -tracks/16/imported = false -tracks/16/enabled = true tracks/16/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), @@ -1247,16 +1235,16 @@ tracks/16/keys = { "values": [Vector2(-3, -11), Vector2(-3, 34.5), Vector2(-3, 80), Vector2(-3, -11)] } -[sub_resource type="Animation" id=7] +[sub_resource type="Animation" id="7"] resource_name = "run" length = 1.2 -loop = true +loop_mode = 1 tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D/Skeleton2D/Hip:position") tracks/0/interp = 1 tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.1, 0.3, 0.4, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1264,11 +1252,11 @@ tracks/0/keys = { "values": [Vector2(0, 0), Vector2(0, 20), Vector2(0, 0), Vector2(0, -20), Vector2(0, 0), Vector2(0, 20), Vector2(0, 10), Vector2(0, 0), Vector2(0, -20), Vector2(0, -10), Vector2(0, 0)] } tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath("Sprite2D/Skeleton2D/Hip:rotation_degrees") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1276,11 +1264,11 @@ tracks/1/keys = { "values": [6.28233, 4.18822, 2.09411, 0.0, 0.0, 0.0, 0.0, 1.04705, 2.09411, 3.14116, 4.18822, 5.23527, 6.28233] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg/LeftFoot:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1288,11 +1276,11 @@ tracks/2/keys = { "values": [0.0624552, 33.5158, 39.6506, 9.94342, -5.42779, 3.83004, 18.268, -33.7764, -41.6349, -20.918, 46.3613, 23.2119, 0.0624552] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest:rotation_degrees") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { "times": PackedFloat32Array(0, 0.6, 1.2), "transitions": PackedFloat32Array(1, 1, 1), @@ -1300,11 +1288,11 @@ tracks/3/keys = { "values": [17.0, 18.0496, 17.0] } tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head:rotation_degrees") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1312,11 +1300,11 @@ tracks/4/keys = { "values": [-22.2496, -20.4251, -18.6005, -16.776, -16.776, -16.776, -16.776, -17.6883, -18.6005, -19.5128, -20.4251, -21.3373, -22.2496] } tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true tracks/5/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm:rotation_degrees") tracks/5/interp = 1 tracks/5/loop_wrap = true -tracks/5/imported = false -tracks/5/enabled = true tracks/5/keys = { "times": PackedFloat32Array(0, 0.1, 0.3, 0.4, 0.7, 0.8, 0.9, 1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1324,11 +1312,11 @@ tracks/5/keys = { "values": [-40.1318, -34.1689, 4.46022, 19.5206, 35.3344, 18.5494, -16.0323, -26.4507, -40.1318] } tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true tracks/6/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head/Chin:rotation_degrees") tracks/6/interp = 1 tracks/6/loop_wrap = true -tracks/6/imported = false -tracks/6/enabled = true tracks/6/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1336,11 +1324,11 @@ tracks/6/keys = { "values": [0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456] } tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true tracks/7/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm:rotation_degrees") tracks/7/interp = 1 tracks/7/loop_wrap = true -tracks/7/imported = false -tracks/7/enabled = true tracks/7/keys = { "times": PackedFloat32Array(0, 0.1, 0.3, 0.4, 0.7, 0.8, 0.9, 1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1348,11 +1336,11 @@ tracks/7/keys = { "values": [49.6868, 39.5608, 0.72485, -4.42639, -55.2494, -33.4131, 20.974, 27.9563, 49.6868] } tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true tracks/8/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm:rotation_degrees") tracks/8/interp = 1 tracks/8/loop_wrap = true -tracks/8/imported = false -tracks/8/enabled = true tracks/8/keys = { "times": PackedFloat32Array(0, 0.1, 0.3, 0.4, 0.7, 0.8, 0.9, 1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1360,11 +1348,11 @@ tracks/8/keys = { "values": [-86.5264, -52.0043, -50.7752, -75.909, -65.4772, -57.7609, -65.3075, -63.6975, -86.5264] } tracks/9/type = "value" +tracks/9/imported = false +tracks/9/enabled = true tracks/9/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm/RightHand:rotation_degrees") tracks/9/interp = 1 tracks/9/loop_wrap = true -tracks/9/imported = false -tracks/9/enabled = true tracks/9/keys = { "times": PackedFloat32Array(0, 0.1, 0.3, 0.4, 0.7, 0.8, 0.9, 1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1372,11 +1360,11 @@ tracks/9/keys = { "values": [70.3278, 70.3278, 70.3278, 70.3278, 70.3278, 70.3278, 70.3278, 70.3278, 70.3278] } tracks/10/type = "value" +tracks/10/imported = false +tracks/10/enabled = true tracks/10/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg:rotation_degrees") tracks/10/interp = 1 tracks/10/loop_wrap = true -tracks/10/imported = false -tracks/10/enabled = true tracks/10/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1384,11 +1372,11 @@ tracks/10/keys = { "values": [19.4265, -18.9075, -49.2737, -97.3648, -66.2172, -67.8162, -29.2417, -47.1932, 0.705066, 10.0524, 23.4968, 21.4617, 19.4265] } tracks/11/type = "value" +tracks/11/imported = false +tracks/11/enabled = true tracks/11/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg:rotation_degrees") tracks/11/interp = 1 tracks/11/loop_wrap = true -tracks/11/imported = false -tracks/11/enabled = true tracks/11/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1396,11 +1384,11 @@ tracks/11/keys = { "values": [95.6353, 110.788, 117.695, 106.106, 43.7348, 37.4385, 9.07671, 78.9234, 39.2062, 48.7418, 17.1601, 56.3977, 95.6353] } tracks/12/type = "value" +tracks/12/imported = false +tracks/12/enabled = true tracks/12/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg:rotation_degrees") tracks/12/interp = 1 tracks/12/loop_wrap = true -tracks/12/imported = false -tracks/12/enabled = true tracks/12/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1408,11 +1396,11 @@ tracks/12/keys = { "values": [55.6942, 91.4726, 39.859, 30.6418, 26.0914, 57.3896, 95.5336, 65.7712, 84.8885, 105.98, 102.003, 41.5752, 55.6942] } tracks/13/type = "value" +tracks/13/imported = false +tracks/13/enabled = true tracks/13/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm/LeftHand:rotation_degrees") tracks/13/interp = 1 tracks/13/loop_wrap = true -tracks/13/imported = false -tracks/13/enabled = true tracks/13/keys = { "times": PackedFloat32Array(0, 0.1, 0.3, 0.4, 0.7, 0.8, 0.9, 1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1420,11 +1408,11 @@ tracks/13/keys = { "values": [70.4643, 70.4643, 70.4643, 70.4643, 70.4643, 70.4643, 70.4643, 70.4643, 70.4643] } tracks/14/type = "value" +tracks/14/imported = false +tracks/14/enabled = true tracks/14/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg/RightFoot:rotation_degrees") tracks/14/interp = 1 tracks/14/loop_wrap = true -tracks/14/imported = false -tracks/14/enabled = true tracks/14/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1432,11 +1420,11 @@ tracks/14/keys = { "values": [6.20701, -36.6959, -36.1181, -15.9378, 40.2239, 36.8756, 14.7112, 13.2938, 11.8765, 10.4591, -0.393764, -3.89666, 6.20701] } tracks/15/type = "value" +tracks/15/imported = false +tracks/15/enabled = true tracks/15/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg:rotation_degrees") tracks/15/interp = 1 tracks/15/loop_wrap = true -tracks/15/imported = false -tracks/15/enabled = true tracks/15/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1444,11 +1432,11 @@ tracks/15/keys = { "values": [-65.6781, -57.6967, -2.98436, 19.7068, 20.6046, 22.5818, 15.487, 26.3705, 2.87948, -41.8002, -72.8228, -80.0806, -65.6781] } tracks/16/type = "value" +tracks/16/imported = false +tracks/16/enabled = true tracks/16/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm:rotation_degrees") tracks/16/interp = 1 tracks/16/loop_wrap = true -tracks/16/imported = false -tracks/16/enabled = true tracks/16/keys = { "times": PackedFloat32Array(0, 0.1, 0.3, 0.4, 0.7, 0.8, 0.9, 1, 1.2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1456,15 +1444,15 @@ tracks/16/keys = { "values": [-69.0495, -61.2157, -59.8623, -53.6418, -34.8144, -56.766, -46.3663, -57.7804, -69.0495] } -[sub_resource type="Animation" id=8] +[sub_resource type="Animation" id="8"] length = 2.4 -loop = true +loop_mode = 1 tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm/LeftHand:rotation_degrees") tracks/0/interp = 1 tracks/0/loop_wrap = true -tracks/0/imported = false -tracks/0/enabled = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1472,11 +1460,11 @@ tracks/0/keys = { "values": [70.4643, 70.4643, 70.4643, 70.4643, 70.4643, 70.4643, 70.4643, 70.4643, 70.4643] } tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm:rotation_degrees") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1), @@ -1484,11 +1472,11 @@ tracks/1/keys = { "values": [22.9554, 14.364, 4.85809, -17.8627, -33.209, 16.3409, 34.6629, 22.9554] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1496,11 +1484,11 @@ tracks/2/keys = { "values": [-27.7881, -37.5891, -12.3507, -24.3746, -36.6077, -36.6077, -23.3157, -37.0737, -27.7881] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head/Chin:rotation_degrees") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1508,11 +1496,11 @@ tracks/3/keys = { "values": [0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456, 0.0971456] } tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/Head:rotation_degrees") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1520,11 +1508,11 @@ tracks/4/keys = { "values": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] } tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true tracks/5/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/LeftArm:rotation_degrees") tracks/5/interp = 1 tracks/5/loop_wrap = true -tracks/5/imported = false -tracks/5/enabled = true tracks/5/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1), @@ -1532,11 +1520,11 @@ tracks/5/keys = { "values": [-38.8261, -17.6849, -2.00788, 23.4365, 48.0693, 4.34599, -14.5235, -38.8261] } tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true tracks/6/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest:rotation_degrees") tracks/6/interp = 1 tracks/6/loop_wrap = true -tracks/6/imported = false -tracks/6/enabled = true tracks/6/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1544,11 +1532,11 @@ tracks/6/keys = { "values": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] } tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true tracks/7/path = NodePath("Sprite2D/Skeleton2D/Hip:rotation_degrees") tracks/7/interp = 1 tracks/7/loop_wrap = true -tracks/7/imported = false -tracks/7/enabled = true tracks/7/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1556,11 +1544,11 @@ tracks/7/keys = { "values": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] } tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true tracks/8/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm:rotation_degrees") tracks/8/interp = 1 tracks/8/loop_wrap = true -tracks/8/imported = false -tracks/8/enabled = true tracks/8/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1568,11 +1556,11 @@ tracks/8/keys = { "values": [-35.0791, -35.5942, -13.9125, -29.3814, -38.5556, -38.5556, -15.7102, -29.9646, -35.0791] } tracks/9/type = "value" +tracks/9/imported = false +tracks/9/enabled = true tracks/9/path = NodePath("Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm/RightHand:rotation_degrees") tracks/9/interp = 1 tracks/9/loop_wrap = true -tracks/9/imported = false -tracks/9/enabled = true tracks/9/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1580,11 +1568,11 @@ tracks/9/keys = { "values": [70.3278, 70.3278, 70.3278, 70.3278, 70.3278, 70.3278, 70.3278, 70.3278, 70.3278] } tracks/10/type = "value" +tracks/10/imported = false +tracks/10/enabled = true tracks/10/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg:rotation_degrees") tracks/10/interp = 1 tracks/10/loop_wrap = true -tracks/10/imported = false -tracks/10/enabled = true tracks/10/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1592,11 +1580,11 @@ tracks/10/keys = { "values": [24.0853, 33.5536, 125.838, 70.4823, 4.17665, 48.5185, 7.37566, 21.7199, 24.0853] } tracks/11/type = "value" +tracks/11/imported = false +tracks/11/enabled = true tracks/11/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg:rotation_degrees") tracks/11/interp = 1 tracks/11/loop_wrap = true -tracks/11/imported = false -tracks/11/enabled = true tracks/11/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1604,11 +1592,11 @@ tracks/11/keys = { "values": [19.926, 18.6897, -47.2542, -60.9198, -22.225, -39.5632, 23.8388, 25.4551, 19.926] } tracks/12/type = "value" +tracks/12/imported = false +tracks/12/enabled = true tracks/12/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg:rotation_degrees") tracks/12/interp = 1 tracks/12/loop_wrap = true -tracks/12/imported = false -tracks/12/enabled = true tracks/12/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1616,11 +1604,11 @@ tracks/12/keys = { "values": [-26.9247, -50.2536, -17.8582, 9.5402, 27.8206, 31.8761, -15.9817, -38.2518, -26.9247] } tracks/13/type = "value" +tracks/13/imported = false +tracks/13/enabled = true tracks/13/path = NodePath("Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg/LeftFoot:rotation_degrees") tracks/13/interp = 1 tracks/13/loop_wrap = true -tracks/13/imported = false -tracks/13/enabled = true tracks/13/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1628,11 +1616,11 @@ tracks/13/keys = { "values": [-19.2157, -17.9784, -14.6937, -15.002, 15.0645, -13.4433, -16.1769, 2.95738, -19.2157] } tracks/14/type = "value" +tracks/14/imported = false +tracks/14/enabled = true tracks/14/path = NodePath("Sprite2D/Skeleton2D/Hip:position") tracks/14/interp = 1 tracks/14/loop_wrap = true -tracks/14/imported = false -tracks/14/enabled = true tracks/14/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1640,11 +1628,11 @@ tracks/14/keys = { "values": [Vector2(-3, -11), Vector2(-3, -5), Vector2(-3, -26), Vector2(-3, -30), Vector2(-3, -11), Vector2(-3, -5), Vector2(-3, -11), Vector2(-3, -30), Vector2(-3, -11)] } tracks/15/type = "value" +tracks/15/imported = false +tracks/15/enabled = true tracks/15/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg/RightFoot:rotation_degrees") tracks/15/interp = 1 tracks/15/loop_wrap = true -tracks/15/imported = false -tracks/15/enabled = true tracks/15/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1652,11 +1640,11 @@ tracks/15/keys = { "values": [16.8793, -7.46142, -5.81507, -8.76219, -3.17026, 5.76248, -0.503692, -3.07496, 16.8793] } tracks/16/type = "value" +tracks/16/imported = false +tracks/16/enabled = true tracks/16/path = NodePath("Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg:rotation_degrees") tracks/16/interp = 1 tracks/16/loop_wrap = true -tracks/16/imported = false -tracks/16/enabled = true tracks/16/keys = { "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1, 2.4), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), @@ -1664,118 +1652,139 @@ tracks/16/keys = { "values": [5.05738, 56.5283, 23.651, 19.9285, 18.8404, 18.8404, 86.8536, 42.6926, 5.05738] } -[sub_resource type="AnimationNodeAnimation" id=9] -animation = "fall" +[sub_resource type="AnimationLibrary" id="AnimationLibrary_sx6h1"] +_data = { +"fall": SubResource("1"), +"fly": SubResource("2"), +"idle": SubResource("3"), +"jump": SubResource("4"), +"land": SubResource("5"), +"land_hard": SubResource("6"), +"run": SubResource("7"), +"walk": SubResource("8") +} + +[sub_resource type="AnimationNodeAnimation" id="9"] +animation = &"fall" -[sub_resource type="AnimationNodeAnimation" id=10] -animation = "fly" +[sub_resource type="AnimationNodeAnimation" id="10"] +animation = &"fly" -[sub_resource type="AnimationNodeAnimation" id=11] -animation = "idle" +[sub_resource type="AnimationNodeAnimation" id="11"] +animation = &"idle" -[sub_resource type="AnimationNodeOneShot" id=12] +[sub_resource type="AnimationNodeOneShot" id="12"] +sync = true -[sub_resource type="AnimationNodeAnimation" id=13] -animation = "jump" +[sub_resource type="AnimationNodeAnimation" id="13"] +animation = &"jump" -[sub_resource type="AnimationNodeOneShot" id=14] -fadein_time = 0.0 +[sub_resource type="AnimationNodeOneShot" id="14"] +sync = true -[sub_resource type="AnimationNodeAnimation" id=15] -animation = "land" +[sub_resource type="AnimationNodeAnimation" id="15"] +animation = &"land" -[sub_resource type="AnimationNodeOneShot" id=16] +[sub_resource type="AnimationNodeOneShot" id="16"] filter_enabled = true filters = ["Sprite2D/Skeleton2D/Hip/Chest/Head/Chin:rotation_degrees", "Sprite2D/Skeleton2D/Hip/Chest/Head:rotation_degrees", "Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm/RightHand:rotation_degrees", "Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm:rotation_degrees", "Sprite2D/Skeleton2D/Hip/Chest/RightArm:rotation_degrees", "Sprite2D/Skeleton2D/Hip/Chest:rotation_degrees", "Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg/LeftFoot:rotation_degrees", "Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg:rotation_degrees", "Sprite2D/Skeleton2D/Hip/LeftLeg:rotation_degrees", "Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg/RightFoot:rotation_degrees", "Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg:rotation_degrees", "Sprite2D/Skeleton2D/Hip/RightLeg:rotation_degrees", "Sprite2D/Skeleton2D/Hip:position", "Sprite2D/Skeleton2D/Hip:rotation_degrees"] -fadein_time = 0.0 +sync = true -[sub_resource type="AnimationNodeAnimation" id=17] -animation = "land_hard" +[sub_resource type="AnimationNodeAnimation" id="17"] +animation = &"land_hard" -[sub_resource type="AnimationNodeAnimation" id=18] -animation = "run" +[sub_resource type="AnimationNodeAnimation" id="18"] +animation = &"run" -[sub_resource type="AnimationNodeTimeScale" id=19] +[sub_resource type="AnimationNodeTimeScale" id="19"] -[sub_resource type="AnimationNodeTransition" id=20] -input_count = 5 +[sub_resource type="AnimationNodeTransition" id="20"] xfade_time = 0.1 input_0/name = "idle" input_0/auto_advance = false +input_0/reset = true input_1/name = "walk" input_1/auto_advance = false +input_1/reset = true input_2/name = "run" input_2/auto_advance = false +input_2/reset = true input_3/name = "fly" input_3/auto_advance = false +input_3/reset = true input_4/name = "fall" input_4/auto_advance = false +input_4/reset = true -[sub_resource type="AnimationNodeAnimation" id=21] -animation = "walk" +[sub_resource type="AnimationNodeAnimation" id="21"] +animation = &"walk" -[sub_resource type="AnimationNodeTimeScale" id=22] +[sub_resource type="AnimationNodeTimeScale" id="22"] -[sub_resource type="AnimationNodeBlendTree" id=23] -graph_offset = Vector2(-81.2169, -35.6349) -nodes/fall_animation/node = SubResource( 9 ) -nodes/fall_animation/position = Vector2(200, 480) -nodes/fly_animation/node = SubResource( 10 ) -nodes/fly_animation/position = Vector2(200, 360) -nodes/idle_animation/node = SubResource( 11 ) -nodes/idle_animation/position = Vector2(200, 0) -nodes/jump/node = SubResource( 12 ) -nodes/jump/position = Vector2(460, 160) -nodes/jump_animation/node = SubResource( 13 ) -nodes/jump_animation/position = Vector2(660, 340) -nodes/land/node = SubResource( 14 ) -nodes/land/position = Vector2(700, 160) -nodes/land_animation/node = SubResource( 15 ) -nodes/land_animation/position = Vector2(700, 340) -nodes/land_hard/node = SubResource( 16 ) -nodes/land_hard/position = Vector2(1140, 160) -nodes/land_hard_animation/node = SubResource( 17 ) -nodes/land_hard_animation/position = Vector2(1140, 340) -nodes/output/position = Vector2(1160, 160) -nodes/run_animation/node = SubResource( 18 ) -nodes/run_animation/position = Vector2(0, 260) -nodes/run_timescale/node = SubResource( 19 ) -nodes/run_timescale/position = Vector2(200, 240) -nodes/state/node = SubResource( 20 ) -nodes/state/position = Vector2(260, 160) -nodes/walk_animation/node = SubResource( 21 ) -nodes/walk_animation/position = Vector2(0, 140) -nodes/walk_timescale/node = SubResource( 22 ) -nodes/walk_timescale/position = Vector2(200, 120) -node_connections = ["state", 0, "idle_animation", "state", 1, "walk_timescale", "state", 2, "run_timescale", "state", 3, "fly_animation", "state", 4, "fall_animation", "output", 0, "land_hard", "land", 0, "jump", "land", 1, "land_animation", "jump", 0, "state", "jump", 1, "jump_animation", "land_hard", 0, "land", "land_hard", 1, "land_hard_animation", "run_timescale", 0, "run_animation", "walk_timescale", 0, "walk_animation"] +[sub_resource type="AnimationNodeBlendTree" id="23"] +graph_offset = Vector2(380.667, 382) +nodes/fall_animation/node = SubResource("9") +nodes/fall_animation/position = Vector2(533.333, 973.333) +nodes/fly_animation/node = SubResource("10") +nodes/fly_animation/position = Vector2(533.333, 853.333) +nodes/idle_animation/node = SubResource("11") +nodes/idle_animation/position = Vector2(533.333, 506.667) +nodes/jump/node = SubResource("12") +nodes/jump/position = Vector2(1293.33, 666.667) +nodes/jump_animation/node = SubResource("13") +nodes/jump_animation/position = Vector2(1093.33, 506.667) +nodes/land/node = SubResource("14") +nodes/land/position = Vector2(1480, 666.667) +nodes/land_animation/node = SubResource("15") +nodes/land_animation/position = Vector2(1266.67, 506.667) +nodes/land_hard/node = SubResource("16") +nodes/land_hard/position = Vector2(1680, 666.667) +nodes/land_hard_animation/node = SubResource("17") +nodes/land_hard_animation/position = Vector2(1453.33, 506.667) +nodes/output/position = Vector2(1866.67, 666.667) +nodes/run_animation/node = SubResource("18") +nodes/run_animation/position = Vector2(533.333, 746.667) +nodes/run_timescale/node = SubResource("19") +nodes/run_timescale/position = Vector2(720, 746.667) +nodes/state/node = SubResource("20") +nodes/state/position = Vector2(1106.67, 666.667) +nodes/walk_animation/node = SubResource("21") +nodes/walk_animation/position = Vector2(533.333, 626.667) +nodes/walk_timescale/node = SubResource("22") +nodes/walk_timescale/position = Vector2(720, 626.667) +node_connections = [&"output", 0, &"land_hard", &"jump", 0, &"state", &"jump", 1, &"jump_animation", &"land", 0, &"jump", &"land", 1, &"land_animation", &"land_hard", 0, &"land", &"land_hard", 1, &"land_hard_animation", &"run_timescale", 0, &"run_animation", &"state", 0, &"idle_animation", &"state", 1, &"walk_timescale", &"state", 2, &"run_timescale", &"state", 3, &"fly_animation", &"state", 4, &"fall_animation", &"walk_timescale", 0, &"walk_animation"] -[sub_resource type="RectangleShape2D" id=24] -extents = Vector2(11, 16.4358) +[sub_resource type="RectangleShape2D" id="24"] +size = Vector2(22, 32.8716) [node name="SkeletalPlayer" type="CharacterBody2D"] -script = ExtResource( 1 ) -__meta__ = { -"_edit_horizontal_guides_": [379.019] -} +collision_mask = 28 +floor_max_angle = 0.907571 +floor_snap_length = 20.0 +safe_margin = 0.2 +script = ExtResource("1") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] -anims/fall = SubResource( 1 ) -anims/fly = SubResource( 2 ) -anims/idle = SubResource( 3 ) -anims/jump = SubResource( 4 ) -anims/land = SubResource( 5 ) -anims/land_hard = SubResource( 6 ) -anims/run = SubResource( 7 ) -anims/walk = SubResource( 8 ) +libraries = { +"": SubResource("AnimationLibrary_sx6h1") +} [node name="AnimationTree" type="AnimationTree" parent="."] -tree_root = SubResource( 23 ) +tree_root = SubResource("23") anim_player = NodePath("../AnimationPlayer") parameters/jump/active = false +parameters/jump/internal_active = false +parameters/jump/request = 0 parameters/land/active = false +parameters/land/internal_active = false +parameters/land/request = 0 parameters/land_hard/active = false +parameters/land_hard/internal_active = false +parameters/land_hard/request = 0 parameters/run_timescale/scale = 1.0 -parameters/state/current = 0 +parameters/state/current_state = "" +parameters/state/transition_request = "" +parameters/state/current_index = -1 parameters/walk_timescale/scale = 0.1 [node name="Sprite2D" type="Node2D" parent="."] @@ -1785,168 +1794,175 @@ scale = Vector2(0.06, 0.06) [node name="Skeleton2D" type="Skeleton2D" parent="Sprite2D"] [node name="Hip" type="Bone2D" parent="Sprite2D/Skeleton2D"] -position = Vector2(-3, -18.5221) +position = Vector2(-3, -11) rest = Transform2D(1, 0, 0, 1, -3, -11) [node name="Chest" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip"] position = Vector2(0, -32) +rotation = -0.0855327 rest = Transform2D(1, 0, 0, 1, 0, -32) [node name="Head" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/Chest"] position = Vector2(0, -160) +rotation = 0.287974 rest = Transform2D(1, 0, 0, 1, 0, -160) [node name="Chin" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/Chest/Head"] position = Vector2(0, -49) -rotation = 0.00169551 +rotation = -0.0435718 rest = Transform2D(0.999999, 0.00169551, -0.00169551, 0.999999, 0, -49) -default_length = 60.0 +auto_calculate_length_and_angle = false +length = 16.0 +bone_angle = -2.49648 [node name="RightArm" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/Chest"] position = Vector2(80, -100) -rotation = -1.74533 +rotation = -0.524992 rest = Transform2D(1, 0, 0, 1, 80, -100) [node name="RightForearm" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/Chest/RightArm"] position = Vector2(-11, 97) -rotation = -0.609531 +rotation = -0.0536324 rest = Transform2D(1, 0, 0, 1, -11, 97) [node name="RightHand" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/Chest/RightArm/RightForearm"] position = Vector2(13, 94) rotation = 1.22745 rest = Transform2D(0.336639, 0.941634, -0.941634, 0.336639, 13, 94) -default_length = 60.0 +auto_calculate_length_and_angle = false +length = 16.0 +bone_angle = 70.3277 [node name="LeftArm" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/Chest"] position = Vector2(-100, -100) -rotation = 0.436332 +rotation = 0.744076 rest = Transform2D(1, 0, 0, 1, -100, -100) [node name="LeftForearm" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/Chest/LeftArm"] position = Vector2(-2, 95) -rotation = -0.554398 +rotation = -0.821385 rest = Transform2D(1, 0, 0, 1, -2, 95) [node name="LeftHand" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/Chest/LeftArm/LeftForearm"] position = Vector2(9, 102) rotation = 1.22983 rest = Transform2D(0.334394, 0.942433, -0.942433, 0.334394, 9, 102) -default_length = 60.0 +auto_calculate_length_and_angle = false +length = 16.0 +bone_angle = 70.4641 [node name="LeftLeg" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip"] position = Vector2(-72, 26) -rotation = -0.65527 +rotation = 0.103216 rest = Transform2D(1, 0, 0, 1, -72, 26) [node name="LeftLowerLeg" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/LeftLeg"] position = Vector2(-13, 91) -rotation = 0.53105 +rotation = 0.613454 rest = Transform2D(1, 0, 0, 1, -13, 91) [node name="LeftFoot" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/LeftLeg/LeftLowerLeg"] position = Vector2(7, 127) -rotation = 0.055174 rest = Transform2D(1, 0, 0, 1, 7, 127) -default_length = 60.0 +auto_calculate_length_and_angle = false +length = 16.0 +bone_angle = 0.0 [node name="RightLeg" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip"] position = Vector2(46, 11) -rotation = 0.359249 +rotation = -0.755354 +scale = Vector2(1, 1) rest = Transform2D(1, 0, 0, 1, 46, 11) [node name="RightLowerLeg" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/RightLeg"] position = Vector2(-26, 94) -rotation = 0.336345 +rotation = 0.622049 rest = Transform2D(1, 0, 0, 1, -26, 94) [node name="RightFoot" type="Bone2D" parent="Sprite2D/Skeleton2D/Hip/RightLeg/RightLowerLeg"] position = Vector2(2, 129) -rotation = -0.0939702 rest = Transform2D(1, 0, 0, 1, 2, 129) -default_length = 60.0 +auto_calculate_length_and_angle = false +length = 16.0 +bone_angle = 0.0 [node name="Polygons" type="Node2D" parent="Sprite2D"] -__meta__ = { -"_edit_group_": true -} [node name="RightArm" type="Polygon2D" parent="Sprite2D/Polygons"] position = Vector2(-150, -240) -texture = ExtResource( 2 ) +texture = ExtResource("2") skeleton = NodePath("../../Skeleton2D") polygon = PackedVector2Array(237.601, 31.7394, 217.703, 30.1435, 183.732, 47.8469, 274.303, 49.2926, 271.111, 94.5053, 183.877, 89.7181, 185.505, 166.856, 248.688, 172.323, 242.541, 187.015, 189.46, 182.958, 190.308, 202.449, 180.383, 225.837, 201.435, 321.531, 242.841, 196.76, 256.334, 215.801, 276.077, 283.732, 295.215, 310.526, 272.249, 351.675, 216.746, 356.459) uv = PackedVector2Array(235.407, 30.1435, 217.703, 30.1435, 183.732, 47.8469, 276.555, 49.2823, 274.641, 85.6459, 181.34, 83.7321, 184.689, 180.383, 253.11, 178.469, 243.541, 188.995, 188.038, 187.081, 188.995, 200, 180.383, 225.837, 201.435, 321.531, 244.976, 199.043, 259.809, 215.789, 276.077, 283.732, 295.215, 310.526, 272.249, 351.675, 216.746, 356.459) polygons = [PackedInt32Array(0, 1, 2, 5, 4, 3), PackedInt32Array(4, 7, 6, 5), PackedInt32Array(8, 7, 6, 9), PackedInt32Array(13, 8, 9, 10), PackedInt32Array(13, 14, 11, 10), PackedInt32Array(14, 15, 12, 11), PackedInt32Array(15, 16, 17, 18, 12)] -bones = [NodePath("Hip"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/RightArm"), PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 0.5, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/RightArm/RightForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0.5, 1, 1, 0.5, 1, 1, 0.5, 0, 0, 0), NodePath("Hip/Chest/RightArm/RightForearm/RightHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0.5, 1, 1, 1), NodePath("Hip/Chest/Head"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head/Chin"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/LeftArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/LeftArm/LeftForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/LeftArm/LeftForearm/LeftHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg/LeftFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightLeg/RightLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightLeg/RightLowerLeg/RightFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)] +bones = ["Hip", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/RightArm", PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 0.5, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/RightArm/RightForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0.5, 1, 1, 0.5, 1, 1, 0.5, 0, 0, 0), "Hip/Chest/RightArm/RightForearm/RightHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0.5, 1, 1, 1), "Hip/Chest/Head", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head/Chin", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/LeftArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/LeftArm/LeftForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/LeftArm/LeftForearm/LeftHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg/LeftFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightLeg/RightLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightLeg/RightLowerLeg/RightFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)] internal_vertex_count = 19 [node name="RightLeg" type="Polygon2D" parent="Sprite2D/Polygons"] position = Vector2(-274, -409) -texture = ExtResource( 2 ) +texture = ExtResource("2") skeleton = NodePath("../../Skeleton2D") polygon = PackedVector2Array(348.266, 400, 289.099, 380.833, 280.766, 435, 276.599, 470.833, 250.766, 515, 249.933, 604.167, 246.599, 690.833, 407.433, 695.833, 409.099, 659.167, 384.099, 606.667, 349.099, 599.167, 330.766, 550, 342.433, 476.667, 337.433, 442.5) uv = PackedVector2Array(348.266, 400, 289.099, 380.833, 280.766, 435, 276.599, 470.833, 250.766, 515, 249.933, 604.167, 246.599, 690.833, 407.433, 695.833, 409.099, 659.167, 384.099, 606.667, 349.099, 599.167, 330.766, 550, 342.433, 476.667, 337.433, 442.5) polygons = [PackedInt32Array(0, 1, 2, 13), PackedInt32Array(13, 12, 3, 2), PackedInt32Array(12, 11, 4, 3), PackedInt32Array(11, 10, 5, 4), PackedInt32Array(10, 9, 8, 7, 6, 5)] -bones = [NodePath("Hip"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head/Chin"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm/LeftForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm/LeftForearm/LeftHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm/RightForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm/RightForearm/RightHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg/LeftFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightLeg"), PackedFloat32Array(1, 1, 1, 0.53, 0, 0, 0, 0, 0, 0, 0, 0, 0.53, 1), NodePath("Hip/RightLeg/RightLowerLeg"), PackedFloat32Array(0, 0, 0, 0.53, 1, 1, 0, 0, 0, 0, 0, 1, 0.53, 0), NodePath("Hip/RightLeg/RightLowerLeg/RightFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0.53, 0, 0, 0)] +bones = ["Hip", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head/Chin", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm/LeftForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm/LeftForearm/LeftHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm/RightForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm/RightForearm/RightHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg/LeftFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightLeg", PackedFloat32Array(1, 1, 1, 0.53, 0, 0, 0, 0, 0, 0, 0, 0, 0.53, 1), "Hip/RightLeg/RightLowerLeg", PackedFloat32Array(0, 0, 0, 0.53, 1, 1, 0, 0, 0, 0, 0, 1, 0.53, 0), "Hip/RightLeg/RightLowerLeg/RightFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0.53, 0, 0, 0)] internal_vertex_count = 14 [node name="Body" type="Polygon2D" parent="Sprite2D/Polygons"] position = Vector2(-436, -294) -texture = ExtResource( 2 ) +texture = ExtResource("2") skeleton = NodePath("../../Skeleton2D") polygon = PackedVector2Array(473.936, 29.2553, 430.851, 19.6809, 384.043, 78.7234, 344.681, 107.447, 348.404, 192.553, 375.532, 240.426, 375, 255.319, 351.064, 269.681, 347.34, 294.681, 371.809, 334.574, 468.085, 347.872, 490.957, 296.809, 489.894, 276.596, 472.368, 259.211, 473.936, 245.745, 505.319, 222.34, 522.872, 179.787, 507.447, 121.809, 484.043, 84.0426, 398.404, 38.2979, 419.681, 344.149) uv = PackedVector2Array(473.936, 29.2553, 430.851, 19.6809, 384.043, 78.7234, 344.681, 107.447, 348.404, 192.553, 375.532, 240.426, 375, 255.319, 351.064, 269.681, 347.34, 294.681, 371.809, 334.574, 468.085, 347.872, 490.957, 296.809, 489.894, 276.596, 472.368, 259.211, 473.936, 245.745, 505.319, 222.34, 522.872, 179.787, 507.447, 121.809, 484.043, 84.0426, 398.404, 38.2979, 419.681, 344.149) polygons = [PackedInt32Array(2, 19, 1, 0, 18), PackedInt32Array(2, 3, 17, 18), PackedInt32Array(3, 4, 15, 16, 17), PackedInt32Array(4, 5, 14, 15), PackedInt32Array(5, 6, 13, 14), PackedInt32Array(6, 7, 12, 13), PackedInt32Array(7, 8, 11, 12), PackedInt32Array(8, 9, 20, 10, 11)] -bones = [NodePath("Hip"), PackedFloat32Array(0, 0, 0, 0, 0, 0.51, 0.51, 1, 1, 1, 1, 1, 1, 0.51, 0.51, 0, 0, 0, 0, 0, 1), NodePath("Hip/Chest"), PackedFloat32Array(1, 1, 1, 1, 1, 0.51, 0.51, 0, 0, 0, 0, 0, 0, 0.51, 0.51, 1, 1, 1, 1, 1, 0), NodePath("Hip/Chest/Head"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head/Chin"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm/LeftForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm/LeftForearm/LeftHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm/RightForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm/RightForearm/RightHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg/LeftFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg/RightLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg/RightLowerLeg/RightFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)] +bones = ["Hip", PackedFloat32Array(0, 0, 0, 0, 0, 0.51, 0.51, 1, 1, 1, 1, 1, 1, 0.51, 0.51, 0, 0, 0, 0, 0, 1), "Hip/Chest", PackedFloat32Array(1, 1, 1, 1, 1, 0.51, 0.51, 0, 0, 0, 0, 0, 0, 0.51, 0.51, 1, 1, 1, 1, 1, 0), "Hip/Chest/Head", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head/Chin", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm/LeftForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm/LeftForearm/LeftHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm/RightForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm/RightForearm/RightHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg/LeftFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "RightLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "RightLeg/RightLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "RightLeg/RightLowerLeg/RightFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)] internal_vertex_count = 21 [node name="LeftLeg" type="Polygon2D" parent="Sprite2D/Polygons"] position = Vector2(-153, -402) -texture = ExtResource( 2 ) +texture = ExtResource("2") skeleton = NodePath("../../Skeleton2D") polygon = PackedVector2Array(65.7658, 390, 92.4325, 386.667, 119.099, 398.333, 119.099, 426.667, 120.766, 477.5, 107.433, 551.667, 129.099, 592.5, 163.266, 604.167, 188.266, 675, 173.266, 692.5, 20.7658, 686.667, 25.7658, 648.333, 29.9325, 608.333, 24.0992, 530.833, 54.9325, 472.5) uv = PackedVector2Array(65.7658, 390, 92.4325, 386.667, 119.099, 398.333, 119.099, 426.667, 120.766, 477.5, 107.433, 551.667, 129.099, 592.5, 163.266, 604.167, 188.266, 675, 173.266, 692.5, 20.7658, 686.667, 25.7658, 648.333, 29.9325, 608.333, 24.0992, 530.833, 54.9325, 472.5) polygons = [PackedInt32Array(0, 1, 2, 3, 4, 14), PackedInt32Array(4, 5, 13, 14), PackedInt32Array(5, 6, 12, 13), PackedInt32Array(6, 7, 8, 9, 10, 11, 12)] -bones = [NodePath("Hip"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head/Chin"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm/LeftForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm/LeftForearm/LeftHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm/RightForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm/RightForearm/RightHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg"), PackedFloat32Array(1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0.03, 1, 0, 0, 0, 0, 0, 0, 0.53, 0.5, 0.03), NodePath("Hip/LeftLeg/LeftLowerLeg/LeftFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0.53, 1, 1, 1, 1, 1, 0, 0, 0), NodePath("RightLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg/RightLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg/RightLowerLeg/RightFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)] +bones = ["Hip", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head/Chin", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm/LeftForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm/LeftForearm/LeftHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm/RightForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm/RightForearm/RightHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg", PackedFloat32Array(1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0.03, 1, 0, 0, 0, 0, 0, 0, 0.53, 0.5, 0.03), "Hip/LeftLeg/LeftLowerLeg/LeftFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0.53, 1, 1, 1, 1, 1, 0, 0, 0), "RightLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "RightLeg/RightLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "RightLeg/RightLowerLeg/RightFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)] internal_vertex_count = 15 [node name="Head" type="Polygon2D" parent="Sprite2D/Polygons"] position = Vector2(-652, -778) -texture = ExtResource( 2 ) +texture = ExtResource("2") skeleton = NodePath("../../Skeleton2D") polygon = PackedVector2Array(616.26, 246.341, 555.285, 285.366, 508.13, 330.894, 482.114, 380.488, 482.114, 448.781, 492.683, 498.374, 552.846, 534.146, 656.911, 538.211, 773.984, 511.382, 807.317, 506.504, 813.821, 342.276, 789.431, 297.561, 757.724, 269.106, 669.106, 249.594) uv = PackedVector2Array(616.26, 246.341, 555.285, 285.366, 508.13, 330.894, 482.114, 380.488, 482.114, 448.781, 492.683, 498.374, 552.846, 534.146, 656.911, 538.211, 773.984, 511.382, 807.317, 506.504, 813.821, 342.276, 789.431, 297.561, 757.724, 269.106, 669.106, 249.594) polygons = [PackedInt32Array(10, 11, 12, 13, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)] -bones = [NodePath("Hip"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head"), PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), NodePath("Hip/Chest/Head/Chin"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm/LeftForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm/LeftForearm/LeftHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm/RightForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm/RightForearm/RightHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg/LeftFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg/RightLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg/RightLowerLeg/RightFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)] +bones = ["Hip", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head", PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), "Hip/Chest/Head/Chin", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm/LeftForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm/LeftForearm/LeftHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm/RightForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightArm/RightForearm/RightHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg/LeftFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "RightLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "RightLeg/RightLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "RightLeg/RightLowerLeg/RightFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)] internal_vertex_count = 14 [node name="Chin" type="Polygon2D" parent="Sprite2D/Polygons"] position = Vector2(-133, -265) offset = Vector2(-516, -603) -texture = ExtResource( 2 ) +texture = ExtResource("2") skeleton = NodePath("../../Skeleton2D") polygon = PackedVector2Array(486, 576, 812, 562, 823, 605, 790, 666, 722, 690, 547, 686, 493, 646) uv = PackedVector2Array(486, 576, 812, 562, 823, 605, 790, 666, 722, 690, 547, 686, 493, 646) polygons = [PackedInt32Array(0, 1, 2, 3, 4, 5, 6)] -bones = [NodePath("Hip"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head/Chin"), PackedFloat32Array(1, 1, 1, 1, 1, 1, 1), NodePath("Hip/LeftArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm/LeftForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftArm/LeftForearm/LeftHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm/RightForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightArm/RightForearm/RightHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg/LeftFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg/RightLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), NodePath("RightLeg/RightLowerLeg/RightFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0)] +bones = ["Hip", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/Chest", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head/Chin", PackedFloat32Array(1, 1, 1, 1, 1, 1, 1), "Hip/LeftArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm/LeftForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/LeftArm/LeftForearm/LeftHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/RightArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/RightArm/RightForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/RightArm/RightForearm/RightHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg/LeftFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "RightLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "RightLeg/RightLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0), "RightLeg/RightLowerLeg/RightFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0)] internal_vertex_count = 7 [node name="LeftArm" type="Polygon2D" parent="Sprite2D/Polygons"] position = Vector2(-168, -240) -texture = ExtResource( 2 ) +texture = ExtResource("2") skeleton = NodePath("../../Skeleton2D") polygon = PackedVector2Array(89.9521, 16.268, 77.5119, 15.7895, 55.5023, 25.8373, 39.2344, 29.1866, 33.9712, 59.3302, 27.2727, 154.545, 29.1865, 180.861, 33.4928, 196.172, 20.5741, 240.67, 36.842, 321.531, 61.244, 359.809, 125.837, 353.11, 137.799, 309.569, 122.967, 287.56, 106.22, 202.871, 92.3444, 191.866, 91.866, 179.426, 127.273, 70.3349, 134.928, 48.3254, 119.617, 30.622) uv = PackedVector2Array(89.9521, 16.268, 77.5119, 15.7895, 55.5023, 25.8373, 39.2344, 29.1866, 33.9712, 59.3302, 27.2727, 154.545, 29.1865, 180.861, 33.4928, 196.172, 20.5741, 240.67, 36.842, 321.531, 61.244, 359.809, 125.837, 353.11, 137.799, 309.569, 122.967, 287.56, 106.22, 202.871, 92.3444, 191.866, 91.866, 179.426, 127.273, 70.3349, 134.928, 48.3254, 119.617, 30.622) polygons = [PackedInt32Array(3, 2, 1, 0, 19, 18, 17, 4), PackedInt32Array(4, 5, 16, 17), PackedInt32Array(16, 15, 7, 6), PackedInt32Array(16, 6, 5), PackedInt32Array(7, 8, 14, 15), PackedInt32Array(14, 13, 9, 8), PackedInt32Array(13, 12, 11, 10, 9)] -bones = [NodePath("Hip"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/RightArm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/RightArm/RightForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/RightArm/RightForearm/RightHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/Head/Chin"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/Chest/LeftArm"), PackedFloat32Array(1, 1, 1, 1, 1, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 1, 1, 1), NodePath("Hip/Chest/LeftArm/LeftForearm"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 1, 1, 1, 0.5, 0, 0, 0, 0.5, 1, 1, 0.5, 0, 0, 0), NodePath("Hip/Chest/LeftArm/LeftForearm/LeftHand"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 1, 1, 1, 0.5, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/LeftLeg/LeftLowerLeg/LeftFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightLeg/RightLowerLeg"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NodePath("Hip/RightLeg/RightLowerLeg/RightFoot"), PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)] +bones = ["Hip", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/RightArm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/RightArm/RightForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/RightArm/RightForearm/RightHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/Head/Chin", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/Chest/LeftArm", PackedFloat32Array(1, 1, 1, 1, 1, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 1, 1, 1), "Hip/Chest/LeftArm/LeftForearm", PackedFloat32Array(0, 0, 0, 0, 0, 0, 1, 1, 1, 0.5, 0, 0, 0, 0.5, 1, 1, 0.5, 0, 0, 0), "Hip/Chest/LeftArm/LeftForearm/LeftHand", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 1, 1, 1, 0.5, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/LeftLeg/LeftLowerLeg/LeftFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightLeg/RightLowerLeg", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), "Hip/RightLeg/RightLowerLeg/RightFoot", PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)] internal_vertex_count = 20 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0.776211, -16.4722) -shape = SubResource( 24 ) +shape = SubResource("24") [node name="Camera2D" type="Camera2D" parent="."] position = Vector2(0, -32) -current = true -zoom = Vector2(0.25, 0.25) +zoom = Vector2(2, 2) diff --git a/2d/skeleton/project.godot b/2d/skeleton/project.godot index c98814c88f..0aac39ffd2 100644 --- a/2d/skeleton/project.godot +++ b/2d/skeleton/project.godot @@ -8,31 +8,21 @@ config_version=5 -_global_script_classes=[{ -"base": "CharacterBody2D", -"class": &"Player", -"language": &"GDScript", -"path": "res://player/player.gd" -}] -_global_script_class_icons={ -"Player": "" -} - [application] config/name="Skeleton2D Demo" config/description="This demo shows how to create a rigged and animated character in 2D using Godot's Skeleton2D node. There are several movement-related animations and there is a simple character controller that controls the animations." +config/tags=PackedStringArray("2d", "animation", "demo", "official", "rendering") run/main_scene="res://level.tscn" -config/features=PackedStringArray("4.0") +config/features=PackedStringArray("4.1") config/icon="res://icon.webp" -config/tags=PackedStringArray("2d", "animation", "demo", "official", "rendering") [display] -window/size/viewport_width=1600 -window/size/viewport_height=900 +window/size/viewport_width=1920 +window/size/viewport_height=1080 window/stretch/mode="canvas_items" window/stretch/aspect="keep_height" @@ -40,39 +30,39 @@ window/stretch/aspect="keep_height" move_left={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777231,"physical_keycode":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777231,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null) ] } move_right={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":68,"physical_keycode":0,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777233,"physical_keycode":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":68,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777233,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null) ] } jump={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":87,"physical_keycode":0,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777232,"physical_keycode":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":87,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777232,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null) ] } exit={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777217,"physical_keycode":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777217,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null) ] } walk={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777237,"physical_keycode":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":16777237,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":false,"script":null) ] } @@ -87,6 +77,8 @@ limits/debugger_stdout/max_chars_per_second=1000000 [rendering] +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility" quality/driver/driver_name="GLES2" 2d/snapping/use_gpu_pixel_snap=true vram_compression/import_etc=true