-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial strucutre for CardSelection scene.
Update to Godot 3.2.3
- Loading branch information
Showing
7 changed files
with
183 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
[gd_scene load_steps=3 format=2] | ||
|
||
[ext_resource path="res://GameScenes/Menu/CardSelection/pic.webp" type="Texture" id=1] | ||
[ext_resource path="res://GameScenes/Menu/CardSelection/Resources/PanelStyle.tres" type="StyleBox" id=2] | ||
|
||
[node name="Control" type="Control"] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="ColorRect" type="ColorRect" parent="."] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
color = Color( 0.0235294, 0.0235294, 0.0235294, 1 ) | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="pic" type="Sprite" parent="."] | ||
position = Vector2( 2176.61, 458.485 ) | ||
scale = Vector2( 3.55642, 3.55642 ) | ||
texture = ExtResource( 1 ) | ||
|
||
[node name="MarginContainer" type="MarginContainer" parent="."] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
custom_constants/margin_right = 70 | ||
custom_constants/margin_top = 25 | ||
custom_constants/margin_left = 70 | ||
custom_constants/margin_bottom = 25 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] | ||
margin_left = 70.0 | ||
margin_top = 25.0 | ||
margin_right = 1466.0 | ||
margin_bottom = 871.0 | ||
custom_constants/separation = 12 | ||
|
||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"] | ||
margin_right = 1396.0 | ||
margin_bottom = 100.0 | ||
custom_constants/separation = 12 | ||
|
||
[node name="Panel" type="Panel" parent="MarginContainer/VBoxContainer/HBoxContainer"] | ||
margin_right = 1100.0 | ||
margin_bottom = 100.0 | ||
rect_min_size = Vector2( 1100, 100 ) | ||
size_flags_horizontal = 3 | ||
custom_styles/panel = ExtResource( 2 ) | ||
|
||
[node name="Panel2" type="Panel" parent="MarginContainer/VBoxContainer/HBoxContainer"] | ||
margin_left = 1112.0 | ||
margin_right = 1396.0 | ||
margin_bottom = 100.0 | ||
rect_min_size = Vector2( 0, 100 ) | ||
size_flags_horizontal = 3 | ||
custom_styles/panel = ExtResource( 2 ) | ||
|
||
[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer"] | ||
margin_top = 112.0 | ||
margin_right = 1396.0 | ||
margin_bottom = 734.0 | ||
size_flags_vertical = 3 | ||
custom_constants/separation = 12 | ||
|
||
[node name="Control" type="Control" parent="MarginContainer/VBoxContainer/HBoxContainer2"] | ||
margin_right = 80.0 | ||
margin_bottom = 622.0 | ||
rect_min_size = Vector2( 80, 0 ) | ||
|
||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer2"] | ||
margin_left = 92.0 | ||
margin_right = 692.0 | ||
margin_bottom = 622.0 | ||
size_flags_horizontal = 3 | ||
size_flags_vertical = 3 | ||
|
||
[node name="Panel" type="Panel" parent="MarginContainer/VBoxContainer/HBoxContainer2/HBoxContainer"] | ||
margin_right = 600.0 | ||
margin_bottom = 622.0 | ||
size_flags_horizontal = 3 | ||
size_flags_vertical = 3 | ||
custom_styles/panel = ExtResource( 2 ) | ||
|
||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer2"] | ||
margin_left = 704.0 | ||
margin_right = 1304.0 | ||
margin_bottom = 622.0 | ||
size_flags_horizontal = 3 | ||
size_flags_vertical = 3 | ||
custom_constants/separation = 12 | ||
|
||
[node name="Panel" type="Panel" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"] | ||
margin_right = 600.0 | ||
margin_bottom = 305.0 | ||
size_flags_horizontal = 3 | ||
size_flags_vertical = 3 | ||
custom_styles/panel = ExtResource( 2 ) | ||
|
||
[node name="Panel2" type="Panel" parent="MarginContainer/VBoxContainer/HBoxContainer2/VBoxContainer"] | ||
margin_top = 317.0 | ||
margin_right = 600.0 | ||
margin_bottom = 622.0 | ||
size_flags_horizontal = 3 | ||
size_flags_vertical = 3 | ||
custom_styles/panel = ExtResource( 2 ) | ||
|
||
[node name="Control2" type="Control" parent="MarginContainer/VBoxContainer/HBoxContainer2"] | ||
margin_left = 1316.0 | ||
margin_right = 1396.0 | ||
margin_bottom = 622.0 | ||
rect_min_size = Vector2( 80, 0 ) | ||
|
||
[node name="HBoxContainer3" type="HBoxContainer" parent="MarginContainer/VBoxContainer"] | ||
margin_top = 746.0 | ||
margin_right = 1396.0 | ||
margin_bottom = 846.0 | ||
|
||
[node name="Panel" type="Panel" parent="MarginContainer/VBoxContainer/HBoxContainer3"] | ||
margin_right = 1396.0 | ||
margin_bottom = 100.0 | ||
rect_min_size = Vector2( 0, 100 ) | ||
size_flags_horizontal = 3 | ||
custom_styles/panel = ExtResource( 2 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[gd_resource type="StyleBoxFlat" format=2] | ||
|
||
[resource] | ||
bg_color = Color( 0.333333, 0.333333, 0.333333, 1 ) | ||
border_width_left = 8 | ||
border_width_top = 8 | ||
border_color = Color( 0.505882, 0.505882, 0.505882, 1 ) | ||
border_blend = true | ||
shadow_color = Color( 0.145098, 0.145098, 0.145098, 1 ) | ||
shadow_size = 6 | ||
shadow_offset = Vector2( 2, 2 ) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/pic.webp-62c1e02fe5054f6a0f6340c689abe91a.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://GameScenes/Menu/CardSelection/pic.webp" | ||
dest_files=[ "res://.import/pic.webp-62c1e02fe5054f6a0f6340c689abe91a.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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
[gd_scene load_steps=14 format=2] | ||
[gd_scene load_steps=7 format=2] | ||
|
||
[ext_resource path="res://Globals/Fonts/Cinzel-Regular.ttf" type="DynamicFontData" id=1] | ||
[ext_resource path="res://GameScenes/Menu/MainMenu/Scripts/SinglePlayerLabel2.gd" type="Script" id=2] | ||
[ext_resource path="res://GameObjects/MenuSelectionPointer/MenuSelectionPointer.tscn" type="PackedScene" id=3] | ||
[ext_resource path="res://Globals/Fonts/ChakraPetch-Italic.ttf" type="DynamicFontData" id=4] | ||
[ext_resource path="res://Globals/Fonts/ChakraPetch-Bold.ttf" type="DynamicFontData" id=5] | ||
[ext_resource path="res://Globals/Fonts/ChakraPetch-Regular.ttf" type="DynamicFontData" id=6] | ||
[ext_resource path="res://Globals/Textures/logo-crystalbit.png" type="Texture" id=7] | ||
|
||
[sub_resource type="DynamicFontData" id=1] | ||
font_path = "res://Globals/Fonts/Cinzel-Bold.ttf" | ||
|
@@ -19,21 +15,6 @@ font_data = SubResource( 1 ) | |
size = 64 | ||
font_data = ExtResource( 1 ) | ||
|
||
[sub_resource type="DynamicFont" id=4] | ||
size = 60 | ||
use_filter = true | ||
font_data = ExtResource( 4 ) | ||
|
||
[sub_resource type="DynamicFont" id=5] | ||
size = 60 | ||
use_filter = true | ||
font_data = ExtResource( 5 ) | ||
|
||
[sub_resource type="DynamicFont" id=6] | ||
size = 60 | ||
use_filter = true | ||
font_data = ExtResource( 6 ) | ||
|
||
[node name="MainMenu" type="Control"] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
|
@@ -63,6 +44,9 @@ margin_left = 200.0 | |
margin_top = 40.0 | ||
margin_right = -200.0 | ||
margin_bottom = -60.0 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="VBoxContainer" type="VBoxContainer" parent="UI/MarginContainer"] | ||
margin_right = 1136.0 | ||
|
@@ -130,65 +114,3 @@ custom_fonts/font = SubResource( 3 ) | |
text = "OOOOOH YOU FOUND THE SECRET MENU!" | ||
|
||
[node name="MenuSelectionPointer" parent="UI/MarginContainer/VBoxContainer/MenuEntries" instance=ExtResource( 3 )] | ||
|
||
[node name="MoreInfo" type="Control" parent="."] | ||
margin_left = 1543.0 | ||
margin_top = -7.0 | ||
margin_right = 2928.0 | ||
margin_bottom = 1491.0 | ||
__meta__ = { | ||
"_edit_lock_": true | ||
} | ||
|
||
[node name="README" type="RichTextLabel" parent="MoreInfo"] | ||
margin_right = 1729.0 | ||
margin_bottom = 2011.0 | ||
rect_scale = Vector2( 0.8, 0.8 ) | ||
custom_fonts/italics_font = SubResource( 4 ) | ||
custom_fonts/bold_font = SubResource( 5 ) | ||
custom_fonts/normal_font = SubResource( 6 ) | ||
bbcode_enabled = true | ||
bbcode_text = "Hi I'm [b]davcri[/b], | ||
I appreciate when people get in touch, it's a nice way to give support! | ||
Feel free to share your opinions, feedback and suggestions: | ||
- [b]Twitter[/b]: https://twitter.com/dav__cri | ||
- [b]Blog[/b]: https://davcri.github.io/ | ||
- [b]email[/b]: [email protected] | ||
- [b]Instagram[/b]: https://www.instagram.com/crystal_bit/ | ||
This game was developed as part of the [b]Crystal Bit[/b] project: | ||
- [b]Github[/b]: https://github.com/crystal-bit | ||
- [b]YouTube [ITA-only][/b]: https://www.youtube.com/c/CrystalBit | ||
If you want to support me in other ways, you can buy me a coffee (I'm a coffee lover): | ||
- [b]Paypal[/b]: paypal.me/davcr1 | ||
[i]My content will always be released under an open source license.[/i]" | ||
text = "Hi I'm davcri, | ||
I appreciate when people get in touch, it's a nice way to give support! | ||
Feel free to share your opinions, feedback and suggestions: | ||
- Twitter: https://twitter.com/dav__cri | ||
- Blog: https://davcri.github.io/ | ||
- email: [email protected] | ||
- Instagram: https://www.instagram.com/crystal_bit/ | ||
This game was developed as part of the Crystal Bit project: | ||
- Github: https://github.com/crystal-bit | ||
- YouTube [ITA-only]: https://www.youtube.com/c/CrystalBit | ||
If you want to support me in other ways, you can buy me a coffee (I'm a coffee lover): | ||
- Paypal: paypal.me/davcr1 | ||
My content will always be released under an open source license." | ||
scroll_active = false | ||
|
||
[node name="Logo" type="Sprite" parent="MoreInfo"] | ||
position = Vector2( 252, -274 ) | ||
scale = Vector2( 0.820409, 0.820409 ) | ||
texture = ExtResource( 7 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
extends Label | ||
|
||
func callback(): | ||
SceneManager.goto_scene("res://GameScenes/Menu/SinglePlayerMenu/SinglePlayerMenu.tscn") | ||
SceneManager.goto_scene("res://GameScenes/Menu/SinglePlayerMenu/SinglePlayerMenu.tscn") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters