Browse Source

menu starting

master
calexil 1 year ago
parent
commit
c2cebd0716

BIN
builds/Linux/tatakai.pck View File


BIN
builds/Linux/tatakai.x86_64 View File


BIN
builds/OSX/tatakai.zip View File


BIN
builds/Windows/tatakai.exe View File


BIN
builds/Windows/tatakai.pck View File


+ 1
- 1
godot/.import/icon.png-0e5586fbdae9a11fd2beb4ef7b17f01c.md5 View File

@@ -1,3 +1,3 @@
source_md5="e11f2466c13d6ba76f7026d57cbcfcf1"
dest_md5="b70d0927017a4f7dffe2aa39aeed9385"
dest_md5="be13ba555741d30d0c54e7e6508efcb1"


BIN
godot/.import/icon.png-0e5586fbdae9a11fd2beb4ef7b17f01c.stex View File


+ 1
- 1
godot/.import/logo.png-27f07fb278be841384fd04c0e30c7665.md5 View File

@@ -1,3 +1,3 @@
source_md5="05d2c23fa3e2141112a1d6671fd96db2"
dest_md5="ccfefb01f9c9afcdbe4a2bafd86b9d5f"
dest_md5="9efa8e40630413e1ddeac5fe13e4db77"


BIN
godot/.import/logo.png-27f07fb278be841384fd04c0e30c7665.stex View File


+ 1
- 1
godot/.import/logo.png-bdb8ad2a7d45e17905d5047c378a476b.md5 View File

@@ -1,3 +1,3 @@
source_md5="05d2c23fa3e2141112a1d6671fd96db2"
dest_md5="ccfefb01f9c9afcdbe4a2bafd86b9d5f"
dest_md5="9efa8e40630413e1ddeac5fe13e4db77"


BIN
godot/.import/logo.png-bdb8ad2a7d45e17905d5047c378a476b.stex View File


+ 1
- 1
godot/.import/title.png-7eda60b88b0bd5056a5e3ee746ef93f0.md5 View File

@@ -1,3 +1,3 @@
source_md5="5574852c4ecc51c2cc7ccdffc5f0d203"
dest_md5="98e1b38f6decdd0a69d878a2ae877806"
dest_md5="dc15c2736d7e88a33cf99694f5e54ffe"


BIN
godot/.import/title.png-7eda60b88b0bd5056a5e3ee746ef93f0.stex View File


+ 1
- 1
godot/.import/warning.png-3f1f1cb9d5d9fcfe7fbf7388e42c0744.md5 View File

@@ -1,3 +1,3 @@
source_md5="637cceb36412f284e85e152eb2c70547"
dest_md5="4197156c84e3e9540e87042ba066cb3c"
dest_md5="eedc1f856dadc2f04b52713f613948b1"


BIN
godot/.import/warning.png-3f1f1cb9d5d9fcfe7fbf7388e42c0744.stex View File


+ 5
- 0
godot/data/images/icon.png.import View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-0e5586fbdae9a11fd2beb4ef7b17f01c.stex"
metadata={
"vram_texture": false
}

[deps]

@@ -14,6 +17,7 @@ dest_files=[ "res://.import/icon.png-0e5586fbdae9a11fd2beb4ef7b17f01c.stex" ]
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
@@ -23,6 +27,7 @@ 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

+ 5
- 0
godot/data/images/logo.png.import View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/logo.png-bdb8ad2a7d45e17905d5047c378a476b.stex"
metadata={
"vram_texture": false
}

[deps]

@@ -14,6 +17,7 @@ dest_files=[ "res://.import/logo.png-bdb8ad2a7d45e17905d5047c378a476b.stex" ]
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
@@ -23,6 +27,7 @@ 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

+ 5
- 0
godot/data/images/title.png.import View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/title.png-7eda60b88b0bd5056a5e3ee746ef93f0.stex"
metadata={
"vram_texture": false
}

[deps]

@@ -14,6 +17,7 @@ dest_files=[ "res://.import/title.png-7eda60b88b0bd5056a5e3ee746ef93f0.stex" ]
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=false
@@ -23,6 +27,7 @@ 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=false

+ 5
- 0
godot/data/images/warning.png.import View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/warning.png-3f1f1cb9d5d9fcfe7fbf7388e42c0744.stex"
metadata={
"vram_texture": false
}

[deps]

@@ -14,6 +17,7 @@ dest_files=[ "res://.import/warning.png-3f1f1cb9d5d9fcfe7fbf7388e42c0744.stex" ]
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
@@ -23,6 +27,7 @@ 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

+ 1
- 1
godot/data/screens/LinkButton.gd View File

@@ -1,4 +1,4 @@
extends LinkButton

func _on_linkbutton_pressed():
OS.shell_open("https://github.com/calexil/Tatakai")
OS.shell_open("https://github.com/calexil/Tatakai")

+ 1
- 1
godot/data/screens/Sprite.gd View File

@@ -21,4 +21,4 @@ func window_resize():
scale_factor = minimum_size.x/new_size.x
new_size = Vector2(minimum_size.x, new_size.y*scale_factor)

viewport.set_size_override(true, new_size)
viewport.set_size_override(true, new_size)

+ 5
- 0
godot/data/screens/logo.png.import View File

@@ -3,6 +3,9 @@
importer="texture"
type="StreamTexture"
path="res://.import/logo.png-27f07fb278be841384fd04c0e30c7665.stex"
metadata={
"vram_texture": false
}

[deps]

@@ -14,6 +17,7 @@ dest_files=[ "res://.import/logo.png-27f07fb278be841384fd04c0e30c7665.stex" ]
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
@@ -23,6 +27,7 @@ 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

+ 27
- 150
godot/data/screens/menu.tscn View File

@@ -1,199 +1,76 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=5 format=2]

[ext_resource path="res://data/screens/logo.png" type="Texture" id=1]
[ext_resource path="res://data/images/icon.png" type="Texture" id=2]
[ext_resource path="res://data/screens/LinkButton.gd" type="Script" id=3]

[node name="Control" type="Control" index="0"]
[sub_resource type="ImageTexture" id=1]

anchor_left = 0.0
anchor_top = 0.0
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 0.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
_sections_unfolded = [ "Anchor", "Margin", "Rect" ]

[node name="HBoxContainer" type="HBoxContainer" parent="." index="0"]

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
[node name="HBoxContainer" type="HBoxContainer" parent="."]
margin_right = 40.0
margin_bottom = 40.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0

[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer" index="0"]
__meta__ = {
"_edit_use_anchors_": false
}

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
margin_bottom = 40.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0

[node name="Menu Logo" type="TextureRect" parent="HBoxContainer/VBoxContainer" index="0"]

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
stretch_mode = 0

[node name="logo" type="TextureRect" parent="HBoxContainer/VBoxContainer/Menu Logo" index="0"]
[node name="Menu Logo" type="TextureRect" parent="HBoxContainer/VBoxContainer"]

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
[node name="logo" type="TextureRect" parent="HBoxContainer/VBoxContainer/Menu Logo"]
anchor_bottom = 0.02
margin_left = 500.0
margin_top = 100.0
margin_right = 792.0
margin_bottom = 145.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
texture = ExtResource( 1 )
stretch_mode = 0
_sections_unfolded = [ "Anchor", "Grow Direction", "Margin" ]

[node name="Options" type="TextureRect" parent="HBoxContainer/VBoxContainer" index="1"]
__meta__ = {
"_edit_use_anchors_": false
}

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
[node name="Options" type="TextureRect" parent="HBoxContainer/VBoxContainer"]
margin_top = 4.0
margin_bottom = 4.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
stretch_mode = 0

[node name="Single Player" type="TextureRect" parent="HBoxContainer/VBoxContainer" index="2"]
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/VBoxContainer/Options"]
margin_right = 40.0
margin_bottom = 40.0
texture = SubResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
[node name="Single Player" type="TextureRect" parent="HBoxContainer/VBoxContainer"]
margin_top = 8.0
margin_bottom = 8.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
stretch_mode = 0

[node name="Multiplayer" type="TextureRect" parent="HBoxContainer/VBoxContainer" index="3"]

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
[node name="Multiplayer" type="TextureRect" parent="HBoxContainer/VBoxContainer"]
margin_top = 12.0
margin_bottom = 12.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
stretch_mode = 0

[node name="Exit" type="TextureRect" parent="HBoxContainer/VBoxContainer" index="4"]

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
[node name="Exit" type="TextureRect" parent="HBoxContainer/VBoxContainer"]
margin_top = 16.0
margin_bottom = 16.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
stretch_mode = 0

[node name="CenterContainer" type="CenterContainer" parent="HBoxContainer" index="1"]

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
[node name="CenterContainer" type="CenterContainer" parent="HBoxContainer"]
margin_left = 4.0
margin_right = 4.0
margin_bottom = 40.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
use_top_left = false

[node name="icon" type="Sprite" parent="." index="1"]

[node name="icon" type="Sprite" parent="."]
position = Vector2( 1190.81, 689.178 )
scale = Vector2( 2.04031, 1.95891 )
texture = ExtResource( 2 )
_sections_unfolded = [ "Animation", "Offset", "Region", "Transform", "Visibility" ]

[node name="linkbutton" type="LinkButton" parent="icon" index="0"]

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
[node name="linkbutton" type="LinkButton" parent="icon"]
margin_left = -19.0
margin_top = -12.0
margin_right = 19.0
margin_bottom = 11.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 2
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 0
shortcut = null
group = null
script = ExtResource( 3 )
_sections_unfolded = [ "Margin", "Mouse" ]

[connection signal="pressed" from="icon/linkbutton" to="icon/linkbutton" method="_on_linkbutton_pressed"]



+ 1
- 1
godot/data/screens/splash.gd View File

@@ -21,4 +21,4 @@ func display_warning_screen():
queue_free()

func _on_splash_animation_finished( anim_name ):
display_warning_screen()
display_warning_screen()

+ 1
- 1
godot/data/screens/warn.gd View File

@@ -21,4 +21,4 @@ func display_main_menu():
queue_free()

func _on_warn_animation_finished( anim_name ):
display_main_menu()
display_main_menu()

+ 27
- 3
godot/export_presets.cfg View File

@@ -7,14 +7,20 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../builds/Linux/tatakai.x86_64"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""

[preset.0.options]

texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
texture_format/no_bptc_fallbacks=true
binary_format/64_bits=true
binary_format/embed_pck=false
custom_template/release=""
custom_template/debug=""

@@ -27,16 +33,30 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../builds/Windows/tatakai.exe"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""

[preset.1.options]

texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
texture_format/no_bptc_fallbacks=true
binary_format/64_bits=true
binary_format/embed_pck=false
custom_template/release=""
custom_template/debug=""
codesign/enable=false
codesign/identity=""
codesign/password=""
codesign/timestamp=true
codesign/timestamp_server_url=""
codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PoolStringArray( )
application/icon=""
application/file_version=""
application/product_version=""
@@ -55,12 +75,15 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../builds/OSX/tatakai.zip"
patch_list=PoolStringArray( )
script_export_mode=1
script_encryption_key=""

[preset.2.options]

custom_package/debug=""
custom_package/release=""
custom_template/debug=""
custom_template/release=""
application/name=""
application/info="Made with Godot Engine"
application/icon=""
@@ -69,8 +92,9 @@ application/signature="godotmacgame"
application/short_version="1.0"
application/version="1.0"
application/copyright=""
application/bits_mode=0
display/high_res=false
privacy/camera_usage_description=""
privacy/microphone_usage_description=""
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false

+ 1
- 1
godot/main.gd View File

@@ -24,4 +24,4 @@ func load_data(vars):
# for j in range(0, 7):
# pass
print("Load Complete")
#next_scene_instance.is_loading =false
#next_scene_instance.is_loading =false

+ 6
- 1
godot/project.godot View File

@@ -6,7 +6,12 @@
; [section] ; section goes between []
; param=value ; assign values to parameters

config_version=3
config_version=4

_global_script_classes=[ ]
_global_script_class_icons={

}

[application]


Loading…
Cancel
Save