diff --git a/src/kinematic_character_2d_starter/map.tscn b/src/kinematic_character_2d_starter/map.tscn index 217ea76..09399bc 100644 --- a/src/kinematic_character_2d_starter/map.tscn +++ b/src/kinematic_character_2d_starter/map.tscn @@ -1,28 +1,10 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=2 format=3 uid="uid://cvvf6rt75h0yu"] -[ext_resource path="res://tileset.res" type="TileSet" id=1] - -[node name="Node" type="Node" index="0"] - -[node name="TileMap" type="TileMap" parent="." index="0"] - -mode = 0 -tile_set = ExtResource( 1 ) -cell_size = Vector2( 50, 50 ) -cell_quadrant_size = 16 -cell_custom_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -cell_half_offset = 2 -cell_tile_origin = 0 -cell_y_sort = false -cell_clip_uv = false -collision_use_kinematic = false -collision_friction = 1.0 -collision_bounce = 0.0 -collision_layer = 1 -collision_mask = 1 -occluder_light_mask = 1 -format = 1 -tile_data = PoolIntArray( 0, 0, 0, 65536, 0, 0, 131072, 0, 0, 196608, 0, 0, 196612, 2, 0, 196613, 1, 0, 196614, 1, 0, 196615, 3, 0, 262144, 0, 0, 262145, 1, 0, 262146, 1, 0, 262147, 1, 0, 262148, 0, 0, 262149, 0, 0, 262150, 0, 0, 262151, 0, 0, 262152, 1, 0, 262153, 1, 0 ) -_sections_unfolded = [ "Cell" ] +[ext_resource type="TileSet" uid="uid://dvu6xanwufudg" path="res://tileset.res" id="1"] +[node name="Node" type="Node"] +[node name="TileMap" type="TileMap" parent="."] +tile_set = ExtResource("1") +format = 2 +layer_0/tile_data = PackedInt32Array(0, 0, 0, 65536, 0, 0, 131072, 0, 0, 196608, 0, 0, 262144, 0, 0, 262145, 65536, 0, 262146, 65536, 0, 262147, 65536, 0, 196612, 131072, 0, 196613, 65536, 0, 196614, 65536, 0, 262152, 65536, 0, 262153, 65536, 0, 262148, 0, 0, 262149, 0, 0, 262150, 0, 0, 262151, 0, 0, 196615, 196608, 0) diff --git a/src/kinematic_character_2d_starter/tileset.res b/src/kinematic_character_2d_starter/tileset.res index d767610..6eb5b51 100644 Binary files a/src/kinematic_character_2d_starter/tileset.res and b/src/kinematic_character_2d_starter/tileset.res differ diff --git a/src/kinematic_character_2d_starter/tileset_edit.tscn b/src/kinematic_character_2d_starter/tileset_edit.tscn deleted file mode 100644 index 55152e5..0000000 --- a/src/kinematic_character_2d_starter/tileset_edit.tscn +++ /dev/null @@ -1,109 +0,0 @@ -[gd_scene load_steps=2 format=2] - -[ext_resource path="res://tileset.png" type="Texture" id=1] - -[node name="Node" type="Node" index="0"] - -[node name="Wall" type="Sprite" parent="." index="0"] - -position = Vector2( 25, 25 ) -texture = ExtResource( 1 ) -region_enabled = true -region_rect = Rect2( 0, 0, 50, 50 ) -_sections_unfolded = [ "Region" ] - -[node name="StaticBody2D" type="StaticBody2D" parent="Wall" index="0"] - -input_pickable = false -collision_layer = 1 -collision_mask = 1 -constant_linear_velocity = Vector2( 0, 0 ) -constant_angular_velocity = 0.0 -friction = 1.0 -bounce = 0.0 - -[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Wall/StaticBody2D" index="0"] - -position = Vector2( -1.90735e-06, -1.90735e-06 ) -scale = Vector2( 2.5, 2.5 ) -build_mode = 0 -polygon = PoolVector2Array( -10, -10, 10, -10, 10, 10, -10, 10 ) - -[node name="Floor" type="Sprite" parent="." index="1"] - -position = Vector2( 125, 25 ) -texture = ExtResource( 1 ) -region_enabled = true -region_rect = Rect2( 50, 0, 50, 50 ) -_sections_unfolded = [ "Region" ] - -[node name="StaticBody2D" type="StaticBody2D" parent="Floor" index="0"] - -input_pickable = false -collision_layer = 1 -collision_mask = 1 -constant_linear_velocity = Vector2( 0, 0 ) -constant_angular_velocity = 0.0 -friction = 1.0 -bounce = 0.0 - -[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Floor/StaticBody2D" index="0"] - -build_mode = 0 -polygon = PoolVector2Array( -25, -25, 25, -25, 25, 25, -25, 25 ) - -[node name="Ramp Up" type="Sprite" parent="." index="2"] - -position = Vector2( 225, 25 ) -texture = ExtResource( 1 ) -region_enabled = true -region_rect = Rect2( 100, 0, 50, 50 ) -_sections_unfolded = [ "Region" ] - -[node name="StaticBody2D" type="StaticBody2D" parent="Ramp Up" index="0"] - -input_pickable = false -collision_layer = 1 -collision_mask = 1 -constant_linear_velocity = Vector2( 0, 0 ) -constant_angular_velocity = 0.0 -friction = 1.0 -bounce = 0.0 - -[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Ramp Up/StaticBody2D" index="0"] - -build_mode = 0 -polygon = PoolVector2Array( 25, -25, 25, 25, -25, 25 ) - -[node name="Ramp Down" type="Sprite" parent="." index="3"] - -position = Vector2( 25, 125 ) -texture = ExtResource( 1 ) -region_enabled = true -region_rect = Rect2( 150, 0, 50, 50 ) -_sections_unfolded = [ "Region" ] - -[node name="StaticBody2D" type="StaticBody2D" parent="Ramp Down" index="0"] - -input_pickable = false -collision_layer = 1 -collision_mask = 1 -constant_linear_velocity = Vector2( 0, 0 ) -constant_angular_velocity = 0.0 -friction = 1.0 -bounce = 0.0 - -[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Ramp Down/StaticBody2D" index="0"] - -build_mode = 0 -polygon = PoolVector2Array( -25, -25, 25, 25, -25, 25 ) - -[node name="BG" type="Sprite" parent="." index="4"] - -position = Vector2( 125, 125 ) -texture = ExtResource( 1 ) -region_enabled = true -region_rect = Rect2( 200, 0, 50, 50 ) -_sections_unfolded = [ "Region" ] - -