Compare commits

..

3 commits

Author SHA1 Message Date
Stanislas Dolcini
5c97123de2 Fix caps 2018-10-13 10:21:26 +02:00
Stanislas Dolcini
49ac78c4dd Another broken attemp 2018-10-13 10:20:21 +02:00
Stanislas Dolcini
b2353c109e Preliminary support for registering. 2018-10-12 22:20:24 +02:00
41 changed files with 875 additions and 374 deletions

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/icon.png-c47ceb75fff2a2778c3061d0eaa91f57.stex" path="res://.import/icon.png-c47ceb75fff2a2778c3061d0eaa91f57.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/icon.png-c47ceb75fff2a2778c3061d0eaa91f57.stex" ]
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -26,7 +26,7 @@ var is_resizing = false
var is_moving = false var is_moving = false
var size_changed = true var size_changed = true
func add_child_to_content( node): func add_child( node):
if self.get_content(): if self.get_content():
self.get_content().add_child(node) self.get_content().add_child(node)
# else: # else:
@ -34,7 +34,7 @@ func add_child_to_content( node):
# prints(self.get_name()+" just fathered", node.get_name()) # prints(self.get_name()+" just fathered", node.get_name())
func add_window_part( node ): func add_window_part( node ):
add_child( node ) .add_child( node )
func set_mouse_pass_to_children( node ): func set_mouse_pass_to_children( node ):
for child in node.get_children(): for child in node.get_children():

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/bg1.jpg-62fc1eb5b586a7795f2321ddfcc3ee99.stex" path="res://.import/bg1.jpg-62fc1eb5b586a7795f2321ddfcc3ee99.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/bg1.jpg-62fc1eb5b586a7795f2321ddfcc3ee99.stex" ]
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/bg2.jpg-b2f660962e3a46240446aab06983a831.stex" path="res://.import/bg2.jpg-b2f660962e3a46240446aab06983a831.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/bg2.jpg-b2f660962e3a46240446aab06983a831.stex" ]
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=1 flags/repeat=1
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/bg_borderless.jpg-75510b5d2cfca15ea563ab7966a68e8b.stex" path="res://.import/bg_borderless.jpg-75510b5d2cfca15ea563ab7966a68e8b.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/bg_borderless.jpg-75510b5d2cfca15ea563ab7966a68e8b.s
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/button_close.png-4797019383a691096b159f84a648832c.stex" path="res://.import/button_close.png-4797019383a691096b159f84a648832c.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/button_close.png-4797019383a691096b159f84a648832c.st
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/button_move.png-532099318a86b2038b998ddd2875496c.stex" path="res://.import/button_move.png-532099318a86b2038b998ddd2875496c.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/button_move.png-532099318a86b2038b998ddd2875496c.ste
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/button_open.png-7824b6d39aff1d96e19cd2753aed9fe2.stex" path="res://.import/button_open.png-7824b6d39aff1d96e19cd2753aed9fe2.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/button_open.png-7824b6d39aff1d96e19cd2753aed9fe2.ste
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/button_quit.png-2b2d83ab2cd0b5d3427aa32b18ba522f.stex" path="res://.import/button_quit.png-2b2d83ab2cd0b5d3427aa32b18ba522f.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/button_quit.png-2b2d83ab2cd0b5d3427aa32b18ba522f.ste
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/button_resize.png-49f3fee4aa800f70768831898aa4a0cc.stex" path="res://.import/button_resize.png-49f3fee4aa800f70768831898aa4a0cc.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/button_resize.png-49f3fee4aa800f70768831898aa4a0cc.s
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/khaganat_logo_color.png-cb69122f106105fab2e4f1370bd3e815.stex" path="res://.import/khaganat_logo_color.png-cb69122f106105fab2e4f1370bd3e815.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/khaganat_logo_color.png-cb69122f106105fab2e4f1370bd3
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/khanat_logo_color.png-4c42c8a2a774982fdc40e61c8da9c7f4.stex" path="res://.import/khanat_logo_color.png-4c42c8a2a774982fdc40e61c8da9c7f4.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/khanat_logo_color.png-4c42c8a2a774982fdc40e61c8da9c7
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/new_launcher_bg_0-1.png-f9bd5fccfcac7eb71c7c57a058e15962.stex" path="res://.import/new_launcher_bg_0-1.png-f9bd5fccfcac7eb71c7c57a058e15962.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/new_launcher_bg_0-1.png-f9bd5fccfcac7eb71c7c57a058e1
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/Bricks08_AO.jpg-0bed8a73ed5d0f366925026e08e78633.s3tc.stex" path.s3tc="res://.import/Bricks08_AO.jpg-0bed8a73ed5d0f366925026e08e78633.s3tc.stex"
path.etc2="res://.import/Bricks08_AO.jpg-0bed8a73ed5d0f366925026e08e78633.etc2.stex" path.etc2="res://.import/Bricks08_AO.jpg-0bed8a73ed5d0f366925026e08e78633.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/Bricks08_AO.jpg-0bed8a73ed5d0f366925026e08e78633.s3t
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/Bricks08_col.jpg-847f39e29b686be46f9011c3a797d966.s3tc.stex" path.s3tc="res://.import/Bricks08_col.jpg-847f39e29b686be46f9011c3a797d966.s3tc.stex"
path.etc2="res://.import/Bricks08_col.jpg-847f39e29b686be46f9011c3a797d966.etc2.stex" path.etc2="res://.import/Bricks08_col.jpg-847f39e29b686be46f9011c3a797d966.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/Bricks08_col.jpg-847f39e29b686be46f9011c3a797d966.s3
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/Bricks08_disp.jpg-5c54c4121b3d3f71a7938ba4e3fc6578.s3tc.stex" path.s3tc="res://.import/Bricks08_disp.jpg-5c54c4121b3d3f71a7938ba4e3fc6578.s3tc.stex"
path.etc2="res://.import/Bricks08_disp.jpg-5c54c4121b3d3f71a7938ba4e3fc6578.etc2.stex" path.etc2="res://.import/Bricks08_disp.jpg-5c54c4121b3d3f71a7938ba4e3fc6578.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/Bricks08_disp.jpg-5c54c4121b3d3f71a7938ba4e3fc6578.s
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/Bricks08_nrm.jpg-424b57dd4f1f085663f4f3535e5e12f9.s3tc.stex" path.s3tc="res://.import/Bricks08_nrm.jpg-424b57dd4f1f085663f4f3535e5e12f9.s3tc.stex"
path.etc2="res://.import/Bricks08_nrm.jpg-424b57dd4f1f085663f4f3535e5e12f9.etc2.stex" path.etc2="res://.import/Bricks08_nrm.jpg-424b57dd4f1f085663f4f3535e5e12f9.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/Bricks08_nrm.jpg-424b57dd4f1f085663f4f3535e5e12f9.s3
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=1 compress/normal_map=1
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/Bricks08_rgh.jpg-d6c5268d812afc667625d535694afb2b.s3tc.stex" path.s3tc="res://.import/Bricks08_rgh.jpg-d6c5268d812afc667625d535694afb2b.s3tc.stex"
path.etc2="res://.import/Bricks08_rgh.jpg-d6c5268d812afc667625d535694afb2b.etc2.stex" path.etc2="res://.import/Bricks08_rgh.jpg-d6c5268d812afc667625d535694afb2b.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/Bricks08_rgh.jpg-d6c5268d812afc667625d535694afb2b.s3
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/fire_01.png-c426a86dc95546cf2110e49fcd0c6788.s3tc.stex" path.s3tc="res://.import/fire_01.png-c426a86dc95546cf2110e49fcd0c6788.s3tc.stex"
path.etc2="res://.import/fire_01.png-c426a86dc95546cf2110e49fcd0c6788.etc2.stex" path.etc2="res://.import/fire_01.png-c426a86dc95546cf2110e49fcd0c6788.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/fire_01.png-c426a86dc95546cf2110e49fcd0c6788.s3tc.st
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/fire_02.png-d974419fc659891b249eff155e185b02.s3tc.stex" path.s3tc="res://.import/fire_02.png-d974419fc659891b249eff155e185b02.s3tc.stex"
path.etc2="res://.import/fire_02.png-d974419fc659891b249eff155e185b02.etc2.stex" path.etc2="res://.import/fire_02.png-d974419fc659891b249eff155e185b02.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/fire_02.png-d974419fc659891b249eff155e185b02.s3tc.st
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/fire_03.png-6705134dcfcba0bc38d18847de098b0c.s3tc.stex" path.s3tc="res://.import/fire_03.png-6705134dcfcba0bc38d18847de098b0c.s3tc.stex"
path.etc2="res://.import/fire_03.png-6705134dcfcba0bc38d18847de098b0c.etc2.stex" path.etc2="res://.import/fire_03.png-6705134dcfcba0bc38d18847de098b0c.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/fire_03.png-6705134dcfcba0bc38d18847de098b0c.s3tc.st
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/smoke_1.png-335329d1679284b3ecb06c4f0dae901b.s3tc.stex" path.s3tc="res://.import/smoke_1.png-335329d1679284b3ecb06c4f0dae901b.s3tc.stex"
path.etc2="res://.import/smoke_1.png-335329d1679284b3ecb06c4f0dae901b.etc2.stex" path.etc2="res://.import/smoke_1.png-335329d1679284b3ecb06c4f0dae901b.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/smoke_1.png-335329d1679284b3ecb06c4f0dae901b.s3tc.st
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/smoke_2.png-4d94d91d73c5ca11557abd1a82ed218d.s3tc.stex" path.s3tc="res://.import/smoke_2.png-4d94d91d73c5ca11557abd1a82ed218d.s3tc.stex"
path.etc2="res://.import/smoke_2.png-4d94d91d73c5ca11557abd1a82ed218d.etc2.stex" path.etc2="res://.import/smoke_2.png-4d94d91d73c5ca11557abd1a82ed218d.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/smoke_2.png-4d94d91d73c5ca11557abd1a82ed218d.s3tc.st
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/smoke_3.png-799aa548fe979a021a448762731021ac.s3tc.stex" path.s3tc="res://.import/smoke_3.png-799aa548fe979a021a448762731021ac.s3tc.stex"
path.etc2="res://.import/smoke_3.png-799aa548fe979a021a448762731021ac.etc2.stex" path.etc2="res://.import/smoke_3.png-799aa548fe979a021a448762731021ac.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/smoke_3.png-799aa548fe979a021a448762731021ac.s3tc.st
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/smoke_4.png-b1e52e010af857e5f1da4df9215e72a3.s3tc.stex" path.s3tc="res://.import/smoke_4.png-b1e52e010af857e5f1da4df9215e72a3.s3tc.stex"
path.etc2="res://.import/smoke_4.png-b1e52e010af857e5f1da4df9215e72a3.etc2.stex" path.etc2="res://.import/smoke_4.png-b1e52e010af857e5f1da4df9215e72a3.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/smoke_4.png-b1e52e010af857e5f1da4df9215e72a3.s3tc.st
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture" type="StreamTexture"
path.s3tc="res://.import/smoke_5.png-1ecd5a748e33a80b75ceb2a06367ce61.s3tc.stex" path.s3tc="res://.import/smoke_5.png-1ecd5a748e33a80b75ceb2a06367ce61.s3tc.stex"
path.etc2="res://.import/smoke_5.png-1ecd5a748e33a80b75ceb2a06367ce61.etc2.stex" path.etc2="res://.import/smoke_5.png-1ecd5a748e33a80b75ceb2a06367ce61.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps] [deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/smoke_5.png-1ecd5a748e33a80b75ceb2a06367ce61.s3tc.st
compress/mode=2 compress/mode=2
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=true flags/repeat=true
flags/filter=true flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=false detect_3d=false

View file

@ -0,0 +1,14 @@
class nel_register_form:
var _username;
var _password;
var _email;
var _terms_accepted;
func _init(username, password, email, terms_accepted):
self._username = username;
self._password = password;
self._email = email;
self._terms_accepted = terms_accepted;
func get_form_data():
return "Username:" + self._username + "\n" + "Password:" + self._password + "\n" + "ConfirmPass:" + self._password + "\n" + "Email:" + self._email+ "\n" + "TaC:" + ('1' if self._terms_accepted else '0');

View file

@ -3,7 +3,7 @@ class nel_server_info:
var _shardIp; var _shardIp;
var _ringStartAdress; var _ringStartAdress;
var _ringAddress; var _ringAddress;
var _patchVersion var _patchVersion;
var _backupPatchUrls; var _backupPatchUrls;
var _patchUrls; var _patchUrls;

View file

@ -1,20 +1,102 @@
[gd_resource type="Environment" load_steps=2 format=2] [gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=1] [sub_resource type="ProceduralSky" id=1]
radiance_size = 4
sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 ) sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 )
sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 ) sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 )
sky_curve = 0.25 sky_curve = 0.25
sky_energy = 1.0
ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 ) ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 )
ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 ) ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 )
ground_curve = 0.01 ground_curve = 0.01
ground_energy = 1.0
sun_color = Color( 1, 1, 1, 1 )
sun_latitude = 35.0
sun_longitude = 0.0
sun_angle_min = 1.0
sun_angle_max = 100.0
sun_curve = 0.05
sun_energy = 16.0 sun_energy = 16.0
texture_size = 2
[resource] [resource]
background_mode = 2 background_mode = 2
background_sky = SubResource( 1 ) background_sky = SubResource( 1 )
background_sky_custom_fov = 0.0
background_color = Color( 0, 0, 0, 1 )
background_energy = 1.0
background_canvas_max_layer = 0
ambient_light_color = Color( 0, 0, 0, 1 )
ambient_light_energy = 1.0
ambient_light_sky_contribution = 1.0
fog_enabled = false
fog_color = Color( 0.5, 0.6, 0.7, 1 )
fog_sun_color = Color( 1, 0.9, 0.7, 1 )
fog_sun_amount = 0.0
fog_depth_enabled = false fog_depth_enabled = false
fog_depth_begin = 10.0
fog_depth_curve = 1.0
fog_transmit_enabled = false
fog_transmit_curve = 1.0
fog_height_enabled = false
fog_height_min = 0.0
fog_height_max = 100.0
fog_height_curve = 1.0
tonemap_mode = 2 tonemap_mode = 2
tonemap_exposure = 1.0
tonemap_white = 1.0
auto_exposure_enabled = false
auto_exposure_scale = 0.4
auto_exposure_min_luma = 0.05
auto_exposure_max_luma = 8.0
auto_exposure_speed = 0.5
ss_reflections_enabled = true ss_reflections_enabled = true
ss_reflections_max_steps = 64
ss_reflections_fade_in = 0.15
ss_reflections_fade_out = 2.0
ss_reflections_depth_tolerance = 0.2
ss_reflections_roughness = true
ssao_enabled = true ssao_enabled = true
ssao_radius = 1.0
ssao_intensity = 1.0
ssao_radius2 = 0.0
ssao_intensity2 = 1.0
ssao_bias = 0.01
ssao_light_affect = 0.0
ssao_color = Color( 0, 0, 0, 1 )
ssao_quality = 1 ssao_quality = 1
ssao_blur = 3
ssao_edge_sharpness = 4.0
dof_blur_far_enabled = false
dof_blur_far_distance = 10.0
dof_blur_far_transition = 5.0
dof_blur_far_amount = 0.1
dof_blur_far_quality = 1
dof_blur_near_enabled = false
dof_blur_near_distance = 2.0
dof_blur_near_transition = 1.0
dof_blur_near_amount = 0.1
dof_blur_near_quality = 1
glow_enabled = false
glow_levels/1 = false
glow_levels/2 = false
glow_levels/3 = true
glow_levels/4 = false
glow_levels/5 = true
glow_levels/6 = false
glow_levels/7 = false
glow_intensity = 0.8
glow_strength = 1.0
glow_bloom = 0.2 glow_bloom = 0.2
glow_blend_mode = 2
glow_hdr_threshold = 1.0
glow_hdr_scale = 2.0
glow_bicubic_upscale = false
adjustment_enabled = false
adjustment_brightness = 1.0
adjustment_contrast = 1.0
adjustment_saturation = 1.0
_sections_unfolded = [ "Adjustments", "Ambient Light", "Auto Exposure", "Background", "DOF Far Blur", "DOF Near Blur", "Fog", "Glow", "SS Reflections", "SSAO", "Tonemap" ]

View file

@ -123,7 +123,7 @@ func _process( time ):
update_progress() update_progress()
pass pass
else: # error during loading else: # error during loading
.show_error() show_error()
loader = null loader = null
break break
######## ########

View file

@ -5,13 +5,24 @@
[ext_resource path="res://gui_scene/GUI/GUI.tscn" type="PackedScene" id=3] [ext_resource path="res://gui_scene/GUI/GUI.tscn" type="PackedScene" id=3]
[node name="global" type="Node"] [node name="global" type="Node"]
pause_mode = 2 pause_mode = 2
script = ExtResource( 1 ) script = ExtResource( 1 )
_sections_unfolded = [ "Pause" ]
[node name="background_loader" parent="." instance=ExtResource( 2 )] [node name="background_loader" parent="." index="0" instance=ExtResource( 2 )]
[node name="GUI" parent="." index="1" instance=ExtResource( 3 )]
[node name="GUI" parent="." instance=ExtResource( 3 )]
visible = false visible = false
[node name="audio_stream_player" type="AudioStreamPlayer" parent="."] [node name="audio_stream_player" type="AudioStreamPlayer" parent="." index="2"]
stream = null
volume_db = 0.0
pitch_scale = 1.0
autoplay = false
mix_target = 0
bus = "Master"

View file

@ -8,50 +8,77 @@
[ext_resource path="res://gui_scene/GUI/Help/Help.tscn" type="PackedScene" id=6] [ext_resource path="res://gui_scene/GUI/Help/Help.tscn" type="PackedScene" id=6]
[sub_resource type="DynamicFont" id=1] [sub_resource type="DynamicFont" id=1]
size = 14 size = 14
use_mipmaps = false
use_filter = false
font_data = ExtResource( 3 ) font_data = ExtResource( 3 )
_sections_unfolded = [ "Font", "Settings" ]
[sub_resource type="Theme" id=2] [sub_resource type="Theme" id=2]
default_font = SubResource( 1 ) default_font = SubResource( 1 )
[node name="GUI" type="MarginContainer"] [node name="GUI" type="MarginContainer"]
pause_mode = 2 pause_mode = 2
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1 mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
custom_constants/margin_right = 0 custom_constants/margin_right = 0
custom_constants/margin_top = 0 custom_constants/margin_top = 0
custom_constants/margin_left = 0 custom_constants/margin_left = 0
custom_constants/margin_bottom = 0 custom_constants/margin_bottom = 0
script = ExtResource( 1 ) script = ExtResource( 1 )
_sections_unfolded = [ "Margin", "Mouse", "Pause", "Size Flags", "Theme", "custom_constants" ]
[node name="HUD" parent="." index="0" instance=ExtResource( 2 )]
[node name="HUD" parent="." instance=ExtResource( 2 )]
anchor_right = 0.0 anchor_right = 0.0
anchor_bottom = 0.0 anchor_bottom = 0.0
margin_right = 1280.0 margin_right = 1024.0
margin_bottom = 720.0 margin_bottom = 600.0
theme = SubResource( 2 ) theme = SubResource( 2 )
[node name="Home" parent="." instance=ExtResource( 4 )] [node name="Home" parent="." index="1" instance=ExtResource( 4 )]
visible = false visible = false
anchor_right = 0.0 anchor_right = 0.0
anchor_bottom = 0.0 anchor_bottom = 0.0
margin_right = 1280.0 margin_right = 1024.0
margin_bottom = 720.0 margin_bottom = 600.0
_sections_unfolded = [ "Mouse", "Size Flags", "Visibility", "custom_constants" ]
[node name="Settings" parent="." index="2" instance=ExtResource( 5 )]
[node name="Settings" parent="." instance=ExtResource( 5 )]
visible = false visible = false
anchor_right = 0.0 anchor_right = 0.0
anchor_bottom = 0.0 anchor_bottom = 0.0
margin_right = 1280.0 margin_right = 1024.0
margin_bottom = 720.0 margin_bottom = 600.0
_sections_unfolded = [ "Mouse", "Size Flags", "Theme", "custom_constants" ]
[node name="Help" parent="." index="3" instance=ExtResource( 6 )]
[node name="Help" parent="." instance=ExtResource( 6 )]
margin_right = 256.0 margin_right = 256.0
margin_bottom = 256.0 margin_bottom = 256.0
_sections_unfolded = [ "Margin", "Mouse", "Size Flags", "custom_constants" ]
[connection signal="logout_pressed" from="Home" to="." method="_on_Home_logout_pressed"] [connection signal="logout_pressed" from="Home" to="." method="_on_Home_logout_pressed"]
[connection signal="play_pressed" from="Home" to="." method="_on_Home_play_pressed"] [connection signal="play_pressed" from="Home" to="." method="_on_Home_play_pressed"]
[connection signal="setting_pressed" from="Home" to="." method="_on_Home_setting_pressed"] [connection signal="setting_pressed" from="Home" to="." method="_on_Home_setting_pressed"]
[connection signal="font_changed" from="Settings" to="." method="_on_Settings_font_changed"] [connection signal="font_changed" from="Settings" to="." method="_on_Settings_font_changed"]
[connection signal="return_pressed" from="Settings" to="." method="_on_Settings_return_pressed"] [connection signal="return_pressed" from="Settings" to="." method="_on_Settings_return_pressed"]

View file

@ -1,70 +1,201 @@
[gd_scene load_steps=5 format=2] [gd_scene load_steps=5 format=2]
[ext_resource path="res://gui_scene/GUI/MusicControls/Music.gd" type="Script" id=1] [ext_resource path="res://gui_scene/GUI/MusicControls/Music.gd" type="Script" id=1]
[ext_resource path="res://assets/musics/pre-mix_khanat_main_theme_2018-07-23.ogg" type="AudioStream" id=2] [ext_resource path="res://assets/test/musiques/pre-mix_khanat_main_theme_2018-07-23.ogg" type="AudioStream" id=2]
[ext_resource path="res://assets/musics/Sangakanat (short instrumental theme).ogg" type="AudioStream" id=3] [ext_resource path="res://assets/test/musiques/Sangakanat (short instrumental theme).ogg" type="AudioStream" id=3]
[ext_resource path="res://assets/musics/pre-mix_Le_concours_de_tartes_aux_klums.ogg" type="AudioStream" id=4] [ext_resource path="res://assets/test/musiques/pre-mix_Le_concours_de_tartes_aux_klums.ogg" type="AudioStream" id=4]
[node name="Music" type="VBoxContainer"] [node name="Music" type="VBoxContainer"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 256.0 margin_right = 256.0
margin_bottom = 86.0 margin_bottom = 86.0
script = ExtResource( 1 ) rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
[node name="Songs" type="Container" parent="."]
margin_right = 256.0
mouse_filter = 1 mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0
script = ExtResource( 1 )
_sections_unfolded = [ "Mouse", "Rect", "Size Flags" ]
[node name="Songs" type="Container" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 256.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
_sections_unfolded = [ "Mouse" ]
[node name="pre-mix_khanat_main_theme" type="AudioStreamPlayer" parent="Songs" index="0"]
[node name="pre-mix_khanat_main_theme" type="AudioStreamPlayer" parent="Songs"]
pause_mode = 1 pause_mode = 1
stream = ExtResource( 2 ) stream = ExtResource( 2 )
volume_db = 0.0
pitch_scale = 1.0
autoplay = false
mix_target = 0
bus = "Master"
_sections_unfolded = [ "Pause" ]
[node name="Sangakanat" type="AudioStreamPlayer" parent="Songs" index="1"]
[node name="Sangakanat" type="AudioStreamPlayer" parent="Songs"]
pause_mode = 1 pause_mode = 1
stream = ExtResource( 3 ) stream = ExtResource( 3 )
volume_db = 0.0
pitch_scale = 1.0
autoplay = false
mix_target = 0
bus = "Master"
_sections_unfolded = [ "Pause" ]
[node name="pre-mix_Le_concours_de_tartes_aux_klums" type="AudioStreamPlayer" parent="Songs" index="2"]
[node name="pre-mix_Le_concours_de_tartes_aux_klums" type="AudioStreamPlayer" parent="Songs"]
stream = ExtResource( 4 ) stream = ExtResource( 4 )
volume_db = 0.0
pitch_scale = 1.0
autoplay = false
mix_target = 0
bus = "Master"
[node name="Title" type="Label" parent="."] [node name="Title" type="Label" parent="." index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 4.0 margin_top = 4.0
margin_right = 256.0 margin_right = 256.0
margin_bottom = 18.0 margin_bottom = 18.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "Musique:" text = "Musique:"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="SongsSelector" type="OptionButton" parent="."] [node name="SongsSelector" type="OptionButton" parent="." index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 22.0 margin_top = 22.0
margin_right = 256.0 margin_right = 256.0
margin_bottom = 42.0 margin_bottom = 42.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 1
toggle_mode = false
action_mode = 0
enabled_focus_mode = 2
shortcut = null
group = null
flat = false
align = 0
items = [ ]
selected = -1
_sections_unfolded = [ "Grow Direction", "Margin", "Mouse", "Rect", "Size Flags" ]
[node name="Buttons" type="HBoxContainer" parent="."] [node name="Buttons" type="HBoxContainer" parent="." index="3"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 46.0 margin_top = 46.0
margin_right = 256.0 margin_right = 256.0
margin_bottom = 66.0 margin_bottom = 66.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
_sections_unfolded = [ "Mouse", "Rect" ]
[node name="Pause" type="Button" parent="Buttons"] [node name="Pause" type="Button" parent="Buttons" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 126.0 margin_right = 126.0
margin_bottom = 20.0 margin_bottom = 20.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 1
custom_colors/font_color_disabled = Color( 0.496055, 0.413039, 0.660156, 1 ) custom_colors/font_color_disabled = Color( 0.496055, 0.413039, 0.660156, 1 )
custom_colors/font_color = Color( 0.494118, 0.411765, 0.658824, 1 ) custom_colors/font_color = Color( 0.494118, 0.411765, 0.658824, 1 )
custom_colors/font_color_hover = Color( 0.863051, 0.203209, 1, 1 ) custom_colors/font_color_hover = Color( 0.863051, 0.203209, 1, 1 )
custom_colors/font_color_pressed = Color( 0.673295, 0.508021, 1, 1 ) custom_colors/font_color_pressed = Color( 0.673295, 0.508021, 1, 1 )
toggle_mode = true toggle_mode = true
enabled_focus_mode = 2
shortcut = null
group = null
text = "Play" text = "Play"
flat = false
align = 1
_sections_unfolded = [ "Size Flags", "custom_colors", "custom_constants", "custom_fonts", "custom_styles" ]
[node name="Stop" type="Button" parent="Buttons"] [node name="Stop" type="Button" parent="Buttons" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 130.0 margin_left = 130.0
margin_right = 256.0 margin_right = 256.0
margin_bottom = 20.0 margin_bottom = 20.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 1
custom_colors/font_color_disabled = Color( 0.496055, 0.413039, 0.660156, 1 ) custom_colors/font_color_disabled = Color( 0.496055, 0.413039, 0.660156, 1 )
custom_colors/font_color = Color( 0.494118, 0.411765, 0.658824, 1 ) custom_colors/font_color = Color( 0.494118, 0.411765, 0.658824, 1 )
custom_colors/font_color_hover = Color( 0.863051, 0.203209, 1, 1 ) custom_colors/font_color_hover = Color( 0.863051, 0.203209, 1, 1 )
custom_colors/font_color_pressed = Color( 0.673295, 0.508021, 1, 1 ) custom_colors/font_color_pressed = Color( 0.673295, 0.508021, 1, 1 )
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
text = "Stop" text = "Stop"
flat = false
align = 1
_sections_unfolded = [ "Size Flags", "custom_colors", "custom_constants", "custom_fonts", "custom_styles" ]
[connection signal="item_selected" from="SongsSelector" to="." method="_on_SongsSelector_item_selected"] [connection signal="item_selected" from="SongsSelector" to="." method="_on_SongsSelector_item_selected"]
[connection signal="toggled" from="Buttons/Pause" to="." method="_on_Pause_toggled"] [connection signal="toggled" from="Buttons/Pause" to="." method="_on_Pause_toggled"]
[connection signal="pressed" from="Buttons/Stop" to="." method="_on_Stop_pressed"] [connection signal="pressed" from="Buttons/Stop" to="." method="_on_Stop_pressed"]

View file

@ -13,27 +13,21 @@ func _on_play_button_pressed():
if username != null and username != "" and password != null and password != "": if username != null and username != "" and password != null and password != "":
do_request(username, password) do_request(username, password)
func _on_play_without_connexion_pressed():
emit_signal( "login_button_pressed" )
func do_request(username, password): func do_request(username, password):
var message = load("res://assets/Scripts/Models/nel_login_message.gd") var message = load("res://assets/Scripts/Models/nel_login_message.gd").nel_login_message.new("https-login", username, password, "Lirria", "2", "en");
if message:
message = message.nel_login_message.new("https-login", username, password, "Lirria", "2", "en");
# $HTTPRequest.request("http://lirria.khaganat.net/login/r2_login.php?" + message.get_request_string()); # $HTTPRequest.request("http://lirria.khaganat.net/login/r2_login.php?" + message.get_request_string());
$HTTPRequest.request("http://149.91.80.160/login/r2_login.php?" + message.get_request_string()); $HTTPRequest.request("http://149.91.80.160/login/r2_login.php?" + message.get_request_string());
func _on_HTTPRequest_request_completed(result, response_code, headers, body): func _on_HTTPRequest_request_completed(result, response_code, headers, body):
if response_code != 200 || ProjectSettings.get_setting("kaghanat/debug_mode"):
emit_signal( "login_button_pressed" )
else:
var s = body.get_string_from_utf8().split(":") var s = body.get_string_from_utf8().split(":")
if(s[0] != "0"): if(s[0] != "0"):
var server_info_script = load("res://assets/Scripts/Models/nel_server_info.gd"); var server_info_script = load("res://assets/Scripts/Models/nel_server_info.gd");
var server_info = server_info_script.nel_server_info.new(body.get_string_from_utf8()); var server_info = server_info_script.nel_server_info.new(body.get_string_from_utf8());
emit_signal( "login_button_pressed" ) emit_signal( "login_button_pressed" )
# No error so login was successful. # No error so login was successful.
func _make_post_request(url, data_to_send, use_ssl): func _make_post_request(url, data_to_send, use_ssl):
# Convert data to json string: # Convert data to json string:
var query = JSON.print(data_to_send) var query = JSON.print(data_to_send)
@ -43,5 +37,3 @@ func _make_post_request(url, data_to_send, use_ssl):
func _on_register_button_pressed(): func _on_register_button_pressed():
emit_signal( "register_button_pressed" ) emit_signal( "register_button_pressed" )

View file

@ -7,185 +7,517 @@
[sub_resource type="CanvasItemMaterial" id=1] [sub_resource type="CanvasItemMaterial" id=1]
render_priority = 0
blend_mode = 0
light_mode = 0
[sub_resource type="DynamicFont" id=2] [sub_resource type="DynamicFont" id=2]
size = 10 size = 10
use_mipmaps = false
use_filter = false
font_data = ExtResource( 4 ) font_data = ExtResource( 4 )
_sections_unfolded = [ "Font", "Settings" ]
[sub_resource type="DynamicFont" id=3] [sub_resource type="DynamicFont" id=3]
size = 20 size = 20
use_mipmaps = false
use_filter = false
font_data = ExtResource( 4 ) font_data = ExtResource( 4 )
_sections_unfolded = [ "Extra Spacing", "Font", "Settings" ]
[node name="login_menu" type="Control"] [node name="login_menu" type="Control"]
material = SubResource( 1 ) material = SubResource( 1 )
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.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
theme = ExtResource( 1 ) theme = ExtResource( 1 )
script = ExtResource( 2 ) script = ExtResource( 2 )
_sections_unfolded = [ "Material", "Theme", "Visibility", "custom_styles" ]
[node name="HTTPRequest" type="HTTPRequest" parent="."] [node name="HTTPRequest" type="HTTPRequest" parent="." index="0"]
[node name="background" type="TextureRect" parent="."] download_file = ""
use_threads = false
body_size_limit = -1
max_redirects = 8
_sections_unfolded = [ "Pause" ]
[node name="background" type="TextureRect" parent="." index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.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( 3 ) texture = ExtResource( 3 )
expand = true expand = true
stretch_mode = 7 stretch_mode = 7
_sections_unfolded = [ "Visibility" ]
[node name="h_box_container" type="HBoxContainer" parent="."] [node name="h_box_container" type="HBoxContainer" parent="." index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.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="container" type="Container" parent="h_box_container"] [node name="container" type="Container" parent="h_box_container" index="0"]
margin_right = 585.0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 638.0
margin_bottom = 720.0 margin_bottom = 720.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 1
_sections_unfolded = [ "Size Flags" ]
[node name="v_box_container" type="VBoxContainer" parent="h_box_container"] [node name="v_box_container" type="VBoxContainer" parent="h_box_container" index="1"]
margin_left = 589.0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 642.0
margin_right = 1280.0 margin_right = 1280.0
margin_bottom = 720.0 margin_bottom = 720.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 1
alignment = 0
_sections_unfolded = [ "Margin", "Size Flags", "custom_constants" ]
[node name="buttons_box" type="HBoxContainer" parent="h_box_container/v_box_container"] [node name="buttons_box" type="HBoxContainer" parent="h_box_container/v_box_container" index="0"]
margin_left = 691.0
margin_right = 691.0 anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 638.0
margin_right = 638.0
margin_bottom = 61.0 margin_bottom = 61.0
rect_min_size = Vector2( 0, 61 ) rect_min_size = Vector2( 0, 61 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 10 size_flags_horizontal = 10
size_flags_vertical = 1
custom_constants/separation = 0 custom_constants/separation = 0
alignment = 2 alignment = 2
_sections_unfolded = [ "Rect", "Size Flags", "custom_constants" ]
[node name="margin_container" type="MarginContainer" parent="h_box_container/v_box_container"] [node name="margin_container" type="MarginContainer" parent="h_box_container/v_box_container" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 65.0 margin_top = 65.0
margin_right = 691.0 margin_right = 638.0
margin_bottom = 285.0 margin_bottom = 285.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
custom_constants/margin_right = 32 custom_constants/margin_right = 32
custom_constants/margin_top = 32 custom_constants/margin_top = 32
custom_constants/margin_left = 32 custom_constants/margin_left = 32
custom_constants/margin_bottom = 0 custom_constants/margin_bottom = 0
_sections_unfolded = [ "Size Flags", "custom_constants" ]
[node name="login_box" type="VBoxContainer" parent="h_box_container/v_box_container/margin_container"] [node name="login_box" type="VBoxContainer" parent="h_box_container/v_box_container/margin_container" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 32.0 margin_left = 32.0
margin_top = 32.0 margin_top = 32.0
margin_right = 659.0 margin_right = 606.0
margin_bottom = 220.0 margin_bottom = 220.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
custom_constants/separation = 16 custom_constants/separation = 16
alignment = 0
_sections_unfolded = [ "Margin", "custom_constants" ]
[node name="email_box" type="VBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box"] [node name="email_box" type="VBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box" index="0"]
margin_right = 627.0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 574.0
margin_bottom = 58.0 margin_bottom = 58.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
custom_constants/separation = 8 custom_constants/separation = 8
alignment = 0
_sections_unfolded = [ "custom_constants" ]
[node name="email_label_box" type="HBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box/email_box"] [node name="email_label_box" type="HBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box/email_box" index="0"]
margin_right = 627.0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 574.0
margin_bottom = 17.0 margin_bottom = 17.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
_sections_unfolded = [ "Margin", "custom_constants" ]
[node name="label" type="Label" parent="h_box_container/v_box_container/margin_container/login_box/email_box/email_label_box"] [node name="label" type="Label" parent="h_box_container/v_box_container/margin_container/login_box/email_box/email_label_box" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 39.0 margin_right = 39.0
margin_bottom = 17.0 margin_bottom = 17.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Login" text = "Login"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
_sections_unfolded = [ "custom_colors" ]
[node name="register_button" type="LinkButton" parent="h_box_container/v_box_container/margin_container/login_box/email_box/email_label_box"] [node name="register_button" type="LinkButton" parent="h_box_container/v_box_container/margin_container/login_box/email_box/email_label_box" index="1"]
margin_left = 581.0
margin_right = 627.0 anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 528.0
margin_right = 574.0
margin_bottom = 17.0 margin_bottom = 17.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 2
size_flags_horizontal = 10 size_flags_horizontal = 10
size_flags_vertical = 1
custom_fonts/font = SubResource( 2 ) custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0.0627451, 0.0313726, 0.45098, 1 ) custom_colors/font_color = Color( 0.0627451, 0.0313726, 0.45098, 1 )
custom_colors/font_color_hover = Color( 0.329412, 0.317647, 0.466667, 1 ) custom_colors/font_color_hover = Color( 0.329412, 0.317647, 0.466667, 1 )
custom_colors/font_color_pressed = Color( 0.0627451, 0.0313726, 0.45098, 1 ) custom_colors/font_color_pressed = Color( 0.0627451, 0.0313726, 0.45098, 1 )
toggle_mode = false
enabled_focus_mode = 0
shortcut = null
group = null
text = "S'inscrire" text = "S'inscrire"
underline = 2 underline = 2
_sections_unfolded = [ "Size Flags", "custom_colors", "custom_constants", "custom_fonts" ]
[node name="email_edit" type="LineEdit" parent="h_box_container/v_box_container/margin_container/login_box/email_box"] [node name="email_edit" type="LineEdit" parent="h_box_container/v_box_container/margin_container/login_box/email_box" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 25.0 margin_top = 25.0
margin_right = 627.0 margin_right = 574.0
margin_bottom = 58.0 margin_bottom = 58.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 1
size_flags_horizontal = 1
size_flags_vertical = 1
focus_mode = 2
context_menu_enabled = true
placeholder_text = "Entrez votre login ici." placeholder_text = "Entrez votre login ici."
placeholder_alpha = 0.6
caret_blink = false
caret_blink_speed = 0.65
caret_position = 0
_sections_unfolded = [ "Material", "Placeholder", "Visibility", "custom_colors", "custom_styles" ]
[node name="password_box" type="VBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box"] [node name="password_box" type="VBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 74.0 margin_top = 74.0
margin_right = 627.0 margin_right = 574.0
margin_bottom = 132.0 margin_bottom = 132.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
custom_constants/separation = 8 custom_constants/separation = 8
alignment = 0
_sections_unfolded = [ "custom_constants" ]
[node name="password_label_box" type="HBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box/password_box"] [node name="password_label_box" type="HBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box/password_box" index="0"]
margin_right = 627.0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 574.0
margin_bottom = 17.0 margin_bottom = 17.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
_sections_unfolded = [ "Margin", "custom_constants" ]
[node name="label" type="Label" parent="h_box_container/v_box_container/margin_container/login_box/password_box/password_label_box"] [node name="label" type="Label" parent="h_box_container/v_box_container/margin_container/login_box/password_box/password_label_box" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 93.0 margin_right = 93.0
margin_bottom = 17.0 margin_bottom = 17.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Mot de passe" text = "Mot de passe"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
_sections_unfolded = [ "custom_colors" ]
[node name="link_button" type="LinkButton" parent="h_box_container/v_box_container/margin_container/login_box/password_box/password_label_box"] [node name="link_button" type="LinkButton" parent="h_box_container/v_box_container/margin_container/login_box/password_box/password_label_box" index="1"]
margin_left = 529.0
margin_right = 627.0 anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 476.0
margin_right = 574.0
margin_bottom = 17.0 margin_bottom = 17.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 2
size_flags_horizontal = 10 size_flags_horizontal = 10
size_flags_vertical = 1
custom_fonts/font = SubResource( 2 ) custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0.0627451, 0.0313726, 0.45098, 1 ) custom_colors/font_color = Color( 0.0627451, 0.0313726, 0.45098, 1 )
custom_colors/font_color_hover = Color( 0.329412, 0.317647, 0.466667, 1 ) custom_colors/font_color_hover = Color( 0.329412, 0.317647, 0.466667, 1 )
custom_colors/font_color_pressed = Color( 0.0627451, 0.0313726, 0.45098, 1 ) custom_colors/font_color_pressed = Color( 0.0627451, 0.0313726, 0.45098, 1 )
toggle_mode = false
enabled_focus_mode = 0
shortcut = null
group = null
text = "Mot de passe oublié" text = "Mot de passe oublié"
underline = 2 underline = 2
_sections_unfolded = [ "Size Flags", "custom_colors", "custom_constants", "custom_fonts" ]
[node name="password_edit" type="LineEdit" parent="h_box_container/v_box_container/margin_container/login_box/password_box"] [node name="password_edit" type="LineEdit" parent="h_box_container/v_box_container/margin_container/login_box/password_box" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 25.0 margin_top = 25.0
margin_right = 627.0 margin_right = 574.0
margin_bottom = 58.0 margin_bottom = 58.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 1
size_flags_horizontal = 1
size_flags_vertical = 1
secret = true secret = true
focus_mode = 2
context_menu_enabled = true
placeholder_text = "Entrez votre mot de passe ici." placeholder_text = "Entrez votre mot de passe ici."
placeholder_alpha = 0.6
caret_blink = false
caret_blink_speed = 0.65
caret_position = 0
_sections_unfolded = [ "Material", "Placeholder", "Visibility", "custom_colors", "custom_styles" ]
[node name="h_box_container" type="HBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box"] [node name="h_box_container" type="HBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box" index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 148.0 margin_top = 148.0
margin_right = 627.0 margin_right = 574.0
margin_bottom = 188.0 margin_bottom = 188.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="checkboxs_box" type="VBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box/h_box_container" index="0"]
[node name="checkboxs_box" type="VBoxContainer" parent="h_box_container/v_box_container/margin_container/login_box/h_box_container"]
editor/display_folded = true editor/display_folded = true
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 228.0 margin_right = 228.0
margin_bottom = 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="check_box" type="CheckBox" parent="h_box_container/v_box_container/margin_container/login_box/h_box_container/checkboxs_box"] [node name="check_box" type="CheckBox" parent="h_box_container/v_box_container/margin_container/login_box/h_box_container/checkboxs_box" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 228.0 margin_right = 228.0
margin_bottom = 17.0 margin_bottom = 17.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
custom_colors/font_color_disabled = Color( 0, 0, 0, 1 ) custom_colors/font_color_disabled = Color( 0, 0, 0, 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_colors/font_color_hover = Color( 0, 0, 0, 1 ) custom_colors/font_color_hover = Color( 0, 0, 0, 1 )
custom_colors/font_color_pressed = Color( 0, 0, 0, 1 ) custom_colors/font_color_pressed = Color( 0, 0, 0, 1 )
toggle_mode = true
enabled_focus_mode = 2
shortcut = null
group = null
text = "Se souvenir du login." text = "Se souvenir du login."
flat = false
align = 0
_sections_unfolded = [ "custom_colors" ]
[node name="check_box2" type="CheckBox" parent="h_box_container/v_box_container/margin_container/login_box/h_box_container/checkboxs_box"] [node name="check_box2" type="CheckBox" parent="h_box_container/v_box_container/margin_container/login_box/h_box_container/checkboxs_box" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 21.0 margin_top = 21.0
margin_right = 228.0 margin_right = 228.0
margin_bottom = 38.0 margin_bottom = 38.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
custom_colors/font_color_disabled = Color( 0, 0, 0, 1 ) custom_colors/font_color_disabled = Color( 0, 0, 0, 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_colors/font_color_hover = Color( 0, 0, 0, 1 ) custom_colors/font_color_hover = Color( 0, 0, 0, 1 )
custom_colors/font_color_pressed = Color( 0, 0, 0, 1 ) custom_colors/font_color_pressed = Color( 0, 0, 0, 1 )
toggle_mode = true
enabled_focus_mode = 2
shortcut = null
group = null
text = "Se souvenir du mot de passe." text = "Se souvenir du mot de passe."
flat = false
align = 0
_sections_unfolded = [ "custom_colors" ]
[node name="play_button" type="Button" parent="h_box_container/v_box_container/margin_container/login_box/h_box_container"] [node name="play_button" type="Button" parent="h_box_container/v_box_container/margin_container/login_box/h_box_container" index="1"]
margin_left = 232.0
margin_right = 360.0 anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 446.0
margin_right = 574.0
margin_bottom = 40.0 margin_bottom = 40.0
rect_min_size = Vector2( 128, 0 ) rect_min_size = Vector2( 128, 0 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 10 size_flags_horizontal = 10
size_flags_vertical = 1
custom_fonts/font = SubResource( 3 ) custom_fonts/font = SubResource( 3 )
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
text = "Jouer" text = "Jouer"
flat = false
align = 1
_sections_unfolded = [ "Margin", "Material", "Rect", "Size Flags", "Theme", "Visibility", "custom_colors", "custom_constants", "custom_fonts" ]
[node name="play_without_connexion" type="Button" parent="h_box_container/v_box_container/margin_container/login_box/h_box_container"]
margin_left = 364.0
margin_right = 627.0
margin_bottom = 40.0
rect_min_size = Vector2( 128, 0 )
size_flags_horizontal = 10
custom_fonts/font = SubResource( 3 )
text = "Tester sans se connecter"
[connection signal="request_completed" from="HTTPRequest" to="." method="_on_HTTPRequest_request_completed"] [connection signal="request_completed" from="HTTPRequest" to="." method="_on_HTTPRequest_request_completed"]
[connection signal="pressed" from="h_box_container/v_box_container/margin_container/login_box/email_box/email_label_box/register_button" to="." method="_on_register_button_pressed"] [connection signal="pressed" from="h_box_container/v_box_container/margin_container/login_box/email_box/email_label_box/register_button" to="." method="_on_register_button_pressed"]
[connection signal="pressed" from="h_box_container/v_box_container/margin_container/login_box/h_box_container/play_button" to="." method="_on_play_button_pressed"] [connection signal="pressed" from="h_box_container/v_box_container/margin_container/login_box/h_box_container/play_button" to="." method="_on_play_button_pressed"]
[connection signal="pressed" from="h_box_container/v_box_container/margin_container/login_box/h_box_container/play_without_connexion" to="." method="_on_play_without_connexion_pressed"]

View file

@ -15,3 +15,37 @@ func _on_cancel_button_pressed():
func _on_license_button_pressed(): func _on_license_button_pressed():
emit_signal( "license_button_pressed" ) emit_signal( "license_button_pressed" )
# No error so login was successful.
func _on_HTTPRequest_request_completed(result, response_code, headers, body):
var s = body.get_string_from_utf8();
print(s);
emit_signal( "cancel_button_pressed");
# if(s[0] != "0"):
# var server_info_script = load("res://assets/Scripts/Models/nel_server_info.gd");
# var server_info = server_info_script.nel_server_info.new(body.get_string_from_utf8());
#
func _on_register_button_pressed():
var username = get_node("h_box_container/v_box_container/center_container/register_box/login_box/login_edit").get_text();
var password = get_node("h_box_container/v_box_container/center_container/register_box/password_box/password_edit").get_text();
var password_confirm = get_node("h_box_container/v_box_container/center_container/register_box/password_confirm_box/password_edit").get_text();
var email = get_node("h_box_container/v_box_container/center_container/register_box/email_box/email_edit").get_text();
var license_accepted = get_node("h_box_container/v_box_container/center_container/register_box/license_box/check_box").is_pressed();
if (username != null and username != ""):
if(password != null and password != ""):
if(password_confirm != null and password_confirm != ""):
if(password_confirm == password):
if(email != null and email != ""):
if(license_accepted == true):
print("Doing request");
var body = load("res://assets/Scripts/Models/nel_register_form.gd").nel_register_form.new(username, password, email, license_accepted);
$HTTPRequest.request("http://149.91.80.160/ams/index.php?action=add_user", ["Content-Type: multipart/form-data"], true,HTTPClient.METHOD_POST,body.get_form_data());
# emit_signal( "cancel_button_pressed" )

View file

@ -386,7 +386,7 @@ mouse_default_cursor_shape = 0
size_flags_horizontal = 1 size_flags_horizontal = 1
size_flags_vertical = 4 size_flags_vertical = 4
custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "e-mail" text = "E-mail"
percent_visible = 1.0 percent_visible = 1.0
lines_skipped = 0 lines_skipped = 0
max_lines_visible = -1 max_lines_visible = -1
@ -471,7 +471,7 @@ mouse_filter = 2
mouse_default_cursor_shape = 0 mouse_default_cursor_shape = 0
size_flags_horizontal = 1 size_flags_horizontal = 1
size_flags_vertical = 4 size_flags_vertical = 4
text = "j'accepte les" text = "J'accepte les"
percent_visible = 1.0 percent_visible = 1.0
lines_skipped = 0 lines_skipped = 0
max_lines_visible = -1 max_lines_visible = -1

View file

@ -3,9 +3,6 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps] [deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
compress/mode=0 compress/mode=0
compress/lossy_quality=0.7 compress/lossy_quality=0.7
compress/hdr_mode=0 compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true process/fix_alpha_border=true
process/premult_alpha=false process/premult_alpha=false
process/HDR_as_SRGB=false process/HDR_as_SRGB=false
process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=true

View file

@ -13,66 +13,173 @@
[ext_resource path="res://assets/GUI/images/Login-Khanat-quit-button.png" type="Texture" id=11] [ext_resource path="res://assets/GUI/images/Login-Khanat-quit-button.png" type="Texture" id=11]
[node name="login_scene" type="Node"] [node name="login_scene" type="Node"]
script = ExtResource( 1 ) script = ExtResource( 1 )
[node name="character_selection_menu" parent="." instance=ExtResource( 2 )] [node name="character_selection_menu" parent="." index="0" instance=ExtResource( 2 )]
visible = false visible = false
[node name="login_menu" parent="." instance=ExtResource( 3 )] [node name="login_menu" parent="." index="1" instance=ExtResource( 3 )]
margin_top = -1.0 margin_top = -1.0
margin_bottom = -1.0 margin_bottom = -1.0
[node name="register_menu" parent="." instance=ExtResource( 4 )] [node name="register_menu" parent="." index="2" instance=ExtResource( 4 )]
visible = false visible = false
[node name="license_menu" parent="." instance=ExtResource( 5 )] [node name="license_menu" parent="." index="3" instance=ExtResource( 5 )]
visible = false visible = false
[node name="buttons_background" type="TextureRect" parent="."] [node name="buttons_background" type="TextureRect" parent="." index="4"]
anchor_left = 1.0 anchor_left = 1.0
anchor_top = 0.0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 0.0
margin_left = -307.0 margin_left = -307.0
margin_bottom = 65.0 margin_bottom = 65.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( 6 ) texture = ExtResource( 6 )
stretch_mode = 0
_sections_unfolded = [ "Size Flags" ]
[node name="buttons" type="HBoxContainer" parent="."] [node name="buttons" type="HBoxContainer" parent="." index="5"]
editor/display_folded = true
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 0.0
margin_bottom = 61.0 margin_bottom = 61.0
rect_min_size = Vector2( 0, 61 ) rect_min_size = Vector2( 0, 61 )
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 = 2 alignment = 2
_sections_unfolded = [ "Mouse", "Rect", "Size Flags" ]
[node name="sound_button" type="TextureButton" parent="buttons"] [node name="sound_button" type="TextureButton" parent="buttons" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 1052.0 margin_left = 1052.0
margin_right = 1106.0 margin_right = 1106.0
margin_bottom = 61.0 margin_bottom = 61.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = true toggle_mode = true
enabled_focus_mode = 2
shortcut = null
group = null
texture_normal = ExtResource( 7 ) texture_normal = ExtResource( 7 )
texture_pressed = ExtResource( 8 ) texture_pressed = ExtResource( 8 )
_sections_unfolded = [ "Size Flags", "Textures" ]
[node name="help_button" type="TextureButton" parent="buttons"] [node name="help_button" type="TextureButton" parent="buttons" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 1110.0 margin_left = 1110.0
margin_right = 1164.0 margin_right = 1164.0
margin_bottom = 61.0 margin_bottom = 61.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
texture_normal = ExtResource( 9 ) texture_normal = ExtResource( 9 )
_sections_unfolded = [ "Size Flags", "Textures" ]
[node name="settings_button" type="TextureButton" parent="buttons"] [node name="settings_button" type="TextureButton" parent="buttons" index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 1168.0 margin_left = 1168.0
margin_right = 1222.0 margin_right = 1222.0
margin_bottom = 61.0 margin_bottom = 61.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
texture_normal = ExtResource( 10 ) texture_normal = ExtResource( 10 )
_sections_unfolded = [ "Size Flags", "Textures" ]
[node name="quit_button" type="TextureButton" parent="buttons"] [node name="quit_button" type="TextureButton" parent="buttons" index="3"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 1226.0 margin_left = 1226.0
margin_right = 1280.0 margin_right = 1280.0
margin_bottom = 61.0 margin_bottom = 61.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
texture_normal = ExtResource( 11 ) texture_normal = ExtResource( 11 )
_sections_unfolded = [ "Size Flags", "Textures" ]
[connection signal="character_selected" from="character_selection_menu" to="." method="_on_character_selection_menu_character_selected"] [connection signal="character_selected" from="character_selection_menu" to="." method="_on_character_selection_menu_character_selected"]
[connection signal="return_button_pressed" from="character_selection_menu" to="." method="_on_character_selection_menu_return_button_pressed"] [connection signal="return_button_pressed" from="character_selection_menu" to="." method="_on_character_selection_menu_return_button_pressed"]
[connection signal="login_button_pressed" from="login_menu" to="." method="_on_login_menu_login_button_pressed"] [connection signal="login_button_pressed" from="login_menu" to="." method="_on_login_menu_login_button_pressed"]
[connection signal="register_button_pressed" from="login_menu" to="." method="_on_login_menu_register_button_pressed"] [connection signal="register_button_pressed" from="login_menu" to="." method="_on_login_menu_register_button_pressed"]
[connection signal="cancel_button_pressed" from="register_menu" to="." method="_on_register_menu_cancel_button_pressed"] [connection signal="cancel_button_pressed" from="register_menu" to="." method="_on_register_menu_cancel_button_pressed"]
[connection signal="license_button_pressed" from="register_menu" to="." method="_on_register_menu_license_button_pressed"] [connection signal="license_button_pressed" from="register_menu" to="." method="_on_register_menu_license_button_pressed"]
[connection signal="sound_button_toggled" from="register_menu" to="." method="_on_sound_button_toggled"] [connection signal="sound_button_toggled" from="register_menu" to="." method="_on_sound_button_toggled"]
[connection signal="return_button_pressed" from="license_menu" to="." method="_on_license_menu_return_button_pressed"] [connection signal="return_button_pressed" from="license_menu" to="." method="_on_license_menu_return_button_pressed"]
[connection signal="toggled" from="buttons/sound_button" to="." method="_on_sound_button_toggled"] [connection signal="toggled" from="buttons/sound_button" to="." method="_on_sound_button_toggled"]
[connection signal="pressed" from="buttons/quit_button" to="." method="_on_quit_button_pressed"] [connection signal="pressed" from="buttons/quit_button" to="." method="_on_quit_button_pressed"]

View file

@ -6,12 +6,7 @@
; [section] ; section goes between [] ; [section] ; section goes between []
; param=value ; assign values to parameters ; param=value ; assign values to parameters
config_version=4 config_version=3
_global_script_classes=[ ]
_global_script_class_icons={
}
[application] [application]
@ -38,151 +33,69 @@ enabled=PoolStringArray( "input_map_button", "ui_window" )
[input] [input]
ui_select={ ui_select=[ ]
"deadzone": 0.5, ui_cancel=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"unicode":0,"echo":false,"script":null)
"events": [ ]
}
ui_cancel={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"unicode":0,"echo":false,"script":null)
] ]
} ui_focus_next=[ ]
ui_focus_next={ ui_quit=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":81,"unicode":0,"echo":false,"script":null)
"deadzone": 0.5,
"events": [ ]
}
ui_quit={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":81,"unicode":0,"echo":false,"script":null)
] ]
} ui_pause=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
ui_pause={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
] ]
} ui_reload=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":82,"unicode":0,"echo":false,"script":null)
ui_reload={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":82,"unicode":0,"echo":false,"script":null)
] ]
} ui_free_cursor=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"unicode":0,"echo":false,"script":null)
ui_free_cursor={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":72,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":72,"unicode":0,"echo":false,"script":null)
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":3,"pressed":false,"doubleclick":false,"script":null) , Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":3,"pressed":false,"doubleclick":false,"script":null)
] ]
} move_up=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
move_up={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null)
] ]
} move_down=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null)
move_down={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null)
] ]
} move_left=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
move_left={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":81,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":81,"unicode":0,"echo":false,"script":null)
] ]
} move_right=[ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
move_right={
"deadzone": 0.5,
"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
] ]
} jump=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
jump={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
] ]
} ui_test=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":84,"unicode":0,"echo":false,"script":null)
ui_test={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":84,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
] ]
} game_flashlight=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":76,"unicode":0,"echo":false,"script":null)
game_flashlight={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":76,"unicode":0,"echo":false,"script":null)
] ]
} ui_debug_window=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777244,"unicode":0,"echo":false,"script":null)
ui_debug_window={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777244,"unicode":0,"echo":false,"script":null)
] ]
} ui_music_controls=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777245,"unicode":0,"echo":false,"script":null)
ui_music_controls={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777245,"unicode":0,"echo":false,"script":null)
] ]
} fly_up=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777359,"unicode":0,"echo":false,"script":null)
fly_up={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777359,"unicode":0,"echo":false,"script":null)
] ]
} fly_down=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777353,"unicode":0,"echo":false,"script":null)
fly_down={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777353,"unicode":0,"echo":false,"script":null)
] ]
} hide_char=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777246,"unicode":0,"echo":false,"script":null)
hide_char={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777246,"unicode":0,"echo":false,"script":null)
] ]
} ui_hide_all=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777247,"unicode":0,"echo":false,"script":null)
ui_hide_all={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777247,"unicode":0,"echo":false,"script":null)
] ]
} ui_hide_hud=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777248,"unicode":0,"echo":false,"script":null)
ui_hide_hud={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777248,"unicode":0,"echo":false,"script":null)
] ]
} test_change_map_1=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777249,"unicode":0,"echo":false,"script":null)
test_change_map_1={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777249,"unicode":0,"echo":false,"script":null)
] ]
} test_change_map_2=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777250,"unicode":0,"echo":false,"script":null)
test_change_map_2={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777250,"unicode":0,"echo":false,"script":null)
] ]
} test_change_map_3=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777252,"unicode":0,"echo":false,"script":null)
test_change_map_3={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777252,"unicode":0,"echo":false,"script":null)
] ]
} chat_accept=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"unicode":0,"echo":false,"script":null)
chat_accept={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"unicode":0,"echo":false,"script":null)
] ]
} ui_face_cam=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777350,"unicode":0,"echo":false,"script":null)
ui_face_cam={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777350,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":47,"unicode":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":47,"unicode":0,"echo":false,"script":null)
] ]
}
[khaganat]
debug_mode=true
[locale] [locale]
@ -202,11 +115,12 @@ name_casing=2
[rendering] [rendering]
quality/filters/use_nearest_mipmap_filter=true
quality/filters/anisotropic_filter_level=8 quality/filters/anisotropic_filter_level=8
quality/shadows/filter_mode=2 quality/shadows/filter_mode=2
quality/filters/use_nearest_mipmap_filter=true
quality/subsurface_scattering/quality=2 quality/subsurface_scattering/quality=2
quality/subsurface_scattering/follow_surface=true quality/subsurface_scattering/follow_surface=true
environment/default_clear_color=Color( 0, 0, 0, 1 ) environment/default_clear_color=Color( 0, 0, 0, 1 )
quality/filters/msaa=3 quality/filters/msaa=3
environment/default_environment="res://default_env.tres" environment/default_environment="res://default_env.tres"
quality/dynamic_fonts/use_oversampling=true