Godot init commit
This commit is contained in:
parent
b3af8f85ad
commit
02bf944952
4
Main_menu.gd
Normal file
4
Main_menu.gd
Normal file
@ -0,0 +1,4 @@
|
||||
extends Control
|
||||
|
||||
func _ready():
|
||||
pass
|
68
Main_menu.tscn
Normal file
68
Main_menu.tscn
Normal file
@ -0,0 +1,68 @@
|
||||
[gd_scene load_steps=9 format=2]
|
||||
|
||||
[ext_resource path="res://textures/Title-Background.png" type="Texture" id=1]
|
||||
[ext_resource path="res://fonts/SPACEBAR.ttf" type="DynamicFontData" id=2]
|
||||
[ext_resource path="res://Main_menu.gd" type="Script" id=3]
|
||||
[ext_resource path="res://fonts/Title-font.tres" type="DynamicFont" id=4]
|
||||
[ext_resource path="res://themes/Base_theme.tres" type="Theme" id=5]
|
||||
|
||||
[sub_resource type="Theme" id=1]
|
||||
default_font = ExtResource( 4 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
size = 40
|
||||
font_data = ExtResource( 2 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=3]
|
||||
size = 32
|
||||
font_data = ExtResource( 2 )
|
||||
|
||||
[node name="Main_menu" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 5 )
|
||||
script = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
}
|
||||
|
||||
[node name="HTTPRequest" type="HTTPRequest" parent="."]
|
||||
|
||||
[node name="Background" type="TextureRect" parent="."]
|
||||
margin_right = 2000.0
|
||||
margin_bottom = 2000.0
|
||||
rect_scale = Vector2( 0.722402, 0.558973 )
|
||||
texture = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_group_": true,
|
||||
"_edit_lock_": true
|
||||
}
|
||||
|
||||
[node name="Header" type="Label" parent="."]
|
||||
anchor_right = 1.0
|
||||
margin_bottom = 53.0
|
||||
theme = SubResource( 1 )
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
text = "UltraFlare Launcher"
|
||||
align = 1
|
||||
valign = 1
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 40.0
|
||||
margin_top = -112.0
|
||||
margin_right = -40.0
|
||||
theme = ExtResource( 5 )
|
||||
|
||||
[node name="Play_button" type="Button" parent="Panel"]
|
||||
margin_left = 344.0
|
||||
margin_top = 24.0
|
||||
margin_right = 610.0
|
||||
margin_bottom = 96.0
|
||||
rect_scale = Vector2( 0.962016, 0.91427 )
|
||||
custom_fonts/font = SubResource( 3 )
|
||||
text = "play"
|
||||
|
||||
[connection signal="request_completed" from="HTTPRequest" to="." method="_on_HTTPRequest_request_completed"]
|
7
default_env.tres
Normal file
7
default_env.tres
Normal 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 )
|
BIN
fonts/Retro Gaming.ttf
Normal file
BIN
fonts/Retro Gaming.ttf
Normal file
Binary file not shown.
7
fonts/SPACE.tres
Normal file
7
fonts/SPACE.tres
Normal file
@ -0,0 +1,7 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://fonts/SPACE.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
size = 12
|
||||
font_data = ExtResource( 1 )
|
BIN
fonts/SPACE.ttf
Normal file
BIN
fonts/SPACE.ttf
Normal file
Binary file not shown.
BIN
fonts/SPACEBAR.ttf
Normal file
BIN
fonts/SPACEBAR.ttf
Normal file
Binary file not shown.
7
fonts/Title-font.tres
Normal file
7
fonts/Title-font.tres
Normal file
@ -0,0 +1,7 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://fonts/SPACEBAR.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
size = 48
|
||||
font_data = ExtResource( 1 )
|
8
fonts/Title_screen_font.tres
Normal file
8
fonts/Title_screen_font.tres
Normal file
@ -0,0 +1,8 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://fonts/SPACEBAR.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
use_mipmaps = true
|
||||
use_filter = true
|
||||
font_data = ExtResource( 1 )
|
7
fonts/retro_gaming.tres
Normal file
7
fonts/retro_gaming.tres
Normal file
@ -0,0 +1,7 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://fonts/Retro Gaming.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
outline_color = Color( 0.0823529, 0.0745098, 0.117647, 1 )
|
||||
font_data = ExtResource( 1 )
|
35
icon.png.import
Normal file
35
icon.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[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
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
36
project.godot
Normal file
36
project.godot
Normal file
@ -0,0 +1,36 @@
|
||||
; 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="UltraFlare Launcher"
|
||||
run/main_scene="res://Main_menu.tscn"
|
||||
config/icon="res://icon.png"
|
||||
|
||||
[display]
|
||||
|
||||
window/stretch/mode="2d"
|
||||
window/stretch/aspect="keep"
|
||||
|
||||
[editor]
|
||||
|
||||
scene_naming=2
|
||||
|
||||
[gui]
|
||||
|
||||
common/drop_mouse_on_gui_input_disabled=true
|
||||
|
||||
[physics]
|
||||
|
||||
common/enable_pause_aware_picking=true
|
||||
|
||||
[rendering]
|
||||
|
||||
environment/default_environment="res://default_env.tres"
|
BIN
textures/Title-Background.png
Normal file
BIN
textures/Title-Background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 872 KiB |
35
textures/Title-Background.png.import
Normal file
35
textures/Title-Background.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/Title-Background.png-0143b674e77de207c58522529e141ab8.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/Title-Background.png"
|
||||
dest_files=[ "res://.import/Title-Background.png-0143b674e77de207c58522529e141ab8.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=true
|
||||
flags/anisotropic=true
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
11
themes/Base_panel.tres
Normal file
11
themes/Base_panel.tres
Normal file
@ -0,0 +1,11 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
bg_color = Color( 0.0823529, 0.0745098, 0.117647, 1 )
|
||||
border_width_left = 10
|
||||
border_width_right = 5
|
||||
border_color = Color( 0.0823529, 0.0745098, 0.117647, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
8
themes/Base_theme.tres
Normal file
8
themes/Base_theme.tres
Normal file
@ -0,0 +1,8 @@
|
||||
[gd_resource type="Theme" load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://fonts/Title-font.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://themes/Base_panel.tres" type="StyleBox" id=2]
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource( 1 )
|
||||
Panel/styles/panel = ExtResource( 2 )
|
Loading…
Reference in New Issue
Block a user