A bunch more maps
This commit is contained in:
BIN
Assets/Castles/castle crop.png
Normal file
BIN
Assets/Castles/castle crop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 299 KiB |
34
Assets/Castles/castle crop.png.import
Normal file
34
Assets/Castles/castle crop.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://biwoh23r10d2j"
|
||||||
|
path="res://.godot/imported/castle crop.png-eced81e7152f7e8e9ef1a52b4e0f06e0.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Castles/castle crop.png"
|
||||||
|
dest_files=["res://.godot/imported/castle crop.png-eced81e7152f7e8e9ef1a52b4e0f06e0.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
|
||||||
BIN
Assets/Maps/map7.png
Normal file
BIN
Assets/Maps/map7.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://bga5bdw0jky6y"
|
uid="uid://nxo2e3kn35ym"
|
||||||
path="res://.godot/imported/map6.png-0e1fbf77be565a8b11e85963055f3e6a.ctex"
|
path="res://.godot/imported/map7.png-82d21e37ff5eb3e81c6fa086a1d85f70.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://Game/Maps/map6.png"
|
source_file="res://Assets/Maps/map7.png"
|
||||||
dest_files=["res://.godot/imported/map6.png-0e1fbf77be565a8b11e85963055f3e6a.ctex"]
|
dest_files=["res://.godot/imported/map7.png-82d21e37ff5eb3e81c6fa086a1d85f70.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
BIN
Assets/Maps/map8.png
Normal file
BIN
Assets/Maps/map8.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 97 KiB |
34
Assets/Maps/map8.png.import
Normal file
34
Assets/Maps/map8.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b8gw3mcck5ig6"
|
||||||
|
path="res://.godot/imported/map8.png-61a854517541a0ca59807a6fc7f6474f.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Maps/map8.png"
|
||||||
|
dest_files=["res://.godot/imported/map8.png-61a854517541a0ca59807a6fc7f6474f.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
|
||||||
BIN
Assets/Maps/map9.png
Normal file
BIN
Assets/Maps/map9.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
34
Assets/Maps/map9.png.import
Normal file
34
Assets/Maps/map9.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cn502nylvorxv"
|
||||||
|
path="res://.godot/imported/map9.png-b1e9daa3c37677c598016c591719f8b6.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Maps/map9.png"
|
||||||
|
dest_files=["res://.godot/imported/map9.png-b1e9daa3c37677c598016c591719f8b6.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
|
||||||
56
Game/Maps/Map7_setup.gd
Normal file
56
Game/Maps/Map7_setup.gd
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
extends Node
|
||||||
|
|
||||||
|
var waves = [
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path TOP
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path TOP
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[5, 0.1, 0.8, 0.2, 0.0], #wave 1 #Third Path CENTER
|
||||||
|
[10, 0.2, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[20, 0.3, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[30, 0.4, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[40, 0.7, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path TOP
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path TOP
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path TOP
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path TOP
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
]
|
||||||
|
]
|
||||||
|
|
||||||
|
var lives = 30
|
||||||
|
var coins = 1200
|
||||||
1
Game/Maps/Map7_setup.gd.uid
Normal file
1
Game/Maps/Map7_setup.gd.uid
Normal file
@ -0,0 +1 @@
|
|||||||
|
uid://bckvp5iwipuap
|
||||||
21
Game/Maps/Map8_setup.gd
Normal file
21
Game/Maps/Map8_setup.gd
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
extends Node
|
||||||
|
|
||||||
|
var waves = [
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
]
|
||||||
|
]
|
||||||
|
|
||||||
|
var lives = 20
|
||||||
|
var coins = 800
|
||||||
1
Game/Maps/Map8_setup.gd.uid
Normal file
1
Game/Maps/Map8_setup.gd.uid
Normal file
@ -0,0 +1 @@
|
|||||||
|
uid://dh51rcpffhuyf
|
||||||
35
Game/Maps/Map9_setup.gd
Normal file
35
Game/Maps/Map9_setup.gd
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
extends Node
|
||||||
|
|
||||||
|
var waves = [
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[10, 0.2, 0.8, 0.2, 0.0], #wave 1 #First path
|
||||||
|
[20, 0.4, 0.5, 0.5, 0.0], #wave 2
|
||||||
|
[30, 0.5, 0.4, 0.4, 0.1], #wave 3
|
||||||
|
[40, 0.8, 0.3, 0.2, 0.5], #wave 4
|
||||||
|
[50, 0.9, 0.1, 0.2, 0.7], #wave 5
|
||||||
|
]
|
||||||
|
]
|
||||||
|
|
||||||
|
var lives = 20
|
||||||
|
var coins = 800
|
||||||
1
Game/Maps/Map9_setup.gd.uid
Normal file
1
Game/Maps/Map9_setup.gd.uid
Normal file
@ -0,0 +1 @@
|
|||||||
|
uid://mn145ijama14
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 88 KiB |
1873
Game/Maps/map_7.tscn
Normal file
1873
Game/Maps/map_7.tscn
Normal file
File diff suppressed because one or more lines are too long
1787
Game/Maps/map_8.tscn
Normal file
1787
Game/Maps/map_8.tscn
Normal file
File diff suppressed because one or more lines are too long
1969
Game/Maps/map_9.tscn
Normal file
1969
Game/Maps/map_9.tscn
Normal file
File diff suppressed because one or more lines are too long
@ -28,8 +28,19 @@ func LoadMap6() -> void:
|
|||||||
get_tree().change_scene_to_file("res://Game/Maps/map_6.tscn")
|
get_tree().change_scene_to_file("res://Game/Maps/map_6.tscn")
|
||||||
pass # Replace with function body.
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
func LoadMap7() -> void:
|
||||||
|
get_tree().change_scene_to_file("res://Game/Maps/map_7.tscn")
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
func LoadMap8() -> void:
|
||||||
|
get_tree().change_scene_to_file("res://Game/Maps/map_8.tscn")
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
func LoadMap9() -> void:
|
||||||
|
get_tree().change_scene_to_file("res://Game/Maps/map_9.tscn")
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
loadData()
|
loadData()
|
||||||
get_node("VBoxContainer/HBoxContainer/first/Button").connect("button_up", LoadMap1)
|
get_node("VBoxContainer/HBoxContainer/first/Button").connect("button_up", LoadMap1)
|
||||||
@ -38,6 +49,9 @@ func _ready() -> void:
|
|||||||
get_node("VBoxContainer/HBoxContainer/fourth/Button").connect("button_up", LoadMap4)
|
get_node("VBoxContainer/HBoxContainer/fourth/Button").connect("button_up", LoadMap4)
|
||||||
get_node("VBoxContainer/HBoxContainer/fith/Button").connect("button_up", LoadMap5)
|
get_node("VBoxContainer/HBoxContainer/fith/Button").connect("button_up", LoadMap5)
|
||||||
get_node("VBoxContainer/HBoxContainer/sixth/Button").connect("button_up", LoadMap6)
|
get_node("VBoxContainer/HBoxContainer/sixth/Button").connect("button_up", LoadMap6)
|
||||||
|
get_node("VBoxContainer/HBoxContainer2/seventh/Button").connect("button_up", LoadMap7)
|
||||||
|
get_node("VBoxContainer/HBoxContainer2/eighth/Button").connect("button_up", LoadMap8)
|
||||||
|
get_node("VBoxContainer/HBoxContainer2/nineth/Button").connect("button_up", LoadMap9)
|
||||||
|
|
||||||
var unlocker = true
|
var unlocker = true
|
||||||
for i in get_node("VBoxContainer").get_children():
|
for i in get_node("VBoxContainer").get_children():
|
||||||
@ -61,7 +75,6 @@ func loadData() -> void:
|
|||||||
|
|
||||||
if file:
|
if file:
|
||||||
map_scores = file.get_var()
|
map_scores = file.get_var()
|
||||||
print(map_scores)
|
|
||||||
file.close()
|
file.close()
|
||||||
get_node("VBoxContainer/HBoxContainer/first/Label2").text = "Haven't finished yet" if map_scores["Map1"] == 0 else "Scored: " + str(map_scores["Map1"]) + " out of 10"
|
get_node("VBoxContainer/HBoxContainer/first/Label2").text = "Haven't finished yet" if map_scores["Map1"] == 0 else "Scored: " + str(map_scores["Map1"]) + " out of 10"
|
||||||
get_node("VBoxContainer/HBoxContainer/second/Label2").text = "Haven't finished yet" if map_scores["Map2"] == 0 else "Scored: " + str(map_scores["Map2"]) + " out of 10"
|
get_node("VBoxContainer/HBoxContainer/second/Label2").text = "Haven't finished yet" if map_scores["Map2"] == 0 else "Scored: " + str(map_scores["Map2"]) + " out of 10"
|
||||||
@ -69,6 +82,9 @@ func loadData() -> void:
|
|||||||
get_node("VBoxContainer/HBoxContainer/fourth/Label2").text = "Haven't finished yet" if map_scores["Map4"] == 0 else "Scored: " + str(map_scores["Map4"]) + " out of 10"
|
get_node("VBoxContainer/HBoxContainer/fourth/Label2").text = "Haven't finished yet" if map_scores["Map4"] == 0 else "Scored: " + str(map_scores["Map4"]) + " out of 10"
|
||||||
get_node("VBoxContainer/HBoxContainer/fith/Label2").text = "Haven't finished yet" if map_scores["Map5"] == 0 else "Scored: " + str(map_scores["Map5"]) + " out of 10"
|
get_node("VBoxContainer/HBoxContainer/fith/Label2").text = "Haven't finished yet" if map_scores["Map5"] == 0 else "Scored: " + str(map_scores["Map5"]) + " out of 10"
|
||||||
get_node("VBoxContainer/HBoxContainer/sixth/Label2").text = "Haven't finished yet" if map_scores["Map6"] == 0 else "Scored: " + str(map_scores["Map6"]) + " out of 10"
|
get_node("VBoxContainer/HBoxContainer/sixth/Label2").text = "Haven't finished yet" if map_scores["Map6"] == 0 else "Scored: " + str(map_scores["Map6"]) + " out of 10"
|
||||||
|
get_node("VBoxContainer/HBoxContainer2/seventh/Label2").text = "Haven't finished yet" if map_scores["Map7"] == 0 else "Scored: " + str(map_scores["Map7"]) + " out of 10"
|
||||||
|
get_node("VBoxContainer/HBoxContainer2/eighth/Label2").text = "Haven't finished yet" if map_scores["Map8"] == 0 else "Scored: " + str(map_scores["Map8"]) + " out of 10"
|
||||||
|
get_node("VBoxContainer/HBoxContainer2/nineth/Label2").text = "Haven't finished yet" if map_scores["Map9"] == 0 else "Scored: " + str(map_scores["Map9"]) + " out of 10"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
map_scores["Map1"] = 0
|
map_scores["Map1"] = 0
|
||||||
@ -77,6 +93,9 @@ func loadData() -> void:
|
|||||||
map_scores["Map4"] = 0
|
map_scores["Map4"] = 0
|
||||||
map_scores["Map5"] = 0
|
map_scores["Map5"] = 0
|
||||||
map_scores["Map6"] = 0
|
map_scores["Map6"] = 0
|
||||||
|
map_scores["Map7"] = 0
|
||||||
|
map_scores["Map8"] = 0
|
||||||
|
map_scores["Map9"] = 0
|
||||||
|
|
||||||
save_scores()
|
save_scores()
|
||||||
loadData()
|
loadData()
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=33 format=3 uid="uid://cxet2lvdco2ak"]
|
[gd_scene load_steps=45 format=3 uid="uid://cxet2lvdco2ak"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://duhi4pfoa45j1" path="res://Game/Menu/mapselector.gd" id="1_cnef1"]
|
[ext_resource type="Script" uid="uid://duhi4pfoa45j1" path="res://Game/Menu/mapselector.gd" id="1_cnef1"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bgy114b67j3kg" path="res://Assets/Others/8-bit-graphics-pixels-scene-with-castle.jpg" id="1_jteil"]
|
[ext_resource type="Texture2D" uid="uid://bgy114b67j3kg" path="res://Assets/Others/8-bit-graphics-pixels-scene-with-castle.jpg" id="1_jteil"]
|
||||||
@ -10,6 +10,9 @@
|
|||||||
[ext_resource type="Texture2D" uid="uid://c3ig1iy1m4ydq" path="res://Assets/Maps/map4.png" id="8_cg1t8"]
|
[ext_resource type="Texture2D" uid="uid://c3ig1iy1m4ydq" path="res://Assets/Maps/map4.png" id="8_cg1t8"]
|
||||||
[ext_resource type="Texture2D" uid="uid://c0q8h850738on" path="res://Assets/Maps/map5.png" id="9_losb8"]
|
[ext_resource type="Texture2D" uid="uid://c0q8h850738on" path="res://Assets/Maps/map5.png" id="9_losb8"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b3dk0ipi0galp" path="res://Assets/Maps/map6.png" id="9_rjq3w"]
|
[ext_resource type="Texture2D" uid="uid://b3dk0ipi0galp" path="res://Assets/Maps/map6.png" id="9_rjq3w"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://nxo2e3kn35ym" path="res://Assets/Maps/map7.png" id="11_uvrvw"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://b8gw3mcck5ig6" path="res://Assets/Maps/map8.png" id="12_44oc2"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cn502nylvorxv" path="res://Assets/Maps/map9.png" id="13_hmthg"]
|
||||||
|
|
||||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_cnef1"]
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_cnef1"]
|
||||||
texture = ExtResource("1_jteil")
|
texture = ExtResource("1_jteil")
|
||||||
@ -89,6 +92,45 @@ texture_margin_bottom = 5.0
|
|||||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_42tg7"]
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_42tg7"]
|
||||||
texture = ExtResource("9_rjq3w")
|
texture = ExtResource("9_rjq3w")
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7w5kq"]
|
||||||
|
texture = ExtResource("11_uvrvw")
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_c13he"]
|
||||||
|
texture = ExtResource("11_uvrvw")
|
||||||
|
texture_margin_left = 5.0
|
||||||
|
texture_margin_top = 5.0
|
||||||
|
texture_margin_right = 5.0
|
||||||
|
texture_margin_bottom = 5.0
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_j14e4"]
|
||||||
|
texture = ExtResource("11_uvrvw")
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_8m1pv"]
|
||||||
|
texture = ExtResource("12_44oc2")
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_yuwpe"]
|
||||||
|
texture = ExtResource("12_44oc2")
|
||||||
|
texture_margin_left = 5.0
|
||||||
|
texture_margin_top = 5.0
|
||||||
|
texture_margin_right = 5.0
|
||||||
|
texture_margin_bottom = 5.0
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7syen"]
|
||||||
|
texture = ExtResource("12_44oc2")
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_u8iav"]
|
||||||
|
texture = ExtResource("13_hmthg")
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_8svj5"]
|
||||||
|
texture = ExtResource("13_hmthg")
|
||||||
|
texture_margin_left = 5.0
|
||||||
|
texture_margin_top = 5.0
|
||||||
|
texture_margin_right = 5.0
|
||||||
|
texture_margin_bottom = 5.0
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_1ujta"]
|
||||||
|
texture = ExtResource("13_hmthg")
|
||||||
|
|
||||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cnef1"]
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cnef1"]
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mjmwi"]
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mjmwi"]
|
||||||
@ -390,6 +432,120 @@ layout_mode = 2
|
|||||||
size_flags_horizontal = 4
|
size_flags_horizontal = 4
|
||||||
text = "Score: 10 / "
|
text = "Score: 10 / "
|
||||||
|
|
||||||
|
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 8
|
||||||
|
theme_override_constants/separation = 30
|
||||||
|
alignment = 1
|
||||||
|
|
||||||
|
[node name="seventh" type="VBoxContainer" parent="VBoxContainer/HBoxContainer2"]
|
||||||
|
layout_mode = 2
|
||||||
|
alignment = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2/seventh"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
text = "7th Level"
|
||||||
|
|
||||||
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer2/seventh"]
|
||||||
|
custom_minimum_size = Vector2(120, 80)
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_styles/disabled = SubResource("StyleBoxTexture_7w5kq")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxTexture_c13he")
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxTexture_j14e4")
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer2/seventh/Button"]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 8
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -20.0
|
||||||
|
offset_top = -20.0
|
||||||
|
offset_right = 20.0
|
||||||
|
offset_bottom = 20.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
texture = ExtResource("6_udeaf")
|
||||||
|
|
||||||
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer2/seventh"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
text = "Score: 10 / "
|
||||||
|
|
||||||
|
[node name="eighth" type="VBoxContainer" parent="VBoxContainer/HBoxContainer2"]
|
||||||
|
layout_mode = 2
|
||||||
|
alignment = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2/eighth"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
text = "8th Level"
|
||||||
|
|
||||||
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer2/eighth"]
|
||||||
|
custom_minimum_size = Vector2(120, 80)
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_styles/disabled = SubResource("StyleBoxTexture_8m1pv")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxTexture_yuwpe")
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxTexture_7syen")
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer2/eighth/Button"]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 8
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -20.0
|
||||||
|
offset_top = -20.0
|
||||||
|
offset_right = 20.0
|
||||||
|
offset_bottom = 20.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
texture = ExtResource("6_udeaf")
|
||||||
|
|
||||||
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer2/eighth"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
text = "Score: 10 / "
|
||||||
|
|
||||||
|
[node name="nineth" type="VBoxContainer" parent="VBoxContainer/HBoxContainer2"]
|
||||||
|
layout_mode = 2
|
||||||
|
alignment = 1
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2/nineth"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
text = "9th Level"
|
||||||
|
|
||||||
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer2/nineth"]
|
||||||
|
custom_minimum_size = Vector2(120, 80)
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_styles/disabled = SubResource("StyleBoxTexture_u8iav")
|
||||||
|
theme_override_styles/hover = SubResource("StyleBoxTexture_8svj5")
|
||||||
|
theme_override_styles/normal = SubResource("StyleBoxTexture_1ujta")
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer2/nineth/Button"]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 8
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -20.0
|
||||||
|
offset_top = -20.0
|
||||||
|
offset_right = 20.0
|
||||||
|
offset_bottom = 20.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
texture = ExtResource("6_udeaf")
|
||||||
|
|
||||||
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer2/nineth"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
text = "Score: 10 / "
|
||||||
|
|
||||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
anchors_preset = 12
|
anchors_preset = 12
|
||||||
@ -420,4 +576,7 @@ theme_override_styles/normal = SubResource("StyleBoxFlat_5yqcp")
|
|||||||
text = "Main Menu"
|
text = "Main Menu"
|
||||||
|
|
||||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/first/Button" to="." method="_on_button_map1_pressed"]
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/first/Button" to="." method="_on_button_map1_pressed"]
|
||||||
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/seventh/Button" to="." method="_on_button_map1_pressed"]
|
||||||
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/eighth/Button" to="." method="_on_button_map1_pressed"]
|
||||||
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/nineth/Button" to="." method="_on_button_map1_pressed"]
|
||||||
[connection signal="pressed" from="HBoxContainer/MarginContainer/Button" to="." method="_on_button_pressed"]
|
[connection signal="pressed" from="HBoxContainer/MarginContainer/Button" to="." method="_on_button_pressed"]
|
||||||
|
|||||||
@ -23,7 +23,7 @@ corner_radius_bottom_right = 20
|
|||||||
corner_radius_bottom_left = 20
|
corner_radius_bottom_left = 20
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3ht3o"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3ht3o"]
|
||||||
size = Vector2(38, 59)
|
size = Vector2(42, 59)
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xk2lx"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xk2lx"]
|
||||||
size = Vector2(20, 52)
|
size = Vector2(20, 52)
|
||||||
@ -63,7 +63,7 @@ show_percentage = false
|
|||||||
[node name="Area2D" type="Area2D" parent="CharacterBody2D"]
|
[node name="Area2D" type="Area2D" parent="CharacterBody2D"]
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D/Area2D"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D/Area2D"]
|
||||||
position = Vector2(-9, -1.5)
|
position = Vector2(0, 1)
|
||||||
shape = SubResource("RectangleShape2D_3ht3o")
|
shape = SubResource("RectangleShape2D_3ht3o")
|
||||||
|
|
||||||
[node name="Timer" type="Timer" parent="CharacterBody2D"]
|
[node name="Timer" type="Timer" parent="CharacterBody2D"]
|
||||||
|
|||||||
Reference in New Issue
Block a user