Skip to content
Snippets Groups Projects
Commit c67a3c7b authored by SCHIEBER MORGANE's avatar SCHIEBER MORGANE :fries:
Browse files

#80 assets for the character selection page

parent d91ccf50
Branches
Tags
No related merge requests found
cmi2/assets/selectChar/jauge.png

551 B

[remap]
importer="texture"
type="StreamTexture"
path="res://.import/jauge.png-477ef0a718c7500ab2165f2860713745.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/selectChar/jauge.png"
dest_files=[ "res://.import/jauge.png-477ef0a718c7500ab2165f2860713745.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
cmi2/assets/selectChar/jaugefill.png

742 B

[remap]
importer="texture"
type="StreamTexture"
path="res://.import/jaugefill.png-33a5a2af0a62aa48138f0817703b8864.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/selectChar/jaugefill.png"
dest_files=[ "res://.import/jaugefill.png-33a5a2af0a62aa48138f0817703b8864.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
[gd_resource type="Theme" load_steps=3 format=2]
[ext_resource path="res://assets/fonts/montserrat/Montserrat-SemiBold.otf" type="DynamicFontData" id=1]
[sub_resource type="DynamicFont" id=1]
size = 14
extra_spacing_char = 1
font_data = ExtResource( 1 )
[resource]
default_font = SubResource( 1 )
...@@ -22,7 +22,6 @@ config/icon="res://img/icon.png" ...@@ -22,7 +22,6 @@ config/icon="res://img/icon.png"
[autoload] [autoload]
Globals="*res://Globals.gd" Globals="*res://Globals.gd"
SaveSettings="*res://SaveSettings.gd"
[rendering] [rendering]
......
...@@ -18,7 +18,7 @@ func _ready(): ...@@ -18,7 +18,7 @@ func _ready():
#blank_button.set_normal_texture(charPic) #blank_button.set_normal_texture(charPic)
#blank_button.set_expand(true) #blank_button.set_expand(true)
blank_button.set_custom_minimum_size(Vector2(x/ROW,x/ROW)) blank_button.set_custom_minimum_size(Vector2(x/ROW,x/ROW))
self.add_child(blank_button) #self.add_child(blank_button)
get_tree().get_root().connect("size_changed", self, "myfunc") get_tree().get_root().connect("size_changed", self, "myfunc")
func myfunc(): func myfunc():
......
[gd_scene load_steps=8 format=2] [gd_scene load_steps=8 format=2]
[ext_resource path="res://assets/Login/fond_test.jpg" type="Texture" id=1] [ext_resource path="res://scenes/login.gd" type="Script" id=1]
[ext_resource path="res://assets/Karla-Regular.ttf" type="DynamicFontData" id=2] [ext_resource path="res://assets/Karla-Regular.ttf" type="DynamicFontData" id=2]
[sub_resource type="DynamicFont" id=1] [sub_resource type="DynamicFont" id=1]
...@@ -26,12 +26,12 @@ font_data = ExtResource( 2 ) ...@@ -26,12 +26,12 @@ font_data = ExtResource( 2 )
[node name="Control" type="Control"] [node name="Control" type="Control"]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
script = ExtResource( 1 )
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
margin_bottom = 4.0 margin_bottom = 4.0
texture = ExtResource( 1 )
expand = true expand = true
stretch_mode = 7 stretch_mode = 7
...@@ -45,7 +45,7 @@ custom_constants/margin_top = 20 ...@@ -45,7 +45,7 @@ custom_constants/margin_top = 20
custom_constants/margin_left = 20 custom_constants/margin_left = 20
custom_constants/margin_bottom = 60 custom_constants/margin_bottom = 60
[node name="VBoxContainer" type="VBoxContainer" parent="TextureRect/MarginContainer"] [node name="pageLogin" type="VBoxContainer" parent="TextureRect/MarginContainer"]
margin_left = 20.0 margin_left = 20.0
margin_top = 20.0 margin_top = 20.0
margin_right = 1004.0 margin_right = 1004.0
...@@ -54,14 +54,14 @@ size_flags_horizontal = 3 ...@@ -54,14 +54,14 @@ size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
custom_constants/separation = 9 custom_constants/separation = 9
[node name="title" type="Label" parent="TextureRect/MarginContainer/VBoxContainer"] [node name="title" type="Label" parent="TextureRect/MarginContainer/pageLogin"]
margin_right = 984.0 margin_right = 984.0
margin_bottom = 59.0 margin_bottom = 59.0
custom_fonts/font = SubResource( 1 ) custom_fonts/font = SubResource( 1 )
text = "Musicarena" text = "Musicarena"
align = 1 align = 1
[node name="login" type="Label" parent="TextureRect/MarginContainer/VBoxContainer"] [node name="login" type="Label" parent="TextureRect/MarginContainer/pageLogin"]
margin_top = 68.0 margin_top = 68.0
margin_right = 984.0 margin_right = 984.0
margin_bottom = 127.0 margin_bottom = 127.0
...@@ -69,7 +69,7 @@ custom_fonts/font = SubResource( 1 ) ...@@ -69,7 +69,7 @@ custom_fonts/font = SubResource( 1 )
text = "Connexion" text = "Connexion"
align = 1 align = 1
[node name="TextureRect" type="TextureRect" parent="TextureRect/MarginContainer/VBoxContainer"] [node name="textureZone" type="TextureRect" parent="TextureRect/MarginContainer/pageLogin"]
margin_left = 242.0 margin_left = 242.0
margin_top = 136.0 margin_top = 136.0
margin_right = 742.0 margin_right = 742.0
...@@ -79,7 +79,7 @@ size_flags_vertical = 3 ...@@ -79,7 +79,7 @@ size_flags_vertical = 3
texture = SubResource( 3 ) texture = SubResource( 3 )
stretch_mode = 1 stretch_mode = 1
[node name="MarginContainer" type="MarginContainer" parent="TextureRect/MarginContainer/VBoxContainer/TextureRect"] [node name="loginZone" type="MarginContainer" parent="TextureRect/MarginContainer/pageLogin/textureZone"]
anchor_left = 0.5 anchor_left = 0.5
anchor_top = 0.5 anchor_top = 0.5
anchor_right = 0.5 anchor_right = 0.5
...@@ -95,40 +95,40 @@ custom_constants/margin_top = 30 ...@@ -95,40 +95,40 @@ custom_constants/margin_top = 30
custom_constants/margin_left = 50 custom_constants/margin_left = 50
custom_constants/margin_bottom = 30 custom_constants/margin_bottom = 30
[node name="VBoxContainer" type="VBoxContainer" parent="TextureRect/MarginContainer/VBoxContainer/TextureRect/MarginContainer"] [node name="VBoxContainer" type="VBoxContainer" parent="TextureRect/MarginContainer/pageLogin/textureZone/loginZone"]
margin_left = 50.0 margin_left = 50.0
margin_top = 30.0 margin_top = 30.0
margin_right = 450.0 margin_right = 450.0
margin_bottom = 358.0 margin_bottom = 358.0
custom_constants/separation = 17 custom_constants/separation = 17
[node name="username" type="Label" parent="TextureRect/MarginContainer/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"] [node name="username" type="Label" parent="TextureRect/MarginContainer/pageLogin/textureZone/loginZone/VBoxContainer"]
margin_right = 400.0 margin_right = 400.0
margin_bottom = 25.0 margin_bottom = 25.0
custom_fonts/font = SubResource( 4 ) custom_fonts/font = SubResource( 4 )
text = "Nom d'utilisateur" text = "Nom d'utilisateur"
[node name="name" type="LineEdit" parent="TextureRect/MarginContainer/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"] [node name="usernameArea" type="LineEdit" parent="TextureRect/MarginContainer/pageLogin/textureZone/loginZone/VBoxContainer"]
margin_top = 42.0 margin_top = 42.0
margin_right = 400.0 margin_right = 400.0
margin_bottom = 66.0 margin_bottom = 66.0
placeholder_text = "Ecrire pseudo ici ..." placeholder_text = "Ecrire pseudo ici ..."
[node name="password" type="Label" parent="TextureRect/MarginContainer/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"] [node name="password" type="Label" parent="TextureRect/MarginContainer/pageLogin/textureZone/loginZone/VBoxContainer"]
margin_top = 83.0 margin_top = 83.0
margin_right = 400.0 margin_right = 400.0
margin_bottom = 108.0 margin_bottom = 108.0
custom_fonts/font = SubResource( 4 ) custom_fonts/font = SubResource( 4 )
text = "Mot de passe" text = "Mot de passe"
[node name="name2" type="LineEdit" parent="TextureRect/MarginContainer/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"] [node name="passwordArea" type="LineEdit" parent="TextureRect/MarginContainer/pageLogin/textureZone/loginZone/VBoxContainer"]
margin_top = 125.0 margin_top = 125.0
margin_right = 400.0 margin_right = 400.0
margin_bottom = 149.0 margin_bottom = 149.0
secret = true secret = true
placeholder_text = "Ecrire mot de passe ici ..." placeholder_text = "Ecrire mot de passe ici ..."
[node name="Button" type="Button" parent="TextureRect/MarginContainer/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"] [node name="loginButton" type="Button" parent="TextureRect/MarginContainer/pageLogin/textureZone/loginZone/VBoxContainer"]
margin_left = 141.0 margin_left = 141.0
margin_top = 166.0 margin_top = 166.0
margin_right = 258.0 margin_right = 258.0
...@@ -137,14 +137,14 @@ size_flags_horizontal = 4 ...@@ -137,14 +137,14 @@ size_flags_horizontal = 4
custom_fonts/font = SubResource( 5 ) custom_fonts/font = SubResource( 5 )
text = "Connexion" text = "Connexion"
[node name="passwordforgot" type="Label" parent="TextureRect/MarginContainer/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"] [node name="passwordforgot" type="Label" parent="TextureRect/MarginContainer/pageLogin/textureZone/loginZone/VBoxContainer"]
margin_top = 216.0 margin_top = 216.0
margin_right = 400.0 margin_right = 400.0
margin_bottom = 241.0 margin_bottom = 241.0
custom_fonts/font = SubResource( 4 ) custom_fonts/font = SubResource( 4 )
text = "Mot de passe oublié ?" text = "Mot de passe oublié ?"
[node name="suscribe" type="Label" parent="TextureRect/MarginContainer/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"] [node name="suscribe" type="Label" parent="TextureRect/MarginContainer/pageLogin/textureZone/loginZone/VBoxContainer"]
margin_top = 258.0 margin_top = 258.0
margin_right = 400.0 margin_right = 400.0
margin_bottom = 283.0 margin_bottom = 283.0
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment