Reorganized Godot folder; uploaded my Main Menu version
Combined all Godot uploads from everyone into one folder (MainMenu) within a new folder for Godot files (Godot). Uploaded my first draft version of the Main Menu file.
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
@ -0,0 +1,25 @@
|
|||||||
|
extends ItemList
|
||||||
|
|
||||||
|
|
||||||
|
# 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):
|
||||||
|
if is_selected(0):
|
||||||
|
get_tree().change_scene("res://newGame.tscn")
|
||||||
|
if is_selected(1):
|
||||||
|
get_tree().change_scene("res://loadGame.tscn")
|
||||||
|
if is_selected(2):
|
||||||
|
get_tree().change_scene("res://multiplayer.tscn")
|
||||||
|
if is_selected(3):
|
||||||
|
get_tree().change_scene("res://addCharacter.tscn")
|
||||||
|
if is_selected(4):
|
||||||
|
get_tree().change_scene("res://settings.tscn")
|
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="47313fa4c47a9963fddd764e1ec6e4a8"
|
||||||
|
dest_md5="2ded9e7f9060e2b530aab678b135fc5b"
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
extends Control
|
||||||
|
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta):
|
||||||
|
pass
|
12064
Godot/MainMenu/darioGerussi/startGameMenu/.import/mainScene.tscn
Normal file
19
Godot/MainMenu/darioGerussi/startGameMenu/Button.gd
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
extends Button
|
||||||
|
|
||||||
|
|
||||||
|
# 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():
|
||||||
|
connect("pressed", self, "_button_pressed")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
#func _process(delta):
|
||||||
|
# pass
|
||||||
|
func _button_pressed():
|
||||||
|
get_tree().change_scene("res://.import/mainScene.tscn")
|
12030
Godot/MainMenu/darioGerussi/startGameMenu/Button.tscn
Normal file
28
Godot/MainMenu/darioGerussi/startGameMenu/addCharacter.tscn
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Button.tscn" type="PackedScene" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id=1]
|
||||||
|
bg_color = Color( 0.933333, 0.917647, 0.74902, 1 )
|
||||||
|
|
||||||
|
[node name="Panel" type="Panel"]
|
||||||
|
margin_right = 480.0
|
||||||
|
margin_bottom = 360.0
|
||||||
|
custom_styles/panel = SubResource( 1 )
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="."]
|
||||||
|
margin_left = 0.840881
|
||||||
|
margin_right = 480.841
|
||||||
|
margin_bottom = 60.0
|
||||||
|
custom_colors/font_color = Color( 0.403922, 0.243137, 0.0156863, 1 )
|
||||||
|
text = "Add Character"
|
||||||
|
align = 1
|
||||||
|
valign = 1
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Button" parent="." instance=ExtResource( 1 )]
|
@ -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 )
|
BIN
Godot/MainMenu/darioGerussi/startGameMenu/icon.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
34
Godot/MainMenu/darioGerussi/startGameMenu/icon.png.import
Normal 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
|
28
Godot/MainMenu/darioGerussi/startGameMenu/loadGame.tscn
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Button.tscn" type="PackedScene" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id=1]
|
||||||
|
bg_color = Color( 0.933333, 0.917647, 0.74902, 1 )
|
||||||
|
|
||||||
|
[node name="Panel" type="Panel"]
|
||||||
|
margin_right = 480.0
|
||||||
|
margin_bottom = 360.0
|
||||||
|
custom_styles/panel = SubResource( 1 )
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="."]
|
||||||
|
margin_left = 0.840881
|
||||||
|
margin_right = 480.841
|
||||||
|
margin_bottom = 60.0
|
||||||
|
custom_colors/font_color = Color( 0.403922, 0.243137, 0.0156863, 1 )
|
||||||
|
text = "Load Game"
|
||||||
|
align = 1
|
||||||
|
valign = 1
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Button" parent="." instance=ExtResource( 1 )]
|
28
Godot/MainMenu/darioGerussi/startGameMenu/multiplayer.tscn
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Button.tscn" type="PackedScene" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id=1]
|
||||||
|
bg_color = Color( 0.933333, 0.917647, 0.74902, 1 )
|
||||||
|
|
||||||
|
[node name="Panel" type="Panel"]
|
||||||
|
margin_right = 480.0
|
||||||
|
margin_bottom = 360.0
|
||||||
|
custom_styles/panel = SubResource( 1 )
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="."]
|
||||||
|
margin_left = 0.840881
|
||||||
|
margin_right = 480.841
|
||||||
|
margin_bottom = 60.0
|
||||||
|
custom_colors/font_color = Color( 0.403922, 0.243137, 0.0156863, 1 )
|
||||||
|
text = "Multiplayer"
|
||||||
|
align = 1
|
||||||
|
valign = 1
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Button" parent="." instance=ExtResource( 1 )]
|
27
Godot/MainMenu/darioGerussi/startGameMenu/newGame.tscn
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Button.tscn" type="PackedScene" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id=1]
|
||||||
|
bg_color = Color( 0.933333, 0.917647, 0.74902, 1 )
|
||||||
|
|
||||||
|
[node name="Panel" type="Panel"]
|
||||||
|
margin_right = 480.0
|
||||||
|
margin_bottom = 360.0
|
||||||
|
custom_styles/panel = SubResource( 1 )
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Label_Title" type="Label" parent="."]
|
||||||
|
margin_right = 480.0
|
||||||
|
margin_bottom = 60.0
|
||||||
|
custom_colors/font_color = Color( 0.403922, 0.243137, 0.0156863, 1 )
|
||||||
|
text = "New Game"
|
||||||
|
align = 1
|
||||||
|
valign = 1
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Button" parent="." instance=ExtResource( 1 )]
|
24
Godot/MainMenu/darioGerussi/startGameMenu/project.godot
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
; 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
|
||||||
|
|
||||||
|
_global_script_classes=[ ]
|
||||||
|
_global_script_class_icons={
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[application]
|
||||||
|
|
||||||
|
config/name="Start Game Menu"
|
||||||
|
run/main_scene="res://.import/mainScene.tscn"
|
||||||
|
config/icon="res://icon.png"
|
||||||
|
|
||||||
|
[rendering]
|
||||||
|
|
||||||
|
environment/default_environment="res://default_env.tres"
|
28
Godot/MainMenu/darioGerussi/startGameMenu/settings.tscn
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Button.tscn" type="PackedScene" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id=1]
|
||||||
|
bg_color = Color( 0.933333, 0.917647, 0.74902, 1 )
|
||||||
|
|
||||||
|
[node name="Panel" type="Panel"]
|
||||||
|
margin_right = 480.0
|
||||||
|
margin_bottom = 360.0
|
||||||
|
custom_styles/panel = SubResource( 1 )
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="."]
|
||||||
|
margin_left = 0.840881
|
||||||
|
margin_right = 480.841
|
||||||
|
margin_bottom = 60.0
|
||||||
|
custom_colors/font_color = Color( 0.403922, 0.243137, 0.0156863, 1 )
|
||||||
|
text = "Settings"
|
||||||
|
align = 1
|
||||||
|
valign = 1
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Button" parent="." instance=ExtResource( 1 )]
|