Add object to locate base

This commit is contained in:
Moe Poi ~ 2023-12-05 21:20:31 +07:00
parent d4f1847f3b
commit 25d1dadded
8 changed files with 94 additions and 6 deletions

BIN
assets/icons/base-mark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dca4npsxwr1m3"
path="res://.godot/imported/base-mark.png-b036609631a945409172277f06bf47e7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/base-mark.png"
dest_files=["res://.godot/imported/base-mark.png-b036609631a945409172277f06bf47e7.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -1,8 +1,9 @@
[gd_scene load_steps=19 format=3 uid="uid://btdewn34d67m"]
[gd_scene load_steps=20 format=3 uid="uid://btdewn34d67m"]
[ext_resource type="Script" path="res://scripts/stages/1/game_manager.gd" id="1_aosti"]
[ext_resource type="Texture2D" uid="uid://cnxj0mf3luxo" path="res://assets/tileset/ashlands/tf_A5_ashlands_3.png" id="2_bnj71"]
[ext_resource type="Texture2D" uid="uid://danbfdqmqu23q" path="res://assets/tileset/ashlands/tf_B_ashlands_3.png" id="3_mc5mi"]
[ext_resource type="Texture2D" uid="uid://dca4npsxwr1m3" path="res://assets/icons/base-mark.png" id="4_1ac5p"]
[ext_resource type="Script" path="res://scripts/stages/1/summon.gd" id="4_gt08o"]
[ext_resource type="PackedScene" uid="uid://bhnv1dsggssil" path="res://scenes/ui/pause_menu.tscn" id="5_0gif7"]
[ext_resource type="PackedScene" uid="uid://cd5r1v6f8hahx" path="res://scenes/ui/tower_menu.tscn" id="5_3w5lp"]
@ -547,6 +548,12 @@ layer_1/y_sort_origin = 0
layer_1/z_index = 0
layer_1/tile_data = PackedInt32Array(196628, 262146, 6, 131089, 2, 13, 720899, 327682, 4, 655364, 196610, 4, 589826, 262146, 12, 589830, 196610, 12)
[node name="BaseMark" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.588235)
position = Vector2(1099, 507)
scale = Vector2(0.07, 0.07)
texture = ExtResource("4_1ac5p")
[node name="Path2D" type="Path2D" parent="."]
curve = SubResource("Curve2D_csucy")
script = ExtResource("4_gt08o")

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=18 format=3 uid="uid://bj5auw303w08w"]
[gd_scene load_steps=19 format=3 uid="uid://bj5auw303w08w"]
[ext_resource type="Script" path="res://scripts/stages/2/game_manager.gd" id="1_4r6ye"]
[ext_resource type="Texture2D" uid="uid://bq6hnxbt4w37u" path="res://assets/tileset/snowland/Snowland@64x64.png" id="1_d077v"]
@ -13,6 +13,7 @@
[ext_resource type="PackedScene" uid="uid://wywjvwp7ausj" path="res://scenes/ui/defeat.tscn" id="9_kssjj"]
[ext_resource type="PackedScene" uid="uid://p0lkipd6a5lu" path="res://scenes/marker/marker.tscn" id="12_unfps"]
[ext_resource type="AudioStream" uid="uid://bn6agbc77m0au" path="res://assets/audio/stage.mp3" id="12_uwk7b"]
[ext_resource type="Texture2D" uid="uid://dca4npsxwr1m3" path="res://assets/icons/base-mark.png" id="14_h1o0s"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_amj2r"]
texture = ExtResource("1_d077v")
@ -339,6 +340,12 @@ one_shot = true
stream = ExtResource("12_uwk7b")
volume_db = 1.0
[node name="BaseMark" type="Sprite2D" parent="AudioStreamPlayer"]
modulate = Color(1, 1, 1, 0.588235)
position = Vector2(575, 604)
scale = Vector2(0.07, 0.07)
texture = ExtResource("14_h1o0s")
[connection signal="timeout" from="Path2D/Timer" to="Path2D" method="_on_timer_timeout"]
[connection signal="timeout" from="Path2D2/Timer" to="Path2D2" method="_on_timer_timeout"]
[connection signal="timeout" from="Duration" to="." method="_on_duration_timeout"]

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=3 uid="uid://bxk5llqn5csgu"]
[gd_scene load_steps=18 format=3 uid="uid://bxk5llqn5csgu"]
[ext_resource type="Texture2D" uid="uid://bq6hnxbt4w37u" path="res://assets/tileset/snowland/Snowland@64x64.png" id="1_l1d1t"]
[ext_resource type="Script" path="res://scripts/stages/3/game_manager.gd" id="1_u4jwa"]
@ -13,6 +13,7 @@
[ext_resource type="PackedScene" uid="uid://cikgeqqhctm7k" path="res://scenes/base/base.tscn" id="9_057um"]
[ext_resource type="AudioStream" uid="uid://bn6agbc77m0au" path="res://assets/audio/stage.mp3" id="12_1fpbf"]
[ext_resource type="PackedScene" uid="uid://p0lkipd6a5lu" path="res://scenes/marker/marker.tscn" id="12_wt6oj"]
[ext_resource type="Texture2D" uid="uid://dca4npsxwr1m3" path="res://assets/icons/base-mark.png" id="14_w4pps"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_xqebe"]
texture = ExtResource("1_l1d1t")
@ -261,6 +262,12 @@ layer_1/y_sort_origin = 0
layer_1/z_index = 0
layer_1/tile_data = PackedInt32Array(65551, 327680, 11, 196624, 196608, 7, 196622, 196608, 7, 65549, 524288, 11, 196621, 720896, 12, 65537, 917504, 15, 589840, 786432, 5)
[node name="BaseMark" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.588235)
position = Vector2(46, 547)
scale = Vector2(0.07, 0.07)
texture = ExtResource("14_w4pps")
[node name="Path2D" type="Path2D" parent="."]
curve = SubResource("Curve2D_cwxcl")
script = ExtResource("3_wyim2")

View file

@ -1,8 +1,9 @@
[gd_scene load_steps=18 format=3 uid="uid://cxo5fh50r6uxs"]
[gd_scene load_steps=19 format=3 uid="uid://cxo5fh50r6uxs"]
[ext_resource type="Texture2D" uid="uid://bq6hnxbt4w37u" path="res://assets/tileset/snowland/Snowland@64x64.png" id="1_436vn"]
[ext_resource type="Script" path="res://scripts/stages/4/game_manager.gd" id="1_lhtrq"]
[ext_resource type="Script" path="res://scripts/stages/4/summon.gd" id="3_iv4av"]
[ext_resource type="Texture2D" uid="uid://dca4npsxwr1m3" path="res://assets/icons/base-mark.png" id="3_ksc7k"]
[ext_resource type="PackedScene" uid="uid://bhnv1dsggssil" path="res://scenes/ui/pause_menu.tscn" id="4_ahd74"]
[ext_resource type="PackedScene" uid="uid://cd5r1v6f8hahx" path="res://scenes/ui/tower_menu.tscn" id="5_31eq4"]
[ext_resource type="PackedScene" uid="uid://cy88k4uxt1v37" path="res://scenes/ui/game_stats.tscn" id="6_hgjt3"]
@ -260,6 +261,18 @@ tile_set = SubResource("TileSet_pcst7")
format = 2
layer_0/tile_data = PackedInt32Array(131084, 786432, 8, 131083, 786432, 8, 131082, 786432, 8, 131081, 786432, 8, 131080, 786432, 8, 196616, 786432, 8, 262152, 786432, 8, 327688, 786432, 8, 458752, 786432, 8, 458753, 786432, 8, 458754, 786432, 8, 458755, 786432, 8, 458756, 786432, 8, 458757, 786432, 8, 458758, 786432, 8, 458759, 786432, 8, 458760, 786432, 8, 458761, 786432, 8, 458763, 786432, 8, 524299, 786432, 8, 524300, 786432, 8, 524301, 786432, 8, 524302, 786432, 8, 524305, 786432, 8, 524304, 786432, 8, 524303, 786432, 8, 458762, 786432, 8, 393224, 786432, 8, 524306, 786432, 8, 524287, 786432, 8, -65522, 786432, 8, 14, 786432, 8, 65550, 786432, 8, 131086, 786432, 8, 131085, 786432, 8, 589842, 720896, 0, 589840, 720896, 0, 589841, 720896, 0, 589839, 720896, 0, 589838, 720896, 0, 589837, 720896, 0, 589836, 720896, 0, 589835, 720896, 0, 589834, 917504, 1, 524298, 851968, 0, 524297, 720896, 0, 524296, 720896, 0, 524295, 786432, 0, 524288, 786432, 0, 196620, 786432, 0, 524289, 720896, 0, 524290, 720896, 0, 524291, 720896, 0, 524292, 720896, 0, 524293, 720896, 0, 524294, 720896, 0, 589823, 720896, 0, 458766, 720896, 3, 458767, 786432, 3, 458768, 786432, 3, 458769, 786432, 3, 458770, 786432, 3, 458765, 786432, 3, 458764, 655360, 3, 393228, 983040, 0, 393226, 786432, 3, 393227, 786432, 3, 393225, 655360, 3, 262153, 655360, 2, 327689, 655360, 2, 196618, 720896, 0, 196619, 720896, 0, 196621, 720896, 0, 196622, 720896, 0, 196623, 983040, 1, -65521, 655360, 2, 15, 655360, 2, 65551, 655360, 2, 131087, 655360, 2, 196617, 655360, 0, 458751, 786432, 3, 393216, 786432, 3, 393217, 786432, 3, 393218, 786432, 3, 393219, 786432, 3, 393220, 786432, 3, 393221, 786432, 3, 393222, 786432, 3, 131079, 851968, 1, 196615, 851968, 1, 262151, 851968, 1, 327687, 851968, 1, 393223, 851968, 3, 65543, 917504, 0, 65544, 786432, 3, 65545, 786432, 3, 65546, 786432, 3, 65547, 786432, 3, 65548, 786432, 3, 65549, 851968, 3, -65523, 851968, 1, 13, 851968, 1, 589824, 720896, 2, 589825, 720896, 2, 589826, 720896, 2, 589827, 720896, 2, 589828, 720896, 2, 589829, 720896, 2, 589830, 720896, 2, 589831, 720896, 2, 589832, 786432, 2, 589833, 720896, 2, 393233, 720896, 2, 327697, 720896, 2, 262161, 720896, 2, 262160, 720896, 1, 196624, 720896, 2, 131088, 786432, 2, 65552, 720896, 2, 16, 720896, 2, 17, 720896, 2, 65553, 720896, 2, 131089, 720896, 2, 196625, 720896, 2, 327696, 720896, 2, 393232, 720896, 2, 393231, 720896, 2, 393230, 786432, 2, 393229, 720896, 2, 327693, 720896, 2, 327692, 720896, 2, 327691, 720896, 2, 327690, 786432, 2, 262154, 720896, 2, 262155, 720896, 2, 262156, 720896, 2, 262157, 720896, 2, 262158, 720896, 2, 262159, 720896, 2, 327680, 720896, 2, 262144, 720896, 2, 196608, 720896, 2, 131072, 720896, 2, 65536, 720896, 2, 0, 720896, 2, 1, 720896, 2, 2, 720896, 2, 3, 720896, 2, 4, 720896, 2, 5, 720896, 2, 6, 720896, 2, 7, 720896, 2, 8, 720896, 2, 9, 720896, 2, 10, 720896, 2, 12, 720896, 2, 65542, 720896, 2, 131078, 720896, 2, 196614, 786432, 2, 262150, 720896, 2, 327686, 720896, 2, 327685, 720896, 2, 327684, 720896, 2, 327683, 720896, 2, 327682, 720896, 2, 327681, 720896, 2, 262145, 720896, 2, 196609, 720896, 1, 131073, 720896, 2, 65537, 786432, 1, 65538, 720896, 2, 65539, 720896, 2, 65540, 720896, 2, 65541, 720896, 2, 131077, 720896, 2, 196613, 720896, 2, 262149, 720896, 2, 262148, 720896, 1, 262146, 720896, 1, 196610, 720896, 2, 131074, 720896, 2, 131075, 720896, 2, 131076, 786432, 1, 196612, 720896, 2, 196611, 720896, 2, 655378, 720896, 2, 655377, 720896, 2, 655376, 720896, 2, 655375, 720896, 2, 655374, 720896, 2, 655373, 720896, 2, 655372, 720896, 2, 655371, 720896, 2, 655370, 720896, 2, 655369, 720896, 2, 655368, 720896, 2, 655367, 720896, 2, 655366, 720896, 2, 655365, 720896, 2, 655364, 720896, 2, 655363, 720896, 2, 655362, 720896, 2, 655361, 720896, 2, 655360, 720896, 2, 327695, 720896, 2, 327694, 720896, 2, 262147, 720896, 2, 11, 786432, 1)
[node name="BaseMark" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.588235)
position = Vector2(1106, 544)
scale = Vector2(0.07, 0.07)
texture = ExtResource("3_ksc7k")
[node name="BaseMark2" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.588235)
position = Vector2(927, 41)
scale = Vector2(0.07, 0.07)
texture = ExtResource("3_ksc7k")
[node name="Path2D" type="Path2D" parent="."]
curve = SubResource("Curve2D_jkmm5")
script = ExtResource("3_iv4av")

View file

@ -1,10 +1,11 @@
[gd_scene load_steps=18 format=3 uid="uid://i18iy1wmek4s"]
[gd_scene load_steps=19 format=3 uid="uid://i18iy1wmek4s"]
[ext_resource type="Script" path="res://scripts/stages/5/game_manager.gd" id="1_kectu"]
[ext_resource type="Texture2D" uid="uid://bq6hnxbt4w37u" path="res://assets/tileset/snowland/Snowland@64x64.png" id="1_s0uo6"]
[ext_resource type="PackedScene" uid="uid://bhnv1dsggssil" path="res://scenes/ui/pause_menu.tscn" id="2_tph65"]
[ext_resource type="PackedScene" uid="uid://cd5r1v6f8hahx" path="res://scenes/ui/tower_menu.tscn" id="3_dwrfi"]
[ext_resource type="Script" path="res://scripts/stages/5/summon.gd" id="3_h0a0o"]
[ext_resource type="Texture2D" uid="uid://dca4npsxwr1m3" path="res://assets/icons/base-mark.png" id="3_ygwr3"]
[ext_resource type="PackedScene" uid="uid://cy88k4uxt1v37" path="res://scenes/ui/game_stats.tscn" id="4_qm2yl"]
[ext_resource type="PackedScene" uid="uid://bvoenhbaqiqj2" path="res://scenes/towers/placement/placement.tscn" id="5_vmpbi"]
[ext_resource type="PackedScene" uid="uid://cikgeqqhctm7k" path="res://scenes/base/base.tscn" id="6_yj08v"]
@ -267,6 +268,12 @@ layer_1/y_sort_origin = 0
layer_1/z_index = 0
layer_1/tile_data = PackedInt32Array(589828, 786432, 9, 589831, 786432, 9, 196614, 786432, 9, 589834, 720896, 9, 65552, 720896, 9, 65541, 720896, 9, 458768, 786432, 9, 524289, 589824, 3, 589826, 655360, 4, 589824, 655360, 4, 262154, 589824, 13, 327681, 786432, 5)
[node name="BaseMark" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.588235)
position = Vector2(929, 612)
scale = Vector2(0.07, 0.07)
texture = ExtResource("3_ygwr3")
[node name="Path2D" type="Path2D" parent="."]
curve = SubResource("Curve2D_sq2la")
script = ExtResource("3_h0a0o")

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=19 format=3 uid="uid://dcecwku0if8tg"]
[gd_scene load_steps=20 format=3 uid="uid://dcecwku0if8tg"]
[ext_resource type="Script" path="res://scripts/stages/6/game_manager.gd" id="1_04mdc"]
[ext_resource type="Texture2D" uid="uid://d36b03p0hs8kw" path="res://assets/tileset/ashlands/ashlands-32x32.png" id="1_a4nl1"]
@ -13,6 +13,7 @@
[ext_resource type="PackedScene" uid="uid://wywjvwp7ausj" path="res://scenes/ui/defeat.tscn" id="10_fyg8a"]
[ext_resource type="AudioStream" uid="uid://bn6agbc77m0au" path="res://assets/audio/stage.mp3" id="12_is64a"]
[ext_resource type="PackedScene" uid="uid://p0lkipd6a5lu" path="res://scenes/marker/marker.tscn" id="12_xutrf"]
[ext_resource type="Texture2D" uid="uid://dca4npsxwr1m3" path="res://assets/icons/base-mark.png" id="14_f4lh3"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ebym7"]
texture = ExtResource("1_a4nl1")
@ -649,6 +650,18 @@ layer_1/y_sort_origin = 0
layer_1/z_index = 0
layer_1/tile_data = PackedInt32Array(851979, 1507338, 16, 786444, 1376266, 16, 786452, 1310730, 16, 851989, 1441802, 16, 1245209, 1507338, 16, 1179678, 1638410, 14, 1114143, 1507338, 14, 1114140, 1441802, 14, 589827, 1638410, 14, 327698, 1507338, 16, 393246, 1376266, 16, 524319, 1310730, 16, 1179659, 1441802, 14, 1179660, 1376266, 14, 589853, 1703946, 12, 393238, 1703946, 12, 786450, 1703946, 12, 393227, 1703946, 12, 851974, 1703946, 12, 327713, 1638410, 14, 393247, 1507338, 14, 262174, 1441802, 14, 262157, 1376266, 14, 262158, 1310730, 15, 196624, 1507338, 14, 1114136, 1703946, 12)
[node name="BaseMark" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.588235)
position = Vector2(704, 610)
scale = Vector2(0.07, 0.07)
texture = ExtResource("14_f4lh3")
[node name="BaseMark2" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.588235)
position = Vector2(128, 610)
scale = Vector2(0.07, 0.07)
texture = ExtResource("14_f4lh3")
[node name="Path2D" type="Path2D" parent="."]
curve = SubResource("Curve2D_iccfv")
script = ExtResource("3_gvmm4")