initial commit
2
.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Normalize EOL for all files that Git considers text files.
|
||||
* text=auto eol=lf
|
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Godot 4+ specific ignores
|
||||
.godot/
|
BIN
Favicon.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
34
Favicon.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://4gb12l7rr0xs"
|
||||
path="res://.godot/imported/Favicon.png-08f7cf637a5f1a7d2575d64cdc070138.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Favicon.png"
|
||||
dest_files=["res://.godot/imported/Favicon.png-08f7cf637a5f1a7d2575d64cdc070138.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
GUI/Button-h-scaled-2.png
Normal file
After Width: | Height: | Size: 488 B |
34
GUI/Button-h-scaled-2.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://gvlu6mhsyb7t"
|
||||
path="res://.godot/imported/Button-h-scaled-2.png-baa8e0978a5bcc62cde6fed8b782ac96.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://GUI/Button-h-scaled-2.png"
|
||||
dest_files=["res://.godot/imported/Button-h-scaled-2.png-baa8e0978a5bcc62cde6fed8b782ac96.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
GUI/Button-h-scaled.png
Normal file
After Width: | Height: | Size: 893 B |
34
GUI/Button-h-scaled.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b3q4biukn8dqa"
|
||||
path="res://.godot/imported/Button-h-scaled.png-1862a64e70742bbfa32204eee8a6b099.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://GUI/Button-h-scaled.png"
|
||||
dest_files=["res://.godot/imported/Button-h-scaled.png-1862a64e70742bbfa32204eee8a6b099.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
GUI/Button-n-scaled-2.png
Normal file
After Width: | Height: | Size: 499 B |
34
GUI/Button-n-scaled-2.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b5dlxo7fdtf1e"
|
||||
path="res://.godot/imported/Button-n-scaled-2.png-9df8de3c711a4e055513ad142b5cdada.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://GUI/Button-n-scaled-2.png"
|
||||
dest_files=["res://.godot/imported/Button-n-scaled-2.png-9df8de3c711a4e055513ad142b5cdada.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
GUI/Button-n-scaled.png
Normal file
After Width: | Height: | Size: 906 B |
34
GUI/Button-n-scaled.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cl13ecak2osmr"
|
||||
path="res://.godot/imported/Button-n-scaled.png-f3339630b5485065e6c4b5a674351a71.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://GUI/Button-n-scaled.png"
|
||||
dest_files=["res://.godot/imported/Button-n-scaled.png-f3339630b5485065e6c4b5a674351a71.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
GUI/Button_Hover.png
Normal file
After Width: | Height: | Size: 261 B |
34
GUI/Button_Hover.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://djss3cvrcw1lj"
|
||||
path="res://.godot/imported/Button_Hover.png-6ae4ff902de36f3d4ee26cfe2fca48d4.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://GUI/Button_Hover.png"
|
||||
dest_files=["res://.godot/imported/Button_Hover.png-6ae4ff902de36f3d4ee26cfe2fca48d4.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
GUI/Button_Normal.png
Normal file
After Width: | Height: | Size: 256 B |
34
GUI/Button_Normal.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://oawbvjm077l3"
|
||||
path="res://.godot/imported/Button_Normal.png-55751aa075b5e6d1d9b35151e1331658.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://GUI/Button_Normal.png"
|
||||
dest_files=["res://.godot/imported/Button_Normal.png-55751aa075b5e6d1d9b35151e1331658.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
|
72
GUI/GUI.tscn
Normal file
|
@ -0,0 +1,72 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://mvxsgdf54h76"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cryk88utfvdp4" path="res://Game/MainGame/assets/HealthBar.png" id="1_41gxh"]
|
||||
[ext_resource type="FontFile" uid="uid://csvk0qbn5dl07" path="res://Menus/MainMenu/fonts/Nohemi-Medium.ttf" id="2_bumen"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5tcysvrklc4b" path="res://icon.svg" id="3_ie8nf"]
|
||||
[ext_resource type="PackedScene" uid="uid://bi8u30y04btvw" path="res://Menus/PauseMenu/pause_menu.tscn" id="4_326pg"]
|
||||
|
||||
[node name="GUI" type="CanvasLayer"]
|
||||
|
||||
[node name="UI" type="Control" parent="."]
|
||||
visible = false
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="UI"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
offset_left = 20.0
|
||||
offset_top = 53.0
|
||||
offset_right = 362.0
|
||||
offset_bottom = 103.0
|
||||
value = 50.0
|
||||
texture_progress = ExtResource("1_41gxh")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="UI"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
offset_left = 10.0
|
||||
offset_top = 10.0
|
||||
offset_right = 123.0
|
||||
offset_bottom = 37.0
|
||||
|
||||
[node name="TopInfoBar" type="MarginContainer" parent="UI/VBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 10
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="ScoreLabel" type="Label" parent="UI/VBoxContainer/TopInfoBar"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 1
|
||||
theme_override_fonts/font = ExtResource("2_bumen")
|
||||
text = "Score: 123232"
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="UI"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -40.0
|
||||
offset_top = -40.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="UI/HBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
value = 86.0
|
||||
fill_mode = 4
|
||||
texture_progress = ExtResource("3_ie8nf")
|
||||
|
||||
[node name="PauseMenu" parent="." instance=ExtResource("4_326pg")]
|
BIN
GUI/The King is Dead scaled-3.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
34
GUI/The King is Dead scaled-3.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cxh22354jwgts"
|
||||
path="res://.godot/imported/The King is Dead scaled-3.png-d46337c33e6d34031a265a6a7b4261fc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://GUI/The King is Dead scaled-3.png"
|
||||
dest_files=["res://.godot/imported/The King is Dead scaled-3.png-d46337c33e6d34031a265a6a7b4261fc.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
|
36
Game/Global/Globals.gd
Normal file
|
@ -0,0 +1,36 @@
|
|||
extends Node
|
||||
|
||||
var score : int = 0
|
||||
|
||||
func _ready():
|
||||
pass
|
||||
|
||||
func _process(delta):
|
||||
pass
|
||||
|
||||
func SetHighscore(score : int):
|
||||
if GetHighscore() > score:
|
||||
return
|
||||
else:
|
||||
var toSave = FileAccess.open("user://highscore.sav", FileAccess.WRITE)
|
||||
toSave.store_line("%s" % score)
|
||||
|
||||
|
||||
func GetHighscore():
|
||||
if not FileAccess.file_exists("user://highscore.sav"):
|
||||
return 0
|
||||
|
||||
var toRead = FileAccess.open("user://highscore.sav",FileAccess.READ)
|
||||
var toReturn : int = 0
|
||||
var res = toRead.get_line().to_int()
|
||||
return res
|
||||
|
||||
func SetMasterVolume(value : float):
|
||||
var masterBus = AudioServer.get_bus_index("Master")
|
||||
AudioServer.set_bus_volume_db(masterBus, value)
|
||||
|
||||
if value <= -80:
|
||||
AudioServer.set_bus_mute(masterBus, true)
|
||||
else:
|
||||
AudioServer.set_bus_mute(masterBus, false)
|
||||
|
6
Game/Global/Globals.tscn
Normal file
|
@ -0,0 +1,6 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://cat72ukvbxg23"]
|
||||
|
||||
[ext_resource type="Script" path="res://Game/Global/Globals.gd" id="1_tjpa4"]
|
||||
|
||||
[node name="Globals" type="Node"]
|
||||
script = ExtResource("1_tjpa4")
|
BIN
Game/King/assets/Foolish_King_Sprite_Sheet.png
Normal file
After Width: | Height: | Size: 4 KiB |
34
Game/King/assets/Foolish_King_Sprite_Sheet.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dm22v1jb8offb"
|
||||
path="res://.godot/imported/Foolish_King_Sprite_Sheet.png-f767a6f4425a32e2c173939987eacdf3.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/King/assets/Foolish_King_Sprite_Sheet.png"
|
||||
dest_files=["res://.godot/imported/Foolish_King_Sprite_Sheet.png-f767a6f4425a32e2c173939987eacdf3.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=false
|
||||
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
|
127
Game/King/foolish.tscn
Normal file
|
@ -0,0 +1,127 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://bx6gg3cuw8vu3"]
|
||||
|
||||
[ext_resource type="Script" path="res://Game/King/script/foolishKing.gd" id="1_fsdft"]
|
||||
[ext_resource type="Texture2D" uid="uid://dm22v1jb8offb" path="res://Game/King/assets/Foolish_King_Sprite_Sheet.png" id="2_pok3b"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vmonq"]
|
||||
size = Vector2(54, 94)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_xf6bx"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("../RigidBody2D/Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [6]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_osef7"]
|
||||
resource_name = "idle"
|
||||
length = 1.4
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("../RigidBody2D/Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.6),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_hjh7u"]
|
||||
resource_name = "turn"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("../RigidBody2D/Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [11]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_8481o"]
|
||||
resource_name = "walkDown"
|
||||
length = 0.8
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("../RigidBody2D/Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [6, 7, 8, 9]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ocuj5"]
|
||||
resource_name = "walkUp"
|
||||
length = 0.8
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("../RigidBody2D/Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [2, 3, 4, 5]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_cfq5j"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_xf6bx"),
|
||||
"idle": SubResource("Animation_osef7"),
|
||||
"turn": SubResource("Animation_hjh7u"),
|
||||
"walkDown": SubResource("Animation_8481o"),
|
||||
"walkUp": SubResource("Animation_ocuj5")
|
||||
}
|
||||
|
||||
[node name="King" type="Node2D"]
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
position = Vector2(350, 471)
|
||||
collision_layer = 2
|
||||
mass = 20.0
|
||||
gravity_scale = 0.0
|
||||
max_contacts_reported = 1
|
||||
contact_monitor = true
|
||||
lock_rotation = true
|
||||
constant_force = Vector2(9.88, 0)
|
||||
script = ExtResource("1_fsdft")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
shape = SubResource("RectangleShape2D_vmonq")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="RigidBody2D"]
|
||||
texture_filter = 1
|
||||
scale = Vector2(0.67, 0.67)
|
||||
texture = ExtResource("2_pok3b")
|
||||
hframes = 12
|
||||
frame = 6
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="RigidBody2D"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_cfq5j")
|
||||
}
|
||||
|
||||
[connection signal="body_entered" from="RigidBody2D" to="RigidBody2D" method="_on_body_entered"]
|
37
Game/King/script/foolishKing.gd
Normal file
|
@ -0,0 +1,37 @@
|
|||
extends RigidBody2D
|
||||
|
||||
@export var speed = 400
|
||||
@onready var animations = $AnimationPlayer
|
||||
var direction = 1;
|
||||
var timer = 0.5;
|
||||
var score = int(0);
|
||||
|
||||
func _process(delta):
|
||||
score += delta * 10;
|
||||
|
||||
func _physics_process(delta):
|
||||
|
||||
if position.y > 950:
|
||||
direction = -1
|
||||
elif position.y < 100:
|
||||
direction = 1
|
||||
|
||||
move_and_collide(Vector2(4 * (1 - position.x/1050),direction * delta * 500))
|
||||
|
||||
if direction == 1:
|
||||
animations.play("walkDown")
|
||||
else:
|
||||
animations.play("walkUp")
|
||||
|
||||
if(position.x < -10):
|
||||
get_node("/root/Globals").score = score
|
||||
get_node("/root/Globals").call("SetHighscore", score)
|
||||
get_tree().change_scene_to_file("res://Menus/Death/Death_Menu.tscn")
|
||||
|
||||
|
||||
|
||||
|
||||
func _on_body_entered(body):
|
||||
direction = direction * -1
|
||||
move_and_collide(Vector2(-3,0))
|
||||
pass # Replace with function body.
|
75
Game/MainGame/Game.tscn
Normal file
|
@ -0,0 +1,75 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://d2bv7iscxtmg2"]
|
||||
|
||||
[ext_resource type="Script" path="res://Game/MainGame/GameLogic.gd" id="1_rwsc2"]
|
||||
[ext_resource type="PackedScene" uid="uid://mvxsgdf54h76" path="res://GUI/GUI.tscn" id="2_ehxwo"]
|
||||
[ext_resource type="Theme" uid="uid://b8v47t8vpiix1" path="res://Theme/Default.theme" id="5_mja8j"]
|
||||
[ext_resource type="PackedScene" uid="uid://cohjnl5ts70fy" path="res://Game/Player/Player.tscn" id="6_g5uo4"]
|
||||
[ext_resource type="Texture2D" uid="uid://bgv4kop1ptj4y" path="res://Game/MainGame/Level_Background.png" id="8_65g2u"]
|
||||
[ext_resource type="PackedScene" uid="uid://bx6gg3cuw8vu3" path="res://Game/King/foolish.tscn" id="8_ehebq"]
|
||||
[ext_resource type="AudioStream" uid="uid://chgapvpb4cgal" path="res://Music/Cruising for Goblins.mp3" id="8_j23me"]
|
||||
[ext_resource type="PackedScene" uid="uid://bpr8chnsyuoln" path="res://Game/Monsters/MonsterSpawner/MonsterSpawner.tscn" id="12_4qu7v"]
|
||||
|
||||
[node name="Game" type="Node" node_paths=PackedStringArray("scoreLabel")]
|
||||
process_mode = 1
|
||||
script = ExtResource("1_rwsc2")
|
||||
MonsterSpawner = ExtResource("12_4qu7v")
|
||||
_King = NodePath("King")
|
||||
Player = ExtResource("6_g5uo4")
|
||||
scoreLabel = NodePath("UI/VBoxContainer/TopInfoBar/ScoreLabel")
|
||||
|
||||
[node name="UI" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("5_mja8j")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="UI"]
|
||||
layout_mode = 2
|
||||
offset_left = 10.0
|
||||
offset_top = 10.0
|
||||
offset_right = 123.0
|
||||
offset_bottom = 37.0
|
||||
|
||||
[node name="TopInfoBar" type="MarginContainer" parent="UI/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 10
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="ScoreLabel" type="Label" parent="UI/VBoxContainer/TopInfoBar"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 1
|
||||
text = "Score: 123232"
|
||||
|
||||
[node name="GUI" parent="." instance=ExtResource("2_ehxwo")]
|
||||
process_mode = 3
|
||||
|
||||
[node name="King" parent="." instance=ExtResource("8_ehebq")]
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("8_j23me")
|
||||
volume_db = -25.946
|
||||
autoplay = true
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Control"]
|
||||
z_index = -2
|
||||
texture_filter = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("8_65g2u")
|
66
Game/MainGame/GameLogic.cs
Normal file
|
@ -0,0 +1,66 @@
|
|||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class GameLogic : Node
|
||||
{
|
||||
[ExportCategory("ToInstantiate")]
|
||||
[Export] PackedScene MonsterSpawner;
|
||||
private Node _MonsterSpawner;
|
||||
[Export]
|
||||
private Node _King;
|
||||
[Export] PackedScene Player;
|
||||
private Node _Player;
|
||||
|
||||
|
||||
|
||||
[ExportCategory("Other")]
|
||||
[Export]
|
||||
public Label scoreLabel;
|
||||
private float score = 0;
|
||||
private int highscore = 0;
|
||||
[ExportCategory("KingData")]
|
||||
private int life = 10;
|
||||
[Export] TextureProgressBar lifebar;
|
||||
|
||||
// Called when the node enters the scene tree for the first time.
|
||||
public override void _Ready()
|
||||
{
|
||||
|
||||
highscore = ((int)GetNode("/root/Globals").Call("GetHighscore"));
|
||||
GD.Randomize();
|
||||
if(FileAccess.FileExists("user://savegame.sav"))
|
||||
{
|
||||
var toRead = FileAccess.Open("user://savegame.sav", FileAccess.ModeFlags.Read);
|
||||
score = float.Parse(toRead.GetLine());
|
||||
}
|
||||
|
||||
|
||||
_MonsterSpawner = MonsterSpawner.Instantiate();
|
||||
_Player = Player.Instantiate();
|
||||
AddChild(_MonsterSpawner);
|
||||
AddChild(_Player);
|
||||
|
||||
}
|
||||
|
||||
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
public override void _Process(double delta)
|
||||
{
|
||||
if(Input.GetActionStrength("Kill") > 0)
|
||||
{
|
||||
OnClose();
|
||||
GetTree().ChangeSceneToFile("res://Menus/Shop/Shop.tscn");
|
||||
}
|
||||
|
||||
|
||||
score += (float)delta * 10;
|
||||
scoreLabel.Text = "Score: " + ((int)score).ToString() + "\n" + "Highscore: " + highscore.ToString() ;
|
||||
|
||||
}
|
||||
|
||||
public void OnClose()
|
||||
{
|
||||
var SaveGame = FileAccess.Open("user://savegame.sav", FileAccess.ModeFlags.Write);
|
||||
SaveGame.StoreLine(score.ToString());
|
||||
}
|
||||
|
||||
}
|
39
Game/MainGame/GameLogic.gd
Normal file
|
@ -0,0 +1,39 @@
|
|||
extends Node
|
||||
|
||||
@export var MonsterSpawner: PackedScene
|
||||
var _MonsterSpawner: Node
|
||||
@export var _King: NodePath
|
||||
@export var Player: PackedScene
|
||||
var _Player: Node
|
||||
|
||||
@export var scoreLabel: Label
|
||||
var score: float = 0
|
||||
var highscore: int = 0
|
||||
var life: int = 10
|
||||
@export var lifebar: TextureProgressBar
|
||||
|
||||
|
||||
func _ready():
|
||||
highscore = int(get_node("/root/Globals").call("GetHighscore"))
|
||||
randomize()
|
||||
if FileAccess.file_exists("user://savegame.sav"):
|
||||
var toRead = FileAccess.open("user://savegame.sav", FileAccess.READ)
|
||||
score = float(toRead.get_line())
|
||||
|
||||
_MonsterSpawner = MonsterSpawner.instantiate()
|
||||
_Player = Player.instantiate()
|
||||
add_child(_MonsterSpawner)
|
||||
add_child(_Player)
|
||||
|
||||
|
||||
func _process(delta: float):
|
||||
if Input.get_action_strength("Kill") > 0:
|
||||
on_close()
|
||||
# get_tree().change_scene("res://Menus/Shop/Shop.tscn")
|
||||
|
||||
score += delta * 10
|
||||
scoreLabel.text = "Score: " + str(int(score)) + "\n" + "Highscore: " + str(highscore)
|
||||
|
||||
func on_close():
|
||||
var SaveGame = FileAccess.open("user://savegame.sav", FileAccess.WRITE)
|
||||
SaveGame.store_line(str(score))
|
BIN
Game/MainGame/Level_Background.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
34
Game/MainGame/Level_Background.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bgv4kop1ptj4y"
|
||||
path="res://.godot/imported/Level_Background.png-62e545b1a3d13d239177a8aacac70698.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/MainGame/Level_Background.png"
|
||||
dest_files=["res://.godot/imported/Level_Background.png-62e545b1a3d13d239177a8aacac70698.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
Game/MainGame/assets/HealthBar.png
Normal file
After Width: | Height: | Size: 507 B |
34
Game/MainGame/assets/HealthBar.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cryk88utfvdp4"
|
||||
path="res://.godot/imported/HealthBar.png-12b3e6dcaafb825ec83f4e2c7672e680.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/MainGame/assets/HealthBar.png"
|
||||
dest_files=["res://.godot/imported/HealthBar.png-12b3e6dcaafb825ec83f4e2c7672e680.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
Game/MainGame/assets/HealthBar.png~
Normal file
After Width: | Height: | Size: 545 B |
BIN
Game/MainGame/assets/Heart.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
34
Game/MainGame/assets/Heart.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bg7p8rrjw6t5g"
|
||||
path="res://.godot/imported/Heart.png-36e0def4e674a1316463fd6f78d8a315.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/MainGame/assets/Heart.png"
|
||||
dest_files=["res://.godot/imported/Heart.png-36e0def4e674a1316463fd6f78d8a315.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
Game/MainGame/assets/Heart_Outline.png
Normal file
After Width: | Height: | Size: 328 B |
34
Game/MainGame/assets/Heart_Outline.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b67aclysm20u0"
|
||||
path="res://.godot/imported/Heart_Outline.png-d72838daadfb9b04a80c9209247a37e5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/MainGame/assets/Heart_Outline.png"
|
||||
dest_files=["res://.godot/imported/Heart_Outline.png-d72838daadfb9b04a80c9209247a37e5.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
Game/MainGame/assets/Heart_bae.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
34
Game/MainGame/assets/Heart_bae.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://kxo2uo24vdlx"
|
||||
path="res://.godot/imported/Heart_bae.png-ea17da76ca0249e9196ad76c21151522.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/MainGame/assets/Heart_bae.png"
|
||||
dest_files=["res://.godot/imported/Heart_bae.png-ea17da76ca0249e9196ad76c21151522.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
Game/MainGame/assets/_Background.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
34
Game/MainGame/assets/_Background.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bw1yy51b4q3ko"
|
||||
path="res://.godot/imported/_Background.png-214350286602936afddf6949dad77ff1.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/MainGame/assets/_Background.png"
|
||||
dest_files=["res://.godot/imported/_Background.png-214350286602936afddf6949dad77ff1.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
|
35
Game/Monsters/Barrel/Barrel.tscn
Normal file
|
@ -0,0 +1,35 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://cncwwhaipgvvf"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://swsassoge30j" path="res://Game/Monsters/Barrel/assets/Barrel.png" id="1_8stf7"]
|
||||
[ext_resource type="Script" path="res://Game/Monsters/Barrel/scripts/Barrel.gd" id="1_nuile"]
|
||||
[ext_resource type="Texture2D" uid="uid://cbcafx7a1ishg" path="res://Game/Monsters/Barrel/assets/Barrel_Shadow.png" id="3_twxmi"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ukm3k"]
|
||||
radius = 7.07107
|
||||
|
||||
[node name="Barrel" type="RigidBody2D" node_paths=PackedStringArray("ToRotate")]
|
||||
collision_mask = 2
|
||||
mass = 20.0
|
||||
gravity_scale = 0.0
|
||||
max_contacts_reported = 1
|
||||
contact_monitor = true
|
||||
constant_force = Vector2(-2000, 0)
|
||||
script = ExtResource("1_nuile")
|
||||
ToMove = Vector2(-900, 0)
|
||||
ToRotate = NodePath("Sprite2D")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
scale = Vector2(6, 6)
|
||||
shape = SubResource("CircleShape2D_ukm3k")
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
scale = Vector2(6, 6)
|
||||
texture = ExtResource("3_twxmi")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
scale = Vector2(6, 6)
|
||||
texture = ExtResource("1_8stf7")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
BIN
Game/Monsters/Barrel/assets/Barrel.png
Normal file
After Width: | Height: | Size: 732 B |
34
Game/Monsters/Barrel/assets/Barrel.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://swsassoge30j"
|
||||
path="res://.godot/imported/Barrel.png-d2510602b3051fe82963165d2051dbb9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/Monsters/Barrel/assets/Barrel.png"
|
||||
dest_files=["res://.godot/imported/Barrel.png-d2510602b3051fe82963165d2051dbb9.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
Game/Monsters/Barrel/assets/Barrel.png~
Normal file
After Width: | Height: | Size: 732 B |
BIN
Game/Monsters/Barrel/assets/Barrel_Shadow.png
Normal file
After Width: | Height: | Size: 546 B |
34
Game/Monsters/Barrel/assets/Barrel_Shadow.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cbcafx7a1ishg"
|
||||
path="res://.godot/imported/Barrel_Shadow.png-72e727c33619d5bd8aaed020acf2f7e0.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/Monsters/Barrel/assets/Barrel_Shadow.png"
|
||||
dest_files=["res://.godot/imported/Barrel_Shadow.png-72e727c33619d5bd8aaed020acf2f7e0.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
Game/Monsters/Barrel/assets/Barrel_Shadow.png~
Normal file
After Width: | Height: | Size: 519 B |
13
Game/Monsters/Barrel/scripts/Barrel.gd
Normal file
|
@ -0,0 +1,13 @@
|
|||
extends RigidBody2D
|
||||
|
||||
@export var ToMove : Vector2
|
||||
@export var ToRotate : Sprite2D
|
||||
|
||||
func _ready():
|
||||
position = Vector2(2000, clamp(randi() % 1000, 120, 1000))
|
||||
|
||||
func _process(delta: float):
|
||||
ToRotate.rotate(-1.0 * delta)
|
||||
|
||||
func _on_body_entered(body: Node) -> void:
|
||||
queue_free()
|
35
Game/Monsters/MonsterSpawner/MonsterSpawner.tscn
Normal file
|
@ -0,0 +1,35 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://bpr8chnsyuoln"]
|
||||
|
||||
[ext_resource type="Script" path="res://Game/Monsters/MonsterSpawner/scripts/MonsterSpawner.gd" id="1_7d4hs"]
|
||||
[ext_resource type="PackedScene" uid="uid://cncwwhaipgvvf" path="res://Game/Monsters/Barrel/Barrel.tscn" id="4_5suhr"]
|
||||
[ext_resource type="FontFile" uid="uid://bdi53f017kak5" path="res://Menus/MainMenu/fonts/Geizer.otf" id="4_t2ig1"]
|
||||
|
||||
[node name="MonsterSpawner" type="Node"]
|
||||
script = ExtResource("1_7d4hs")
|
||||
Monsters = ExtResource("4_5suhr")
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Control"]
|
||||
z_index = 5
|
||||
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 = -11.5
|
||||
offset_right = 20.0
|
||||
offset_bottom = 11.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/font_color = Color(0.0980392, 0.0980392, 0.0901961, 1)
|
||||
theme_override_fonts/font = ExtResource("4_t2ig1")
|
||||
theme_override_font_sizes/font_size = 120
|
17
Game/Monsters/MonsterSpawner/scripts/MonsterSpawner.gd
Normal file
|
@ -0,0 +1,17 @@
|
|||
extends Node
|
||||
|
||||
@export var Monsters : PackedScene
|
||||
var toTime : float = 4.5
|
||||
var timer : float= 0
|
||||
|
||||
func _ready():
|
||||
timer = toTime
|
||||
|
||||
|
||||
func _process(delta):
|
||||
timer -= delta
|
||||
if(timer < 0):
|
||||
toTime = toTime * 0.989 if toTime < 1.5 else toTime * 0.9
|
||||
toTime = clamp(toTime, 0.05, 5)
|
||||
add_child(Monsters.instantiate())
|
||||
timer = toTime
|
190
Game/Player/Player.tscn
Normal file
|
@ -0,0 +1,190 @@
|
|||
[gd_scene load_steps=14 format=3 uid="uid://cohjnl5ts70fy"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bkk66gg8hccgo" path="res://Game/Player/assets/AttackSymbol.png" id="1_1ro1o"]
|
||||
[ext_resource type="Script" path="res://Game/Player/scripts/Movement.gd" id="1_qtxkv"]
|
||||
[ext_resource type="Texture2D" uid="uid://voppdllbhdn" path="res://Game/Player/assets/Dash_Icon.png" id="2_ghk3h"]
|
||||
[ext_resource type="Texture2D" uid="uid://dtrlci58skaic" path="res://Game/Player/assets/Death_Sprites-Sheet-Sheet.png" id="2_yhbdj"]
|
||||
[ext_resource type="Script" path="res://Game/Player/scripts/Dash.gd" id="4_u0rky"]
|
||||
[ext_resource type="Texture2D" uid="uid://dvwx64sdhmu15" path="res://Game/Player/assets/Scythe.png" id="5_3lhyn"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dtw7i"]
|
||||
size = Vector2(66, 110)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_hchml"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite:frame_coords")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [Vector2i(0, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_32knf"]
|
||||
resource_name = "attack"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite:frame_coords")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.9),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [Vector2i(0, 0), Vector2i(3, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_2xtxu"]
|
||||
resource_name = "idle"
|
||||
length = 4.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite:frame_coords")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1.3),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [Vector2i(0, 1), Vector2i(1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_uxjx4"]
|
||||
resource_name = "walkRight"
|
||||
length = 0.8
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mvavq"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_hchml"),
|
||||
"attack": SubResource("Animation_32knf"),
|
||||
"idle": SubResource("Animation_2xtxu"),
|
||||
"walkRight": SubResource("Animation_uxjx4")
|
||||
}
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_mhkm5"]
|
||||
radius = 32.82
|
||||
height = 158.0
|
||||
|
||||
[node name="Player" type="Node"]
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 10
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Control/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 8
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="Control/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
max_value = 4.0
|
||||
step = 0.01
|
||||
fill_mode = 4
|
||||
texture_progress = ExtResource("1_1ro1o")
|
||||
|
||||
[node name="TextureProgressBar2" type="TextureProgressBar" parent="Control/MarginContainer/HBoxContainer"]
|
||||
texture_filter = 1
|
||||
layout_mode = 2
|
||||
max_value = 2.0
|
||||
step = 0.01
|
||||
value = 2.0
|
||||
fill_mode = 4
|
||||
texture_progress = ExtResource("2_ghk3h")
|
||||
|
||||
[node name="CharacterController" type="CharacterBody2D" parent="." node_paths=PackedStringArray("Progressar", "bashbar")]
|
||||
position = Vector2(934, 521)
|
||||
collision_layer = 4
|
||||
collision_mask = 4
|
||||
script = ExtResource("1_qtxkv")
|
||||
Progressar = NodePath("../Control/MarginContainer/HBoxContainer/TextureProgressBar")
|
||||
bashbar = NodePath("../Control/MarginContainer/HBoxContainer/TextureProgressBar2")
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="CharacterController"]
|
||||
texture_filter = 1
|
||||
scale = Vector2(5, 5)
|
||||
texture = ExtResource("2_yhbdj")
|
||||
hframes = 4
|
||||
vframes = 2
|
||||
frame = 4
|
||||
|
||||
[node name="Collider" type="CollisionShape2D" parent="CharacterController"]
|
||||
visibility_layer = 2
|
||||
shape = SubResource("RectangleShape2D_dtw7i")
|
||||
|
||||
[node name="Animation" type="AnimationPlayer" parent="CharacterController"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_mvavq")
|
||||
}
|
||||
|
||||
[node name="Scythe" type="Node2D" parent="CharacterController"]
|
||||
position = Vector2(101.18, 0)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="CharacterController/Scythe"]
|
||||
texture_filter = 1
|
||||
scale = Vector2(5, 5)
|
||||
texture = ExtResource("5_3lhyn")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="CharacterController/Scythe"]
|
||||
collision_layer = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterController/Scythe/Area2D"]
|
||||
shape = SubResource("CapsuleShape2D_mhkm5")
|
||||
|
||||
[node name="Dash" type="Node2D" parent="CharacterController"]
|
||||
script = ExtResource("4_u0rky")
|
||||
|
||||
[node name="Timer" type="Timer" parent="CharacterController/Dash"]
|
||||
wait_time = 2.0
|
||||
one_shot = true
|
||||
|
||||
[connection signal="body_entered" from="CharacterController/Scythe/Area2D" to="CharacterController" method="_on_area_2d_body_entered"]
|
BIN
Game/Player/assets/AttackSymbol.png
Normal file
After Width: | Height: | Size: 834 B |
34
Game/Player/assets/AttackSymbol.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bkk66gg8hccgo"
|
||||
path="res://.godot/imported/AttackSymbol.png-2fc00192d301e4d6fa4d0bfeb09dfc22.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/Player/assets/AttackSymbol.png"
|
||||
dest_files=["res://.godot/imported/AttackSymbol.png-2fc00192d301e4d6fa4d0bfeb09dfc22.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
Game/Player/assets/Dash_Icon.png
Normal file
After Width: | Height: | Size: 750 B |
34
Game/Player/assets/Dash_Icon.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://voppdllbhdn"
|
||||
path="res://.godot/imported/Dash_Icon.png-bf5a4407d9f805c850c16d3ed1aca6ea.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/Player/assets/Dash_Icon.png"
|
||||
dest_files=["res://.godot/imported/Dash_Icon.png-bf5a4407d9f805c850c16d3ed1aca6ea.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
Game/Player/assets/Death_Sprites-Sheet-Sheet.png
Normal file
After Width: | Height: | Size: 2 KiB |
34
Game/Player/assets/Death_Sprites-Sheet-Sheet.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dtrlci58skaic"
|
||||
path="res://.godot/imported/Death_Sprites-Sheet-Sheet.png-3c87fe1a0fe3bd2e958483f694d73580.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/Player/assets/Death_Sprites-Sheet-Sheet.png"
|
||||
dest_files=["res://.godot/imported/Death_Sprites-Sheet-Sheet.png-3c87fe1a0fe3bd2e958483f694d73580.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
Game/Player/assets/Scythe.png
Normal file
After Width: | Height: | Size: 390 B |
34
Game/Player/assets/Scythe.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dvwx64sdhmu15"
|
||||
path="res://.godot/imported/Scythe.png-8cb82d6c196dd9c74877e76a6ae9524f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Game/Player/assets/Scythe.png"
|
||||
dest_files=["res://.godot/imported/Scythe.png-8cb82d6c196dd9c74877e76a6ae9524f.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
Game/Player/assets/Wing_Attack_Symbol.png~
Normal file
After Width: | Height: | Size: 2.2 KiB |
12
Game/Player/scripts/Dash.gd
Normal file
|
@ -0,0 +1,12 @@
|
|||
extends Node2D
|
||||
|
||||
@onready var timer : Timer = $Timer
|
||||
|
||||
|
||||
func start_dash(dur):
|
||||
timer.wait_time = dur
|
||||
timer.start()
|
||||
|
||||
func is_dashing():
|
||||
return !timer.is_stopped()
|
||||
|
59
Game/Player/scripts/Movement.gd
Normal file
|
@ -0,0 +1,59 @@
|
|||
extends CharacterBody2D
|
||||
|
||||
@export var normalspeed = 400
|
||||
@export var Progressar : TextureProgressBar
|
||||
@export var bashbar : TextureProgressBar
|
||||
|
||||
@onready var animations = $Animation
|
||||
|
||||
var knockback_dir = Vector2()
|
||||
var knockback_wait = 10
|
||||
|
||||
var activeTimer = 3;
|
||||
|
||||
const dashspeed = 1200
|
||||
const dashlength = .1
|
||||
var lastDash = 2
|
||||
|
||||
@onready var dash = $Dash
|
||||
|
||||
func _ready():
|
||||
get_node("Scythe").set_process_mode(PROCESS_MODE_DISABLED)
|
||||
|
||||
func get_input():
|
||||
if Input.is_action_just_pressed("dash") and lastDash < 0:
|
||||
lastDash = 2
|
||||
dash.start_dash(dashlength)
|
||||
var speed = dashspeed if dash.is_dashing() else normalspeed
|
||||
|
||||
var input_direction = Input.get_vector("left", "right", "up", "down")
|
||||
velocity = input_direction * speed
|
||||
|
||||
func _process(_delta):
|
||||
if Input.is_action_just_pressed("attack") and activeTimer <= 0:
|
||||
animations.play("attack")
|
||||
get_node("Scythe").set_process_mode(PROCESS_MODE_ALWAYS)
|
||||
activeTimer = 3
|
||||
|
||||
lastDash = lastDash - _delta
|
||||
activeTimer = activeTimer - _delta
|
||||
Progressar.value = 4 - activeTimer
|
||||
bashbar.value = 2 - clamp(lastDash,0,2)
|
||||
if activeTimer <= 2.5:
|
||||
get_node("Scythe").set_process_mode(PROCESS_MODE_DISABLED)
|
||||
|
||||
if Input.is_action_pressed("left"):
|
||||
get_node("Sprite").set_flip_h(true)
|
||||
animations.play("walkRight")
|
||||
elif Input.is_action_pressed("right"):
|
||||
get_node("Sprite").set_flip_h(false)
|
||||
animations.play("walkRight")
|
||||
else:
|
||||
animations.play("idle")
|
||||
|
||||
func _physics_process(_delta):
|
||||
get_input()
|
||||
move_and_slide()
|
||||
|
||||
func _on_area_2d_body_entered(body):
|
||||
body.queue_free()
|
7
Gmtk-2023.csproj
Normal file
|
@ -0,0 +1,7 @@
|
|||
<Project Sdk="Godot.NET.Sdk/4.1.0">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||
<RootNamespace>Gmtk2023</RootNamespace>
|
||||
</PropertyGroup>
|
||||
</Project>
|
19
Gmtk-2023.sln
Normal file
|
@ -0,0 +1,19 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gmtk-2023", "Gmtk-2023.csproj", "{90C788A1-7D08-40EB-98A8-26CAA8594EEE}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
ExportDebug|Any CPU = ExportDebug|Any CPU
|
||||
ExportRelease|Any CPU = ExportRelease|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{90C788A1-7D08-40EB-98A8-26CAA8594EEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{90C788A1-7D08-40EB-98A8-26CAA8594EEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{90C788A1-7D08-40EB-98A8-26CAA8594EEE}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
|
||||
{90C788A1-7D08-40EB-98A8-26CAA8594EEE}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
|
||||
{90C788A1-7D08-40EB-98A8-26CAA8594EEE}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
|
||||
{90C788A1-7D08-40EB-98A8-26CAA8594EEE}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
BIN
Menus/Death/Death Menu BG Animation.png
Normal file
After Width: | Height: | Size: 9.8 KiB |
34
Menus/Death/Death Menu BG Animation.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://1vg8ou1yqcw3"
|
||||
path="res://.godot/imported/Death Menu BG Animation.png-063dd59297f09516109d3e976078099f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/Death/Death Menu BG Animation.png"
|
||||
dest_files=["res://.godot/imported/Death Menu BG Animation.png-063dd59297f09516109d3e976078099f.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
Menus/Death/Death Menu BG-1.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
34
Menus/Death/Death Menu BG-1.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bkwuw46hqqkoh"
|
||||
path="res://.godot/imported/Death Menu BG-1.png-e1232d5d216f60b0cdae9e84dac29f29.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/Death/Death Menu BG-1.png"
|
||||
dest_files=["res://.godot/imported/Death Menu BG-1.png-e1232d5d216f60b0cdae9e84dac29f29.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
Menus/Death/Death Menu BG-2.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
34
Menus/Death/Death Menu BG-2.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://j6xh8iul1hd1"
|
||||
path="res://.godot/imported/Death Menu BG-2.png-7b0185d4ab8d23aea04dc5074494f0d0.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/Death/Death Menu BG-2.png"
|
||||
dest_files=["res://.godot/imported/Death Menu BG-2.png-7b0185d4ab8d23aea04dc5074494f0d0.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
Menus/Death/Death Menu BG-3.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
34
Menus/Death/Death Menu BG-3.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dsy5jveoc3ra1"
|
||||
path="res://.godot/imported/Death Menu BG-3.png-8e870db28e6327a61223c2d28ec3ef8b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/Death/Death Menu BG-3.png"
|
||||
dest_files=["res://.godot/imported/Death Menu BG-3.png-8e870db28e6327a61223c2d28ec3ef8b.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
Menus/Death/Death Menu BG-4.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
34
Menus/Death/Death Menu BG-4.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ctl73hnvn8rfm"
|
||||
path="res://.godot/imported/Death Menu BG-4.png-65b39a839ab8fb9a5df0278928401c47.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/Death/Death Menu BG-4.png"
|
||||
dest_files=["res://.godot/imported/Death Menu BG-4.png-65b39a839ab8fb9a5df0278928401c47.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
Menus/Death/Death Menu BG.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
34
Menus/Death/Death Menu BG.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bfwk42eje06aq"
|
||||
path="res://.godot/imported/Death Menu BG.png-c1a2649f9d7add7eac118096e6cf2e65.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/Death/Death Menu BG.png"
|
||||
dest_files=["res://.godot/imported/Death Menu BG.png-c1a2649f9d7add7eac118096e6cf2e65.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
|
29
Menus/Death/Death_Menu.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class Death_Menu : Control
|
||||
{
|
||||
|
||||
[Export] Label ToLabel;
|
||||
// Called when the node enters the scene tree for the first time.
|
||||
public override void _Ready()
|
||||
{
|
||||
ToLabel.Text = "Score: " + ((int)(GetNode("/root/Globals").Get("score"))).ToString() + "\n" +
|
||||
"Highscore: " + ((int)GetNode("/root/Globals").Call("GetHighscore")).ToString();
|
||||
}
|
||||
|
||||
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
public override void _Process(double delta)
|
||||
{
|
||||
}
|
||||
|
||||
public void _on_resume_btn_pressed()
|
||||
{
|
||||
GetTree().ChangeSceneToFile("res://Game/MainGame/Game.tscn");
|
||||
}
|
||||
|
||||
public void _on_end_pressed()
|
||||
{
|
||||
GetTree().ChangeSceneToFile("res://Menus/MainMenu/MainMenu.tscn");
|
||||
}
|
||||
}
|
21
Menus/Death/Death_Menu.gd
Normal file
|
@ -0,0 +1,21 @@
|
|||
extends Control
|
||||
|
||||
@export var toLabel : Label
|
||||
|
||||
|
||||
func _ready():
|
||||
var globals = get_node("/root/Globals")
|
||||
var score = int(globals.get("score"))
|
||||
var highscore = int(globals.call("GetHighscore"))
|
||||
|
||||
toLabel.text = "Score: " + str(score) + "\n" + "Highscore: " + str(highscore)
|
||||
|
||||
func _process(delta: float):
|
||||
pass
|
||||
|
||||
func _on_resume_btn_pressed():
|
||||
get_tree().change_scene_to_file("res://Game/MainGame/Game.tscn")
|
||||
|
||||
func _on_end_pressed():
|
||||
get_tree().change_scene_to_file("res://Menus/MainMenu/MainMenu.tscn")
|
||||
|
219
Menus/Death/Death_Menu.tscn
Normal file
|
@ -0,0 +1,219 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://cfa5k085rlb7q"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://b8v47t8vpiix1" path="res://Theme/Default.theme" id="1_jwopy"]
|
||||
[ext_resource type="Script" path="res://Menus/Death/Death_Menu.gd" id="2_kfydf"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwh8mr54hyxpk" path="res://Menus/Death/Death_Menu_BG_Animation.png" id="3_l8bqj"]
|
||||
[ext_resource type="Texture2D" uid="uid://cxh22354jwgts" path="res://GUI/The King is Dead scaled-3.png" id="4_7djxi"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5dlxo7fdtf1e" path="res://GUI/Button-n-scaled-2.png" id="5_4v47q"]
|
||||
[ext_resource type="Texture2D" uid="uid://gvlu6mhsyb7t" path="res://GUI/Button-h-scaled-2.png" id="6_myxvg"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_nyvfv"]
|
||||
resource_name = "BG ANIM"
|
||||
length = 0.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("../../AnimationPlayer/TextureRect2:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [Vector2(0, 0), Vector2(-960, 0), Vector2(-1920, 0), Vector2(-2880, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_rrsnf"]
|
||||
_data = {
|
||||
"BG ANIM": SubResource("Animation_nyvfv")
|
||||
}
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dkxuw"]
|
||||
bg_color = Color(0.259294, 0.259294, 0.259294, 1)
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_jrft2"]
|
||||
script/source = "extends Button
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
|
||||
func _on_Quit_pressed():
|
||||
get_tree().change_scene_to_file(\"res://Menus/MainMenu/MainMenu.tscn\")
|
||||
|
||||
|
||||
func _on_resume_btn_pressed():
|
||||
pass # Replace with function body.
|
||||
"
|
||||
|
||||
[node name="Control" type="Control" node_paths=PackedStringArray("toLabel")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_jwopy")
|
||||
script = ExtResource("2_kfydf")
|
||||
toLabel = NodePath("MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/Label")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
process_mode = 3
|
||||
root_node = NodePath("TextureRect2")
|
||||
speed_scale = 0.0
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_rrsnf")
|
||||
}
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="AnimationPlayer"]
|
||||
texture_filter = 1
|
||||
offset_right = 7643.0
|
||||
offset_bottom = 3291.0
|
||||
texture = ExtResource("3_l8bqj")
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="AnimationPlayer"]
|
||||
visible = false
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 1913.0
|
||||
offset_bottom = 1125.0
|
||||
color = Color(0.417969, 0.554688, 0.417969, 1)
|
||||
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="."]
|
||||
show_behind_parent = true
|
||||
top_level = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 2.0
|
||||
offset_top = -4.0
|
||||
offset_right = 2.0
|
||||
offset_bottom = -4.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 25
|
||||
theme_override_constants/margin_top = 20
|
||||
theme_override_constants/margin_right = 25
|
||||
theme_override_constants/margin_bottom = 20
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
top_level = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 13
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -325.0
|
||||
offset_right = 325.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_top = 200
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
||||
show_behind_parent = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/MarginContainer2"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("4_7djxi")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 180
|
||||
theme_override_constants/margin_top = 40
|
||||
theme_override_constants/margin_right = 180
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "Your highscore is"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="TextureButton" type="TextureButton" parent="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("5_4v47q")
|
||||
texture_pressed = ExtResource("6_myxvg")
|
||||
texture_hover = ExtResource("6_myxvg")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/TextureButton"]
|
||||
layout_mode = 0
|
||||
offset_left = 173.5
|
||||
offset_top = 1.0
|
||||
offset_right = 463.5
|
||||
offset_bottom = 80.0
|
||||
theme_override_constants/line_spacing = -10
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "Long Live
|
||||
the King"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ResumeBtn" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/TextureButton"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
offset_top = 8.0
|
||||
offset_right = 456.0
|
||||
offset_bottom = 67.0
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "Long live the King"
|
||||
|
||||
[node name="TextureButton2" type="TextureButton" parent="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("5_4v47q")
|
||||
texture_pressed = ExtResource("6_myxvg")
|
||||
texture_hover = ExtResource("6_myxvg")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/TextureButton2"]
|
||||
layout_mode = 0
|
||||
offset_left = 169.5
|
||||
offset_right = 459.5
|
||||
offset_bottom = 80.0
|
||||
theme_override_constants/line_spacing = -10
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "Back
|
||||
to Menu"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Quit" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/TextureButton2"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
offset_top = 8.0
|
||||
offset_right = 316.0
|
||||
offset_bottom = 67.0
|
||||
size_flags_vertical = 3
|
||||
theme_override_font_sizes/font_size = 40
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_dkxuw")
|
||||
text = "Exit to Menu"
|
||||
script = SubResource("GDScript_jrft2")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/TextureButton" to="." method="_on_resume_btn_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/TextureButton/ResumeBtn" to="." method="_on_resume_btn_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/TextureButton/ResumeBtn" to="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/TextureButton2/Quit" method="_on_resume_btn_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/TextureButton2" to="." method="_on_end_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/MarginContainer/VBoxContainer/TextureButton2/Quit" to="." method="_on_end_pressed"]
|
BIN
Menus/Death/Death_Menu_BG_Animation.png
Normal file
After Width: | Height: | Size: 9.9 KiB |
34
Menus/Death/Death_Menu_BG_Animation.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dwh8mr54hyxpk"
|
||||
path="res://.godot/imported/Death_Menu_BG_Animation.png-a7314e7af2f13cd747913377093daa05.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/Death/Death_Menu_BG_Animation.png"
|
||||
dest_files=["res://.godot/imported/Death_Menu_BG_Animation.png-a7314e7af2f13cd747913377093daa05.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
|
15
Menus/MainMenu/End.gd
Normal file
|
@ -0,0 +1,15 @@
|
|||
extends Button
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
|
||||
|
||||
func _on_pressed():
|
||||
get_tree().quit()
|
BIN
Menus/MainMenu/GMT4420.tmp
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
Menus/MainMenu/Heart_bae.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
34
Menus/MainMenu/Heart_bae.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://da55rw3g17n7d"
|
||||
path="res://.godot/imported/Heart_bae.png-8d36c232b8acb1068bbe1729d1b59469.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/MainMenu/Heart_bae.png"
|
||||
dest_files=["res://.godot/imported/Heart_bae.png-8d36c232b8acb1068bbe1729d1b59469.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
|
241
Menus/MainMenu/MainMenu.tscn
Normal file
|
@ -0,0 +1,241 @@
|
|||
[gd_scene load_steps=14 format=3 uid="uid://djy1vaskqd7ek"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://b8v47t8vpiix1" path="res://Theme/Default.theme" id="1_n0pae"]
|
||||
[ext_resource type="Texture2D" uid="uid://g4v6hu0gvh7g" path="res://Menus/MainMenu/Throne_Hall_Background.png" id="2_sg6vt"]
|
||||
[ext_resource type="FontFile" uid="uid://bdi53f017kak5" path="res://Menus/MainMenu/fonts/Geizer.otf" id="4_4ce7n"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5dlxo7fdtf1e" path="res://GUI/Button-n-scaled-2.png" id="4_rnpdy"]
|
||||
[ext_resource type="Texture2D" uid="uid://gvlu6mhsyb7t" path="res://GUI/Button-h-scaled-2.png" id="5_phbn4"]
|
||||
[ext_resource type="Script" path="res://Menus/MainMenu/Volume.gd" id="6_1s0ie"]
|
||||
[ext_resource type="Script" path="res://Menus/MainMenu/StartGame.gd" id="6_dvc6j"]
|
||||
[ext_resource type="Script" path="res://Menus/MainMenu/End.gd" id="7_5h5gn"]
|
||||
[ext_resource type="Texture2D" uid="uid://c2vddax8hmsy2" path="res://Menus/MainMenu/assets/GMTK-White@2000.png" id="7_m1l7c"]
|
||||
[ext_resource type="Script" path="res://Menus/MainMenu/scripts/fullscreen.gd" id="8_tacri"]
|
||||
[ext_resource type="AudioStream" uid="uid://c0pale5e18dgr" path="res://Music/Visager_-_Royal_Entrance_Loop.mp3" id="9_nf1sh"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_1im3j"]
|
||||
line_spacing = 1.0
|
||||
font = ExtResource("4_4ce7n")
|
||||
font_size = 160
|
||||
font_color = Color(0.0980392, 0.0980392, 0.0901961, 1)
|
||||
shadow_size = 20
|
||||
shadow_color = Color(0.0901961, 0.0901961, 0.113725, 0.0745098)
|
||||
shadow_offset = Vector2(20, 20)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1qbmu"]
|
||||
bg_color = Color(0.259294, 0.259294, 0.259294, 1)
|
||||
|
||||
[node name="MainMenu" type="Control"]
|
||||
process_mode = 3
|
||||
layout_mode = 3
|
||||
anchor_right = 12.0
|
||||
anchor_bottom = 12.0
|
||||
offset_right = -0.00012207
|
||||
offset_bottom = -0.00012207
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_n0pae")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
texture_filter = 1
|
||||
layout_mode = 0
|
||||
offset_right = 1917.0
|
||||
offset_bottom = 1077.0
|
||||
texture = ExtResource("2_sg6vt")
|
||||
|
||||
[node name="Credits" type="MarginContainer" parent="."]
|
||||
show_behind_parent = true
|
||||
top_level = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 25
|
||||
theme_override_constants/margin_top = 20
|
||||
theme_override_constants/margin_right = 25
|
||||
theme_override_constants/margin_bottom = 20
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Credits"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
|
||||
[node name="Label" type="Label" parent="Credits/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 8
|
||||
theme_override_font_sizes/font_size = 25
|
||||
text = "Made by: Jannis, Fabio, Leon, Johannes
|
||||
"
|
||||
|
||||
[node name="Label2" type="Label" parent="Credits/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
text = "\"Cruising for Goblins\" Kevin MacLeod (incompetech.com)
|
||||
Licensed under Creative Commons: By Attribution 4.0 License
|
||||
http://creativecommons.org/licenses/by/4.0/
|
||||
|
||||
\"Royal Entrance Loop\" Visager
|
||||
Licensed under Creative Commons: By Attribution 4.0 License"
|
||||
|
||||
[node name="StartOptions" type="MarginContainer" parent="."]
|
||||
top_level = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 13
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -325.0
|
||||
offset_right = 325.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_top = 150
|
||||
|
||||
[node name="Container" type="VBoxContainer" parent="StartOptions"]
|
||||
show_behind_parent = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title" type="Label" parent="StartOptions/Container"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
theme = ExtResource("1_n0pae")
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "Death Game"
|
||||
label_settings = SubResource("LabelSettings_1im3j")
|
||||
vertical_alignment = 2
|
||||
|
||||
[node name="TitleOptions" type="MarginContainer" parent="StartOptions/Container"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 180
|
||||
theme_override_constants/margin_top = 512
|
||||
theme_override_constants/margin_right = 180
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="StartOptions/Container/TitleOptions"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = -12
|
||||
theme_override_constants/margin_top = -12
|
||||
theme_override_constants/margin_right = -12
|
||||
theme_override_constants/margin_bottom = -12
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="StartOptions/Container/TitleOptions/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
color = Color(0.337255, 0.321569, 0.301961, 0.784314)
|
||||
|
||||
[node name="Containers" type="VBoxContainer" parent="StartOptions/Container/TitleOptions"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
theme_override_constants/separation = 20
|
||||
|
||||
[node name="TextureButton" type="TextureButton" parent="StartOptions/Container/TitleOptions/Containers"]
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("4_rnpdy")
|
||||
texture_pressed = ExtResource("5_phbn4")
|
||||
texture_hover = ExtResource("5_phbn4")
|
||||
stretch_mode = 3
|
||||
script = ExtResource("6_dvc6j")
|
||||
|
||||
[node name="Label" type="Label" parent="StartOptions/Container/TitleOptions/Containers/TextureButton"]
|
||||
layout_mode = 0
|
||||
offset_right = 326.0
|
||||
offset_bottom = 82.0
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "Start"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Start" type="Button" parent="StartOptions/Container/TitleOptions/Containers/TextureButton"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
offset_top = 8.0
|
||||
offset_right = 324.0
|
||||
offset_bottom = 67.0
|
||||
theme = ExtResource("1_n0pae")
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "Start
|
||||
"
|
||||
|
||||
[node name="VolumeLabel" type="Label" parent="StartOptions/Container/TitleOptions/Containers"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_n0pae")
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "Volume"
|
||||
|
||||
[node name="Volume" type="HSlider" parent="StartOptions/Container/TitleOptions/Containers/VolumeLabel"]
|
||||
layout_mode = 2
|
||||
offset_top = 62.0
|
||||
offset_right = 324.0
|
||||
offset_bottom = 78.0
|
||||
size_flags_vertical = 3
|
||||
theme = ExtResource("1_n0pae")
|
||||
min_value = -40.0
|
||||
max_value = 0.0
|
||||
step = 5.0
|
||||
script = ExtResource("6_1s0ie")
|
||||
|
||||
[node name="FullscreenToggle" type="CheckButton" parent="StartOptions/Container/TitleOptions/Containers"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
theme = ExtResource("1_n0pae")
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "Fullscreen"
|
||||
script = ExtResource("8_tacri")
|
||||
|
||||
[node name="TextureButton2" type="TextureButton" parent="StartOptions/Container/TitleOptions/Containers"]
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("4_rnpdy")
|
||||
texture_pressed = ExtResource("5_phbn4")
|
||||
texture_hover = ExtResource("5_phbn4")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Label" type="Label" parent="StartOptions/Container/TitleOptions/Containers/TextureButton2"]
|
||||
layout_mode = 0
|
||||
offset_right = 306.0
|
||||
offset_bottom = 81.0
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "Quit"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="End" type="Button" parent="StartOptions/Container/TitleOptions/Containers/TextureButton2"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
offset_top = -67.0
|
||||
offset_right = 324.0
|
||||
offset_bottom = -8.0
|
||||
size_flags_vertical = 3
|
||||
theme = ExtResource("1_n0pae")
|
||||
theme_override_font_sizes/font_size = 40
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_1qbmu")
|
||||
text = "Quit
|
||||
"
|
||||
script = ExtResource("7_5h5gn")
|
||||
|
||||
[node name="GMTKLogo" type="TextureRect" parent="."]
|
||||
top_level = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -131.0
|
||||
offset_top = -151.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = -16.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
texture = ExtResource("7_m1l7c")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("9_nf1sh")
|
||||
volume_db = -23.554
|
||||
autoplay = true
|
||||
|
||||
[connection signal="pressed" from="StartOptions/Container/TitleOptions/Containers/TextureButton" to="StartOptions/Container/TitleOptions/Containers/TextureButton" method="_on_pressed"]
|
||||
[connection signal="value_changed" from="StartOptions/Container/TitleOptions/Containers/VolumeLabel/Volume" to="StartOptions/Container/TitleOptions/Containers/VolumeLabel/Volume" method="_on_value_changed"]
|
||||
[connection signal="toggled" from="StartOptions/Container/TitleOptions/Containers/FullscreenToggle" to="StartOptions/Container/TitleOptions/Containers/FullscreenToggle" method="_on_toggled"]
|
||||
[connection signal="pressed" from="StartOptions/Container/TitleOptions/Containers/TextureButton2" to="StartOptions/Container/TitleOptions/Containers/TextureButton2/End" method="_on_pressed"]
|
||||
[connection signal="pressed" from="StartOptions/Container/TitleOptions/Containers/TextureButton2/End" to="StartOptions/Container/TitleOptions/Containers/TextureButton2/End" method="_on_pressed"]
|
12
Menus/MainMenu/StartGame.gd
Normal file
|
@ -0,0 +1,12 @@
|
|||
extends TextureButton
|
||||
|
||||
|
||||
func _ready():
|
||||
grab_focus()
|
||||
|
||||
func _process(delta):
|
||||
pass
|
||||
|
||||
|
||||
func _on_pressed():
|
||||
get_tree().change_scene_to_file("res://Game/MainGame/Game.tscn")
|
BIN
Menus/MainMenu/Throne_Hall_Background.png
Normal file
After Width: | Height: | Size: 11 KiB |
34
Menus/MainMenu/Throne_Hall_Background.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://g4v6hu0gvh7g"
|
||||
path="res://.godot/imported/Throne_Hall_Background.png-6298a415ecad14df39d5be53f64a85c9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/MainMenu/Throne_Hall_Background.png"
|
||||
dest_files=["res://.godot/imported/Throne_Hall_Background.png-6298a415ecad14df39d5be53f64a85c9.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
|
4
Menus/MainMenu/Volume.gd
Normal file
|
@ -0,0 +1,4 @@
|
|||
extends HSlider
|
||||
|
||||
func _on_value_changed(value):
|
||||
Globals.SetMasterVolume(value)
|
BIN
Menus/MainMenu/assets/GMTK-White@2000.png
Normal file
After Width: | Height: | Size: 42 KiB |
34
Menus/MainMenu/assets/GMTK-White@2000.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c2vddax8hmsy2"
|
||||
path="res://.godot/imported/GMTK-White@2000.png-2e99345dbd5af2178ec228c323588917.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/MainMenu/assets/GMTK-White@2000.png"
|
||||
dest_files=["res://.godot/imported/GMTK-White@2000.png-2e99345dbd5af2178ec228c323588917.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
Menus/MainMenu/assets/jamlogo2023.png
Normal file
After Width: | Height: | Size: 20 KiB |
34
Menus/MainMenu/assets/jamlogo2023.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cqyr4qqktq2u5"
|
||||
path="res://.godot/imported/jamlogo2023.png-13ff5fc6581ce7c76538cd51ef55325c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/MainMenu/assets/jamlogo2023.png"
|
||||
dest_files=["res://.godot/imported/jamlogo2023.png-13ff5fc6581ce7c76538cd51ef55325c.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
Menus/MainMenu/fonts/Geizer.otf
Normal file
33
Menus/MainMenu/fonts/Geizer.otf.import
Normal file
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bdi53f017kak5"
|
||||
path="res://.godot/imported/Geizer.otf-182395edc16921e9334a0cfbc9779e83.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/MainMenu/fonts/Geizer.otf"
|
||||
dest_files=["res://.godot/imported/Geizer.otf-182395edc16921e9334a0cfbc9779e83.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
BIN
Menus/MainMenu/fonts/Nohemi-Medium.ttf
Normal file
33
Menus/MainMenu/fonts/Nohemi-Medium.ttf.import
Normal file
|
@ -0,0 +1,33 @@
|
|||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://csvk0qbn5dl07"
|
||||
path="res://.godot/imported/Nohemi-Medium.ttf-f3cb8f75e5e9538ed59beb0d7b98809b.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Menus/MainMenu/fonts/Nohemi-Medium.ttf"
|
||||
dest_files=["res://.godot/imported/Nohemi-Medium.ttf-f3cb8f75e5e9538ed59beb0d7b98809b.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
BIN
Menus/MainMenu/jamlogo2023.png~
Normal file
After Width: | Height: | Size: 46 KiB |