Reorganized folder layout

Reorganized the folders for a simpler and clearer layout.
This commit is contained in:
darioGerussi
2022-03-27 12:47:31 -05:00
parent 9c106dda72
commit 128e8b79dc
752 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,33 @@
extends MarginContainer
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func _on_NewGame_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
get_tree().change_scene("res://NewGame.tscn")
func _on_StartGame_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
get_tree().change_scene("res://StartGame.tscn")
func _on_SaveLoad_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
get_tree().change_scene("res://SaveLoad.tscn")
func _on_Settings_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
get_tree().change_scene("res://Settings.tscn")
func _on_Exit_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
get_tree().quit()

View File

@ -0,0 +1,108 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://new_dynamicfont.tres" type="DynamicFont" id=2]
[ext_resource path="res://MainMenu.gd" type="Script" id=6]
[node name="MainMenu" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 120
custom_constants/margin_top = 80
custom_constants/margin_left = 120
custom_constants/margin_bottom = 80
script = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="."]
margin_left = 120.0
margin_top = 80.0
margin_right = 904.0
margin_bottom = 520.0
color = Color( 0.72549, 0.858824, 0.92549, 1 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 120.0
margin_top = 80.0
margin_right = 904.0
margin_bottom = 520.0
[node name="Title" type="Label" parent="VBoxContainer"]
margin_right = 784.0
margin_bottom = 31.0
custom_fonts/font = ExtResource( 2 )
custom_colors/font_color = Color( 0.352941, 0.486275, 0.768627, 1 )
text = "Main Menu"
align = 1
autowrap = true
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
margin_top = 35.0
margin_right = 784.0
margin_bottom = 66.0
[node name="NewGame" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_right = 193.0
margin_bottom = 31.0
mouse_filter = 1
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 2 )
custom_colors/font_color = Color( 0.25098, 0.396078, 0.505882, 1 )
text = "New Game"
align = 1
[node name="StartGame" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_left = 197.0
margin_right = 390.0
margin_bottom = 31.0
mouse_filter = 1
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 2 )
custom_colors/font_color = Color( 0.25098, 0.396078, 0.505882, 1 )
text = "Start Game"
align = 1
[node name="SaveLoad" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_left = 394.0
margin_right = 587.0
margin_bottom = 31.0
mouse_filter = 1
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 2 )
custom_colors/font_color = Color( 0.25098, 0.396078, 0.505882, 1 )
text = "Save/Load"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Settings" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_left = 591.0
margin_right = 784.0
margin_bottom = 31.0
mouse_filter = 1
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 2 )
custom_colors/font_color = Color( 0.25098, 0.396078, 0.505882, 1 )
text = "Settings"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Exit" type="Label" parent="VBoxContainer"]
margin_top = 70.0
margin_right = 784.0
margin_bottom = 101.0
mouse_filter = 1
custom_fonts/font = ExtResource( 2 )
custom_colors/font_color = Color( 0.321569, 0.423529, 0.901961, 1 )
text = "Exit"
align = 1
[connection signal="gui_input" from="VBoxContainer/HBoxContainer/NewGame" to="." method="_on_NewGame_gui_input"]
[connection signal="gui_input" from="VBoxContainer/HBoxContainer/StartGame" to="." method="_on_StartGame_gui_input"]
[connection signal="gui_input" from="VBoxContainer/HBoxContainer/SaveLoad" to="." method="_on_SaveLoad_gui_input"]
[connection signal="gui_input" from="VBoxContainer/HBoxContainer/Settings" to="." method="_on_Settings_gui_input"]
[connection signal="gui_input" from="VBoxContainer/Exit" to="." method="_on_Exit_gui_input"]

View File

@ -0,0 +1,22 @@
extends MarginContainer
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# 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_Back_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
get_tree().change_scene("res://MainMenu.tscn")

View File

@ -0,0 +1,40 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://new_dynamicfont.tres" type="DynamicFont" id=1]
[ext_resource path="res://NewGame.gd" type="Script" id=2]
[node name="NewGame" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 120
custom_constants/margin_top = 80
custom_constants/margin_left = 120
custom_constants/margin_bottom = 80
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 120.0
margin_top = 80.0
margin_right = 904.0
margin_bottom = 520.0
[node name="Title" type="Label" parent="VBoxContainer"]
margin_right = 784.0
margin_bottom = 19.0
custom_fonts/font = ExtResource( 1 )
text = "New Game"
align = 1
[node name="Back" type="Label" parent="VBoxContainer"]
margin_top = 23.0
margin_right = 784.0
margin_bottom = 42.0
mouse_filter = 1
custom_fonts/font = ExtResource( 1 )
text = "Back"
align = 1
[connection signal="gui_input" from="VBoxContainer/Back" to="." method="_on_Back_gui_input"]

View File

@ -0,0 +1,21 @@
extends MarginContainer
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# 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_Back_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
get_tree().change_scene("res://MainMenu.tscn")

View File

@ -0,0 +1,61 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://new_dynamicfont.tres" type="DynamicFont" id=1]
[ext_resource path="res://SaveLoad.gd" type="Script" id=2]
[node name="MarginContainer" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 120
custom_constants/margin_top = 80
custom_constants/margin_left = 120
custom_constants/margin_bottom = 80
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 120.0
margin_top = 80.0
margin_right = 904.0
margin_bottom = 520.0
[node name="Title" type="Label" parent="VBoxContainer"]
margin_right = 784.0
margin_bottom = 19.0
custom_fonts/font = ExtResource( 1 )
text = "Save or Load"
align = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
margin_top = 23.0
margin_right = 784.0
margin_bottom = 42.0
custom_constants/separation = 50
alignment = 1
[node name="Save" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_left = 331.0
margin_right = 366.0
margin_bottom = 19.0
custom_fonts/font = ExtResource( 1 )
text = "Save"
[node name="Load" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_left = 416.0
margin_right = 452.0
margin_bottom = 19.0
custom_fonts/font = ExtResource( 1 )
text = "Load"
[node name="Back" type="Label" parent="VBoxContainer"]
margin_top = 46.0
margin_right = 784.0
margin_bottom = 65.0
mouse_filter = 1
custom_fonts/font = ExtResource( 1 )
text = "Back"
align = 1
[connection signal="gui_input" from="VBoxContainer/Back" to="." method="_on_Back_gui_input"]

View File

@ -0,0 +1,21 @@
extends MarginContainer
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# 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_Back_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
get_tree().change_scene("res://MainMenu.tscn")

View File

@ -0,0 +1,42 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://new_dynamicfont.tres" type="DynamicFont" id=1]
[ext_resource path="res://Settings.gd" type="Script" id=2]
[node name="Settings" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 1.0
margin_bottom = 1.0
custom_constants/margin_right = 120
custom_constants/margin_top = 80
custom_constants/margin_left = 120
custom_constants/margin_bottom = 80
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 120.0
margin_top = 80.0
margin_right = 904.0
margin_bottom = 520.0
[node name="Title" type="Label" parent="VBoxContainer"]
margin_right = 784.0
margin_bottom = 19.0
custom_fonts/font = ExtResource( 1 )
text = "Settings"
align = 1
[node name="Back" type="Label" parent="VBoxContainer"]
margin_top = 23.0
margin_right = 784.0
margin_bottom = 42.0
mouse_filter = 1
custom_fonts/font = ExtResource( 1 )
text = "Back"
align = 1
[connection signal="gui_input" from="VBoxContainer/Back" to="." method="_on_Back_gui_input"]

View File

@ -0,0 +1,21 @@
extends MarginContainer
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# 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_Back_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
get_tree().change_scene("res://MainMenu.tscn")

View File

@ -0,0 +1,49 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://new_dynamicfont.tres" type="DynamicFont" id=1]
[ext_resource path="res://StartGame.gd" type="Script" id=2]
[node name="StartGame" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 120
custom_constants/margin_top = 80
custom_constants/margin_left = 120
custom_constants/margin_bottom = 80
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 120.0
margin_top = 80.0
margin_right = 904.0
margin_bottom = 520.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" type="Label" parent="VBoxContainer"]
margin_right = 784.0
margin_bottom = 19.0
custom_fonts/font = ExtResource( 1 )
text = "Start Game"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Back" type="Label" parent="VBoxContainer"]
margin_top = 23.0
margin_right = 784.0
margin_bottom = 42.0
mouse_filter = 1
custom_fonts/font = ExtResource( 1 )
text = "Back"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="gui_input" from="VBoxContainer/Back" to="." method="_on_Back_gui_input"]

View File

@ -0,0 +1,7 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=1]
[resource]
background_mode = 2
background_sky = SubResource( 1 )

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.png"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -0,0 +1,7 @@
[gd_resource type="DynamicFont" load_steps=2 format=2]
[ext_resource path="res://roboto/Roboto-Regular.ttf" type="DynamicFontData" id=1]
[resource]
size = 25
font_data = ExtResource( 1 )

View File

@ -0,0 +1,23 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=4
[application]
config/name="rpgresearch"
run/main_scene="res://MainMenu.tscn"
config/icon="res://icon.png"
[physics]
common/enable_pause_aware_picking=true
[rendering]
environment/default_environment="res://default_env.tres"