diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-12-28 15:08:23 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-12-28 15:08:23 +0100 |
commit | 474ef692613f298ab05bbb65ad85625f178b63cc (patch) | |
tree | d069e587c8d731ea8191ee0318abc85694c04351 /stage | |
parent | d572bc0a27b05c6632ba76bd630c7c4fd8f0ae5d (diff) |
next commit
Diffstat (limited to 'stage')
-rw-r--r-- | stage/assets/tileset-01.kra | bin | 0 -> 122897 bytes | |||
-rw-r--r-- | stage/assets/tileset-01.png | bin | 635 -> 1825 bytes | |||
-rw-r--r-- | stage/stage.gd | 98 | ||||
-rw-r--r-- | stage/stage.tscn | 1 | ||||
-rw-r--r-- | stage/stage_01.gd | 82 | ||||
-rw-r--r-- | stage/stage_01.tscn | 57 | ||||
-rw-r--r-- | stage/tile_map_layer.tscn | 82 | ||||
-rw-r--r-- | stage/tileset-01.kra | bin | 41461 -> 0 bytes |
8 files changed, 235 insertions, 85 deletions
diff --git a/stage/assets/tileset-01.kra b/stage/assets/tileset-01.kra Binary files differnew file mode 100644 index 0000000..de87533 --- /dev/null +++ b/stage/assets/tileset-01.kra diff --git a/stage/assets/tileset-01.png b/stage/assets/tileset-01.png Binary files differindex f2006f8..6a6d3c9 100644 --- a/stage/assets/tileset-01.png +++ b/stage/assets/tileset-01.png diff --git a/stage/stage.gd b/stage/stage.gd index 8d72ee1..2115c0a 100644 --- a/stage/stage.gd +++ b/stage/stage.gd @@ -2,6 +2,11 @@ class_name Stage extends Node2D +var item_pool: Array = [] +var reserved_item_positions: Array = [] +@export var item_pool_max_size := 3 + + func get_world_boundaries() -> Dictionary: #Dictionary[Vector2, float] return { Vector2.LEFT: 0.0, @@ -13,3 +18,96 @@ func get_world_boundaries() -> Dictionary: #Dictionary[Vector2, float] func has_win_condition() -> bool: return false + + +func set_mobile_controls(): + var mobile_controls: MobileControls = get_node("%MobileControls") + + if OS.has_feature("android"): + mobile_controls.enable() + + var player: Player = get_node("%Player") + player.camera.limit_bottom += mobile_controls.size.y + get_window().content_scale_size = Vector2i( + ProjectSettings.get_setting("display/window/size/viewport_width"), + ProjectSettings.get_setting("display/window/size/viewport_height") + mobile_controls.size.y + ) + + +func _on_tick_timer_timeout() -> void: + if randf() > 0.9 and item_pool.size() < item_pool_max_size: + var item_scene: PackedScene = [ + load("res://item/shoe.tscn"), + load("res://item/crown.tscn"), + ].pick_random() + + var item: Item = item_scene.instantiate() + var map: TileMapLayer = get_tree().get_first_node_in_group("tilemap") + + var size_x := map.get_used_rect().position.x + map.get_used_rect().size.x + var size_y := map.get_used_rect().position.y + map.get_used_rect().size.y + + var start_x: int = max(map.get_used_rect().position.x, range(size_x).pick_random()) + var start_y: int = max(map.get_used_rect().position.y, range(size_y).pick_random()) + + var get_map_position = func() -> Vector2i: + for x in range(start_x, size_x): + for y in range(start_y, size_y): + var data = map.get_cell_tile_data(Vector2(x, y)) + if not data: + return Vector2i(x, y) + return Vector2i.ZERO + + # find appropriate position + var map_position = get_map_position.call() + if reserved_item_positions.has(map_position) or map_position == Vector2i.ZERO: + $TickTimer.start() + return + + var local_position = map.map_to_local(map_position) + + var _was_shifted := false + var collide_top = map.get_cell_tile_data(map.get_neighbor_cell(map_position, TileSet.CELL_NEIGHBOR_TOP_SIDE)) + var collide_bottom = map.get_cell_tile_data(map.get_neighbor_cell(map_position, TileSet.CELL_NEIGHBOR_BOTTOM_SIDE)) + var collide_right = map.get_cell_tile_data(map.get_neighbor_cell(map_position, TileSet.CELL_NEIGHBOR_RIGHT_SIDE)) + if collide_top: + local_position += Vector2(0, map.tile_set.tile_size.y / 2) + _was_shifted = true + if collide_bottom: + local_position += Vector2(0, -map.tile_set.tile_size.y / 2) + _was_shifted = true + if collide_right: + local_position += Vector2(-map.tile_set.tile_size.x, 0) + _was_shifted = true + if not collide_top and not collide_right: + if map.get_cell_tile_data(map.get_neighbor_cell(map_position, TileSet.CELL_NEIGHBOR_TOP_RIGHT_CORNER)): + local_position += Vector2(-map.tile_set.tile_size.x, map.tile_set.tile_size.y / 2) + _was_shifted = true + + #if not was_shifted: + local_position += Vector2(map.tile_set.tile_size.x / 2, 0) + + item.position = local_position + add_child(item) + + var get_reserved_positions = func() -> Array[Vector2i]: + var rp := [] as Array[Vector2i] + for x in range(0, 3): + for y in range(0, 3): + rp.append(Vector2i(x, y)) + rp.append(Vector2i(-x, y)) + rp.append(Vector2i(x, -y)) + rp.append(Vector2i(-x, -y)) + return rp + + item.tree_exiting.connect(func(): + item_pool.erase(item) + for v in get_reserved_positions.call(): + reserved_item_positions.erase(map_position + v) + ) + item_pool.append(item) + for v in get_reserved_positions.call(): + reserved_item_positions.append(map_position + v) + + # restart timer + $TickTimer.start() diff --git a/stage/stage.tscn b/stage/stage.tscn index 9c8e256..8e57066 100644 --- a/stage/stage.tscn +++ b/stage/stage.tscn @@ -23,6 +23,7 @@ unique_name_in_owner = true [node name="TickTimer" type="Timer" parent="."] wait_time = 2.0 +one_shot = true autostart = true [connection signal="timeout" from="TickTimer" to="." method="_on_tick_timer_timeout"] diff --git a/stage/stage_01.gd b/stage/stage_01.gd index 01cc558..f622716 100644 --- a/stage/stage_01.gd +++ b/stage/stage_01.gd @@ -1,10 +1,6 @@ extends Stage -var item_pool: Array = [] -var reserved_item_positions: Array = [] - - func _ready() -> void: $Player.camera.limit_left = get_world_boundaries()[Vector2.LEFT] $Player.camera.limit_right = get_world_boundaries()[Vector2.RIGHT] @@ -12,6 +8,8 @@ func _ready() -> void: $Player.camera.limit_bottom = get_world_boundaries()[Vector2.DOWN] $TileMapLayer.modulate = Color(max(0.1, randf()), max(0.1, randf()), max(0.1, randf())) + + set_mobile_controls() func get_world_boundaries() -> Dictionary: @@ -25,79 +23,3 @@ func get_world_boundaries() -> Dictionary: func has_win_condition() -> bool: return %Opponents.get_child_count() == 0 - - -func _on_tick_timer_timeout() -> void: - if randf() > 0.8 and item_pool.size() < 3: - var item_scene: PackedScene = [ - preload("res://item/shoe.tscn"), - preload("res://item/crown.tscn"), - ].pick_random() - - var item: Item = item_scene.instantiate() - var map: TileMapLayer = get_tree().get_first_node_in_group("tilemap") - - var size_x := map.get_used_rect().position.x + map.get_used_rect().size.x - var size_y := map.get_used_rect().position.y + map.get_used_rect().size.y - - var start_x: int = max(map.get_used_rect().position.x, range(size_x / 2).pick_random()) - var start_y: int = max(map.get_used_rect().position.y, range(size_y / 2).pick_random()) - - var get_map_position = func() -> Vector2i: - for x in range(start_x, size_x): - for y in range(start_y, size_y): - var data = map.get_cell_tile_data(Vector2(x, y)) - if not data: - return Vector2i(x, y) - return Vector2i.ZERO - - var map_position = get_map_position.call() - - #print(map_position) - if reserved_item_positions.has(map_position): - return - - var local_position = map.map_to_local(map_position) - - var _was_shifted := false - var collide_top = map.get_cell_tile_data(map.get_neighbor_cell(map_position, TileSet.CELL_NEIGHBOR_TOP_SIDE)) - var collide_bottom = map.get_cell_tile_data(map.get_neighbor_cell(map_position, TileSet.CELL_NEIGHBOR_BOTTOM_SIDE)) - var collide_right = map.get_cell_tile_data(map.get_neighbor_cell(map_position, TileSet.CELL_NEIGHBOR_RIGHT_SIDE)) - if collide_top: - local_position += Vector2(0, map.tile_set.tile_size.y / 2) - _was_shifted = true - if collide_bottom: - local_position += Vector2(0, -map.tile_set.tile_size.y / 2) - _was_shifted = true - if collide_right: - local_position += Vector2(-map.tile_set.tile_size.x, 0) - _was_shifted = true - if not collide_top and not collide_right: - if map.get_cell_tile_data(map.get_neighbor_cell(map_position, TileSet.CELL_NEIGHBOR_TOP_RIGHT_CORNER)): - local_position += Vector2(-map.tile_set.tile_size.x, map.tile_set.tile_size.y / 2) - _was_shifted = true - - #if not was_shifted: - local_position += Vector2(map.tile_set.tile_size.x / 2, 0) - - item.position = local_position - add_child(item) - - var get_reserved_positions = func() -> Array[Vector2i]: - var rp := [] as Array[Vector2i] - for x in range(0, 3): - for y in range(0, 3): - rp.append(Vector2i(x, y)) - rp.append(Vector2i(-x, y)) - rp.append(Vector2i(x, -y)) - rp.append(Vector2i(-x, -y)) - return rp - - item.tree_exiting.connect(func(): - item_pool.erase(item) - for v in get_reserved_positions.call(): - reserved_item_positions.erase(map_position + v) - ) - item_pool.append(item) - for v in get_reserved_positions.call(): - reserved_item_positions.append(map_position + v) diff --git a/stage/stage_01.tscn b/stage/stage_01.tscn index 6b0d67c..54f94e4 100644 --- a/stage/stage_01.tscn +++ b/stage/stage_01.tscn @@ -1,29 +1,76 @@ -[gd_scene load_steps=6 format=4 uid="uid://yb0no7vyekil"] +[gd_scene load_steps=7 format=4 uid="uid://yb0no7vyekil"] [ext_resource type="Script" path="res://stage/stage_01.gd" id="1_2ycoy"] [ext_resource type="PackedScene" uid="uid://dfioemvleakyt" path="res://stage/tile_map_layer.tscn" id="1_4iotk"] [ext_resource type="PackedScene" uid="uid://ivf0v2snsls5" path="res://stage/stage.tscn" id="1_uanw1"] [ext_resource type="PackedScene" uid="uid://b4t3ipnq8vq2p" path="res://player/player.tscn" id="2_34lp1"] [ext_resource type="PackedScene" uid="uid://d1h8psjxqge0a" path="res://player/opponent.tscn" id="4_h35rr"] +[ext_resource type="PackedScene" uid="uid://cvx1vj47uf5k2" path="res://ui/mobile/mobile_controls.tscn" id="6_v35ah"] [node name="Stage01" instance=ExtResource("1_uanw1")] script = ExtResource("1_2ycoy") +item_pool_max_size = 15 + +[node name="ColorRect" parent="." index="0"] +offset_right = 776.0 [node name="TileMapLayer" parent="." index="1" groups=["tilemap"] instance=ExtResource("1_4iotk")] -tile_map_data = PackedByteArray("AAAIAAIAAAADAAAAAAAIAAMAAAAAAAAAAAAJAAIAAAAEAAAAAAAJAAMAAAACAAAAAAAKAAsAAAAAAAAAAAAKAAwAAAAAAAEAAAALAAsAAAACAAAAAAALAAwAAAACAAEAAAASAAgAAAAAAAAAAAASAAkAAAAAAAEAAAASAAoAAAAAAAEAAAASAAsAAAAAAAEAAAASAAwAAAAAAAEAAAATAAgAAAACAAAAAAATAAkAAAACAAEAAAATAAoAAAACAAEAAAATAAsAAAACAAEAAA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AAQAAABBAAYAAAAHAAQAAABCAA4AAAAIAAQAAABDAA4AAAAIAAQAAABCAAUAAAAIAAQAAABDAAUAAAAIAAQAAABEAAgAAAAIAAQAAABFAAgAAAAIAAQAAABEAAsAAAAIAAQAAABFAAsAAAAIAAQAAABGAAgAAAAIAAQAAABHAAgAAAAIAAQAAABGAAsAAAAIAAQAAABHAAsAAAAIAAQAAABGAAUAAAAIAAQAAABHAAUAAAAIAAQAAABIAAUAAAAIAAQAAABJAAUAAAAIAAQAAABGAA4AAAAIAAQAAABHAA4AAAAIAAQAAABIAA4AAAAIAAQAAABJAA4AAAAIAAQAAABKAAgAAAAIAAQAAABLAAgAAAAIAAQAAABMAAgAAAAIAAQAAABNAAgAAAAIAAQAAABKAAsAAAAIAAQAAABLAAsAAAAIAAQAAABMAA4AAAAIAAQAAABNAA4AAAAIAAQAAABOAA4AAAAFAAMAAABPAA4AAAAHAAMAAABMAAUAAAAIAAQAAABNAAUAAAAIAAQAAABOAAUAAAAIAAQAAABPAAUAAAAIAAQAAABOAAsAAAAFAAMAAABPAAsAAAAHAAMAAABRAAIAAAADAAYAAABSAAIAAAAEAAYAAABTAAIAAAADAAYAAABUAAIAAAAEAAYAAABVAAIAAAADAAYAAABWAAIAAAAEAAYAAABXAAIAAAADAAYAAABYAAIAAAAEAAYAAABZAAIAAAADAAYAAABaAAIAAAAEAAYAAABbAAIAAAADAAYAAABcAAIAAAAEAAYAAABdAAIAAAADAAYAAABeAAIAAAAEAAYAAABfAAIAAAADAAYAAABgAAIAAAAEAAYAAABRABEAAAADAAYAAABSABEAAAAEAAYAAABTABEAAAADAAYAAABUABEAAAAEAAYAAABVABEAAAADAAYAAABWABEAAAAEAAYAAABXABEAAAADAAYAAABYABEAAAAEAAYAAABZABEAAAADAAYAAABaABEAAAAEAAYAAABbABEAAAADAAYAAABcABEAAAAEAAYAAABdABEAAAADAAYAAABeABEAAAAEAAYAAABfABEAAAADAAYAAABgABEAAAAEAAYAAABOAAwAAAAFAAQAAABOAA0AAAAFAAQAAABPAAwAAAAHAAQAAABPAA0AAAAHAAQAAABQAAsAAAADAAcAAABRAAsAAAADAAcAAABQAA4AAAADAAcAAABRAA4AAAADAAcAAABQAAUAAAADAAcAAABRAAUAAAADAAcAAABQAAgAAAADAAcAAABRAAgAAAADAAcAAABUAAUAAAADAAcAAABVAAUAAAADAAcAAABUAAgAAAADAAcAAABVAAgAAAADAAcAAABUAAsAAAADAAcAAABVAAsAAAADAAcAAABUAA4AAAAAAAYAAABVAA4AAAACAAYAAABYAA4AAAADAAcAAABZAA4AAAADAAcAAABYAAsAAAAAAAYAAABZAAsAAAACAAYAAABYAAgAAAAAAAYAAABZAAgAAAACAAYAAABYAAUAAAADAAcAAABZAAUAAAADAAcAAABcAAUAAAAAAAYAAABdAAUAAAACAAYAAABcAAgAAAAAAAYAAABdAAgAAAACAAYAAABcAAsAAAAAAAYAAABdAAsAAAACAAYAAABcAA4AAAAAAAYAAABdAA4AAAACAAYAAABeAAUAAAADAAcAAABfAAUAAAADAAcAAABgAAUAAAADAAcAAABeAAgAAAADAAcAAABfAAgAAAADAAcAAABgAAgAAAADAAcAAABeAAsAAAADAAcAAABfAAsAAAADAAcAAABgAAsAAAADAAcAAABeAA4AAAADAAcAAABfAA4AAAADAAcAAABgAA4AAAADAAcAAABYAAkAAAAAAAcAAABYAAoAAAAAAAcAAABZAAoAAAACAAcAAABZAAkAAAACAAcAAABcAAYAAAAAAAcAAABcAAcAAAAAAAcAAABdAAYAAAACAAcAAABdAAcAAAACAAcAAABVABAAAAACAAYAAABUABAAAAAAAAYAAABUAA8AAAAAAAcAAABVAA8AAAACAAcAAABcAAwAAAAAAAcAAABcAA0AAAAAAAcAAABdAAwAAAACAAcAAABdAA0AAAACAAcAAABSAAgAAAADAAcAAABTAAgAAAADAAcAAABaAAsAAAADAAcAAABbAAsAAAADAAcAAABKAAMAAAAFAAMAAABLAAMAAAAHAAMAAABKAAUAAAAFAAMAAABLAAUAAAAHAAMAAABKAAQAAAAFAAQAAABLAAQAAAAHAAQAAAAuAA4AAAAIAAEAAAAvAA4AAAAIAAEAAAAvAAsAAAAIAAEAAAAuAAsAAAAIAAEAAAAtAAsAAAAIAAEAAAAsAAsAAAAIAAEAAAAvAAgAAAAIAAEAAAAuAAgAAAAIAAEAAAAtAAgAAAAIAAEAAAAsAAgAAAAIAAEAAAArAAgAAAAHAAIAAAAqAAgAAAAFAAIAAAAvAAUAAAAIAAEAAAAuAAUAAAAIAAEAAAAtAAUAAAAIAAEAAAAsAAUAAAAIAAEAAAArAAUAAAAHAAAAAAAqAAUAAAAFAAAAAAApAAUAAAAIAAEAAAAoAAUAAAAIAAEAAAAqAAYAAAAFAAEAAAAqAAcAAAAFAAEAAAArAAYAAAAHAAEAAAArAAcAAAAHAAEAAABbAAUAAAADAAcAAABaAAUAAAADAAcAAABWAA4AAAADAAcAAABXAA4AAAADAAcAAABSAAsAAAADAAcAAABTAAsAAAADAAcAAAA=") [node name="Opponent" parent="Opponents" index="0" instance=ExtResource("4_h35rr")] position = Vector2(105, 128) -current_type = null +current_type = 1 [node name="Opponent2" parent="Opponents" index="1" instance=ExtResource("4_h35rr")] position = Vector2(52, 80) -current_type = 1 +current_type = 2 [node name="Opponent3" parent="Opponents" index="2" instance=ExtResource("4_h35rr")] position = Vector2(120, 80) -current_type = 2 + +[node name="Opponent4" parent="Opponents" index="3" instance=ExtResource("4_h35rr")] +position = Vector2(328, 80) +random_start_type = true + +[node name="Opponent5" parent="Opponents" index="4" instance=ExtResource("4_h35rr")] +position = Vector2(304, 128) +random_start_type = true + +[node name="Opponent6" parent="Opponents" index="5" instance=ExtResource("4_h35rr")] +position = Vector2(424, 80) +random_start_type = true + +[node name="Opponent7" parent="Opponents" index="6" instance=ExtResource("4_h35rr")] +position = Vector2(488, 128) +random_start_type = true + +[node name="Opponent8" parent="Opponents" index="7" instance=ExtResource("4_h35rr")] +position = Vector2(600, 56) +random_start_type = true + +[node name="Opponent9" parent="Opponents" index="8" instance=ExtResource("4_h35rr")] +position = Vector2(616, 104) +random_start_type = true + +[node name="Opponent10" parent="Opponents" index="9" instance=ExtResource("4_h35rr")] +position = Vector2(728, 80) +random_start_type = true + +[node name="Opponent11" parent="Opponents" index="10" instance=ExtResource("4_h35rr")] +position = Vector2(712, 128) +random_start_type = true + +[node name="Opponent12" parent="Opponents" index="11" instance=ExtResource("4_h35rr")] +position = Vector2(744, 32) +random_start_type = true [node name="Player" parent="." index="3" instance=ExtResource("2_34lp1")] +unique_name_in_owner = true position = Vector2(16, 128) current_type = 2 + +[node name="MobileControls" parent="." index="5" instance=ExtResource("6_v35ah")] +unique_name_in_owner = true + +[node name="TickTimer" parent="." index="6"] +wait_time = 0.5 diff --git a/stage/tile_map_layer.tscn b/stage/tile_map_layer.tscn index 6fd9df1..4e9583e 100644 --- a/stage/tile_map_layer.tscn +++ b/stage/tile_map_layer.tscn @@ -30,6 +30,88 @@ texture_region_size = Vector2i(8, 8) 4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) 3:1/0 = 0 3:1/0/physics_layer_1/polygon_0/points = PackedVector2Array(-4, -4, -4, 4, 4, 4, 4, -4) +5:0/0 = 0 +5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +6:0/0 = 0 +6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +7:0/0 = 0 +7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +8:0/0 = 0 +8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +9:0/0 = 0 +9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +5:1/0 = 0 +5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +6:1/0 = 0 +6:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +7:1/0 = 0 +7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +8:1/0 = 0 +8:1/0/physics_layer_1/polygon_0/points = PackedVector2Array(-4, -4, -4, 4, 4, 4, 4, -4) +5:2/0 = 0 +5:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +6:2/0 = 0 +6:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +7:2/0 = 0 +7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +0:3/0 = 0 +0:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +1:3/0 = 0 +1:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +2:3/0 = 0 +2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +3:3/0 = 0 +3:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +5:3/0 = 0 +5:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +6:3/0 = 0 +6:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +7:3/0 = 0 +7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +8:3/0 = 0 +8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +9:3/0 = 0 +9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +0:4/0 = 0 +0:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +1:4/0 = 0 +1:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +2:4/0 = 0 +2:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +3:4/0 = 0 +3:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-4, -4, -4, 4, 4, 4, 4, -4) +5:4/0 = 0 +5:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +6:4/0 = 0 +6:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +7:4/0 = 0 +7:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +8:4/0 = 0 +8:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-4, -4, -4, 4, 4, 4, 4, -4) +0:5/0 = 0 +0:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +1:5/0 = 0 +1:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +2:5/0 = 0 +2:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +0:6/0 = 0 +0:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +1:6/0 = 0 +1:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +2:6/0 = 0 +2:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +3:6/0 = 0 +3:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +4:6/0 = 0 +4:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +0:7/0 = 0 +0:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +1:7/0 = 0 +1:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +2:7/0 = 0 +2:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +3:7/0 = 0 +3:7/0/physics_layer_1/polygon_0/points = PackedVector2Array(-4, -4, -4, 4, 4, 4, 4, -4) [sub_resource type="TileSet" id="TileSet_277cy"] tile_size = Vector2i(8, 8) diff --git a/stage/tileset-01.kra b/stage/tileset-01.kra Binary files differdeleted file mode 100644 index 68a3bf4..0000000 --- a/stage/tileset-01.kra +++ /dev/null |