Basic client that understands factions
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					source_md5="5efb9aac4566cc540675ab7478811cac"
 | 
				
			||||||
 | 
					dest_md5="f0bb815a493bfd51d2b236f5f5f2fc8b"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					source_md5="8aa11b5093dfa6e5ad8586cfd48b6e88"
 | 
				
			||||||
 | 
					dest_md5="1922a2eba76828665cd680a720666fe8"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					source_md5="8aa11b5093dfa6e5ad8586cfd48b6e88"
 | 
				
			||||||
 | 
					dest_md5="1922a2eba76828665cd680a720666fe8"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					source_md5="f5097ca7c211920e40c629bc583248e3"
 | 
				
			||||||
 | 
					dest_md5="0b20c79b6ad64f3fbed8b5ab994f4c8c"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					source_md5="57a52ebcb9eefc41ae7c7fe4b17f9929"
 | 
				
			||||||
 | 
					dest_md5="d81086922475a0a88eb18c5b63cfadc4"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					source_md5="6369531b32f45519d9bda64e00cdc847"
 | 
				
			||||||
 | 
					dest_md5="d6d9f94b469ca6b1de4c2ad1759450ed"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					source_md5="91820ac8ea2be3ece9880968e3383d5e"
 | 
				
			||||||
 | 
					dest_md5="1708c1f0340ca66cafbe9371c338ab53"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								client/.import/electus.png-a90a07dfed216f4ba27686034df2153e.stex
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					source_md5="2986d81638e869b47b08fc6a51e530eb"
 | 
				
			||||||
 | 
					dest_md5="fc9df6db0cb50f4e349620f975023c68"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								client/.import/lunaki.png-d46c842ee07941bd7d94068ea9489984.stex
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					source_md5="f13aaf1926c7461f574eff3379d1227a"
 | 
				
			||||||
 | 
					dest_md5="dd9c1dd4ee97dade3f8000d9c2984bd2"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								client/.import/regium.png-1a0832d2ba20f1f704b0231836336246.stex
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 545 B  | 
@ -2,15 +2,15 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
importer="texture"
 | 
					importer="texture"
 | 
				
			||||||
type="StreamTexture"
 | 
					type="StreamTexture"
 | 
				
			||||||
path="res://.import/dev_player.png-a3e490acef445550df71bca0ea3173dc.stex"
 | 
					path="res://.import/dev_player_1.png-6a7e17e32424a41520db4c795eece2ce.stex"
 | 
				
			||||||
metadata={
 | 
					metadata={
 | 
				
			||||||
"vram_texture": false
 | 
					"vram_texture": false
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[deps]
 | 
					[deps]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
source_file="res://art/entities/player/dev_player.png"
 | 
					source_file="res://art/entities/player/dev/dev_player_1.png"
 | 
				
			||||||
dest_files=[ "res://.import/dev_player.png-a3e490acef445550df71bca0ea3173dc.stex" ]
 | 
					dest_files=[ "res://.import/dev_player_1.png-6a7e17e32424a41520db4c795eece2ce.stex" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[params]
 | 
					[params]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								client/art/entities/player/dev/dev_player_2.aseprite
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								client/art/entities/player/dev/dev_player_2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 556 B  | 
							
								
								
									
										34
									
								
								client/art/entities/player/dev/dev_player_2.png.import
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,34 @@
 | 
				
			|||||||
 | 
					[remap]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					importer="texture"
 | 
				
			||||||
 | 
					type="StreamTexture"
 | 
				
			||||||
 | 
					path="res://.import/dev_player_2.png-24cb2fbb0bdff6cc7a030088bf9a60db.stex"
 | 
				
			||||||
 | 
					metadata={
 | 
				
			||||||
 | 
					"vram_texture": false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[deps]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source_file="res://art/entities/player/dev/dev_player_2.png"
 | 
				
			||||||
 | 
					dest_files=[ "res://.import/dev_player_2.png-24cb2fbb0bdff6cc7a030088bf9a60db.stex" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[params]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					compress/mode=0
 | 
				
			||||||
 | 
					compress/lossy_quality=0.7
 | 
				
			||||||
 | 
					compress/hdr_mode=0
 | 
				
			||||||
 | 
					compress/bptc_ldr=0
 | 
				
			||||||
 | 
					compress/normal_map=0
 | 
				
			||||||
 | 
					flags/repeat=0
 | 
				
			||||||
 | 
					flags/filter=false
 | 
				
			||||||
 | 
					flags/mipmaps=false
 | 
				
			||||||
 | 
					flags/anisotropic=false
 | 
				
			||||||
 | 
					flags/srgb=2
 | 
				
			||||||
 | 
					process/fix_alpha_border=true
 | 
				
			||||||
 | 
					process/premult_alpha=false
 | 
				
			||||||
 | 
					process/HDR_as_SRGB=false
 | 
				
			||||||
 | 
					process/invert_color=false
 | 
				
			||||||
 | 
					stream=false
 | 
				
			||||||
 | 
					size_limit=0
 | 
				
			||||||
 | 
					detect_3d=true
 | 
				
			||||||
 | 
					svg/scale=1.0
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								client/art/entities/player/dev/dev_player_3.aseprite
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								client/art/entities/player/dev/dev_player_3.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 562 B  | 
							
								
								
									
										34
									
								
								client/art/entities/player/dev/dev_player_3.png.import
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,34 @@
 | 
				
			|||||||
 | 
					[remap]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					importer="texture"
 | 
				
			||||||
 | 
					type="StreamTexture"
 | 
				
			||||||
 | 
					path="res://.import/dev_player_3.png-2b614bba7aea33ebd1625829f7dc4dc8.stex"
 | 
				
			||||||
 | 
					metadata={
 | 
				
			||||||
 | 
					"vram_texture": false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[deps]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source_file="res://art/entities/player/dev/dev_player_3.png"
 | 
				
			||||||
 | 
					dest_files=[ "res://.import/dev_player_3.png-2b614bba7aea33ebd1625829f7dc4dc8.stex" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[params]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					compress/mode=0
 | 
				
			||||||
 | 
					compress/lossy_quality=0.7
 | 
				
			||||||
 | 
					compress/hdr_mode=0
 | 
				
			||||||
 | 
					compress/bptc_ldr=0
 | 
				
			||||||
 | 
					compress/normal_map=0
 | 
				
			||||||
 | 
					flags/repeat=0
 | 
				
			||||||
 | 
					flags/filter=false
 | 
				
			||||||
 | 
					flags/mipmaps=false
 | 
				
			||||||
 | 
					flags/anisotropic=false
 | 
				
			||||||
 | 
					flags/srgb=2
 | 
				
			||||||
 | 
					process/fix_alpha_border=true
 | 
				
			||||||
 | 
					process/premult_alpha=false
 | 
				
			||||||
 | 
					process/HDR_as_SRGB=false
 | 
				
			||||||
 | 
					process/invert_color=false
 | 
				
			||||||
 | 
					stream=false
 | 
				
			||||||
 | 
					size_limit=0
 | 
				
			||||||
 | 
					detect_3d=true
 | 
				
			||||||
 | 
					svg/scale=1.0
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								client/art/entities/player/dev/dev_player_4.aseprite
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								client/art/entities/player/dev/dev_player_4.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 561 B  | 
							
								
								
									
										34
									
								
								client/art/entities/player/dev/dev_player_4.png.import
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,34 @@
 | 
				
			|||||||
 | 
					[remap]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					importer="texture"
 | 
				
			||||||
 | 
					type="StreamTexture"
 | 
				
			||||||
 | 
					path="res://.import/dev_player_4.png-75d7bdc3c0acf687884cfb7d56448f69.stex"
 | 
				
			||||||
 | 
					metadata={
 | 
				
			||||||
 | 
					"vram_texture": false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[deps]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source_file="res://art/entities/player/dev/dev_player_4.png"
 | 
				
			||||||
 | 
					dest_files=[ "res://.import/dev_player_4.png-75d7bdc3c0acf687884cfb7d56448f69.stex" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[params]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					compress/mode=0
 | 
				
			||||||
 | 
					compress/lossy_quality=0.7
 | 
				
			||||||
 | 
					compress/hdr_mode=0
 | 
				
			||||||
 | 
					compress/bptc_ldr=0
 | 
				
			||||||
 | 
					compress/normal_map=0
 | 
				
			||||||
 | 
					flags/repeat=0
 | 
				
			||||||
 | 
					flags/filter=false
 | 
				
			||||||
 | 
					flags/mipmaps=false
 | 
				
			||||||
 | 
					flags/anisotropic=false
 | 
				
			||||||
 | 
					flags/srgb=2
 | 
				
			||||||
 | 
					process/fix_alpha_border=true
 | 
				
			||||||
 | 
					process/premult_alpha=false
 | 
				
			||||||
 | 
					process/HDR_as_SRGB=false
 | 
				
			||||||
 | 
					process/invert_color=false
 | 
				
			||||||
 | 
					stream=false
 | 
				
			||||||
 | 
					size_limit=0
 | 
				
			||||||
 | 
					detect_3d=true
 | 
				
			||||||
 | 
					svg/scale=1.0
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								client/art/gui/banners/burningwall.aseprite
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								client/art/gui/banners/burningwall.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 783 B  | 
							
								
								
									
										34
									
								
								client/art/gui/banners/burningwall.png.import
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,34 @@
 | 
				
			|||||||
 | 
					[remap]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					importer="texture"
 | 
				
			||||||
 | 
					type="StreamTexture"
 | 
				
			||||||
 | 
					path="res://.import/burningwall.png-46bfd2d39d0cac96f39200d4c53851e9.stex"
 | 
				
			||||||
 | 
					metadata={
 | 
				
			||||||
 | 
					"vram_texture": false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[deps]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source_file="res://art/gui/banners/burningwall.png"
 | 
				
			||||||
 | 
					dest_files=[ "res://.import/burningwall.png-46bfd2d39d0cac96f39200d4c53851e9.stex" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[params]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					compress/mode=0
 | 
				
			||||||
 | 
					compress/lossy_quality=0.7
 | 
				
			||||||
 | 
					compress/hdr_mode=0
 | 
				
			||||||
 | 
					compress/bptc_ldr=0
 | 
				
			||||||
 | 
					compress/normal_map=0
 | 
				
			||||||
 | 
					flags/repeat=0
 | 
				
			||||||
 | 
					flags/filter=true
 | 
				
			||||||
 | 
					flags/mipmaps=false
 | 
				
			||||||
 | 
					flags/anisotropic=false
 | 
				
			||||||
 | 
					flags/srgb=2
 | 
				
			||||||
 | 
					process/fix_alpha_border=true
 | 
				
			||||||
 | 
					process/premult_alpha=false
 | 
				
			||||||
 | 
					process/HDR_as_SRGB=false
 | 
				
			||||||
 | 
					process/invert_color=false
 | 
				
			||||||
 | 
					stream=false
 | 
				
			||||||
 | 
					size_limit=0
 | 
				
			||||||
 | 
					detect_3d=true
 | 
				
			||||||
 | 
					svg/scale=1.0
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								client/art/gui/banners/electus.aseprite
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								client/art/gui/banners/electus.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 1.5 KiB  | 
							
								
								
									
										34
									
								
								client/art/gui/banners/electus.png.import
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,34 @@
 | 
				
			|||||||
 | 
					[remap]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					importer="texture"
 | 
				
			||||||
 | 
					type="StreamTexture"
 | 
				
			||||||
 | 
					path="res://.import/electus.png-a90a07dfed216f4ba27686034df2153e.stex"
 | 
				
			||||||
 | 
					metadata={
 | 
				
			||||||
 | 
					"vram_texture": false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[deps]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source_file="res://art/gui/banners/electus.png"
 | 
				
			||||||
 | 
					dest_files=[ "res://.import/electus.png-a90a07dfed216f4ba27686034df2153e.stex" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[params]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					compress/mode=0
 | 
				
			||||||
 | 
					compress/lossy_quality=0.7
 | 
				
			||||||
 | 
					compress/hdr_mode=0
 | 
				
			||||||
 | 
					compress/bptc_ldr=0
 | 
				
			||||||
 | 
					compress/normal_map=0
 | 
				
			||||||
 | 
					flags/repeat=0
 | 
				
			||||||
 | 
					flags/filter=true
 | 
				
			||||||
 | 
					flags/mipmaps=false
 | 
				
			||||||
 | 
					flags/anisotropic=false
 | 
				
			||||||
 | 
					flags/srgb=2
 | 
				
			||||||
 | 
					process/fix_alpha_border=true
 | 
				
			||||||
 | 
					process/premult_alpha=false
 | 
				
			||||||
 | 
					process/HDR_as_SRGB=false
 | 
				
			||||||
 | 
					process/invert_color=false
 | 
				
			||||||
 | 
					stream=false
 | 
				
			||||||
 | 
					size_limit=0
 | 
				
			||||||
 | 
					detect_3d=true
 | 
				
			||||||
 | 
					svg/scale=1.0
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								client/art/gui/banners/lunaki.aseprite
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								client/art/gui/banners/lunaki.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 1.3 KiB  | 
							
								
								
									
										34
									
								
								client/art/gui/banners/lunaki.png.import
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,34 @@
 | 
				
			|||||||
 | 
					[remap]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					importer="texture"
 | 
				
			||||||
 | 
					type="StreamTexture"
 | 
				
			||||||
 | 
					path="res://.import/lunaki.png-d46c842ee07941bd7d94068ea9489984.stex"
 | 
				
			||||||
 | 
					metadata={
 | 
				
			||||||
 | 
					"vram_texture": false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[deps]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source_file="res://art/gui/banners/lunaki.png"
 | 
				
			||||||
 | 
					dest_files=[ "res://.import/lunaki.png-d46c842ee07941bd7d94068ea9489984.stex" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[params]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					compress/mode=0
 | 
				
			||||||
 | 
					compress/lossy_quality=0.7
 | 
				
			||||||
 | 
					compress/hdr_mode=0
 | 
				
			||||||
 | 
					compress/bptc_ldr=0
 | 
				
			||||||
 | 
					compress/normal_map=0
 | 
				
			||||||
 | 
					flags/repeat=0
 | 
				
			||||||
 | 
					flags/filter=true
 | 
				
			||||||
 | 
					flags/mipmaps=false
 | 
				
			||||||
 | 
					flags/anisotropic=false
 | 
				
			||||||
 | 
					flags/srgb=2
 | 
				
			||||||
 | 
					process/fix_alpha_border=true
 | 
				
			||||||
 | 
					process/premult_alpha=false
 | 
				
			||||||
 | 
					process/HDR_as_SRGB=false
 | 
				
			||||||
 | 
					process/invert_color=false
 | 
				
			||||||
 | 
					stream=false
 | 
				
			||||||
 | 
					size_limit=0
 | 
				
			||||||
 | 
					detect_3d=true
 | 
				
			||||||
 | 
					svg/scale=1.0
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								client/art/gui/banners/regium.aseprite
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								client/art/gui/banners/regium.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 961 B  | 
							
								
								
									
										34
									
								
								client/art/gui/banners/regium.png.import
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,34 @@
 | 
				
			|||||||
 | 
					[remap]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					importer="texture"
 | 
				
			||||||
 | 
					type="StreamTexture"
 | 
				
			||||||
 | 
					path="res://.import/regium.png-1a0832d2ba20f1f704b0231836336246.stex"
 | 
				
			||||||
 | 
					metadata={
 | 
				
			||||||
 | 
					"vram_texture": false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[deps]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					source_file="res://art/gui/banners/regium.png"
 | 
				
			||||||
 | 
					dest_files=[ "res://.import/regium.png-1a0832d2ba20f1f704b0231836336246.stex" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[params]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					compress/mode=0
 | 
				
			||||||
 | 
					compress/lossy_quality=0.7
 | 
				
			||||||
 | 
					compress/hdr_mode=0
 | 
				
			||||||
 | 
					compress/bptc_ldr=0
 | 
				
			||||||
 | 
					compress/normal_map=0
 | 
				
			||||||
 | 
					flags/repeat=0
 | 
				
			||||||
 | 
					flags/filter=true
 | 
				
			||||||
 | 
					flags/mipmaps=false
 | 
				
			||||||
 | 
					flags/anisotropic=false
 | 
				
			||||||
 | 
					flags/srgb=2
 | 
				
			||||||
 | 
					process/fix_alpha_border=true
 | 
				
			||||||
 | 
					process/premult_alpha=false
 | 
				
			||||||
 | 
					process/HDR_as_SRGB=false
 | 
				
			||||||
 | 
					process/invert_color=false
 | 
				
			||||||
 | 
					stream=false
 | 
				
			||||||
 | 
					size_limit=0
 | 
				
			||||||
 | 
					detect_3d=true
 | 
				
			||||||
 | 
					svg/scale=1.0
 | 
				
			||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
[gd_scene load_steps=3 format=2]
 | 
					[gd_scene load_steps=3 format=2]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[ext_resource path="res://art/entities/player/dev_player.png" type="Texture" id=1]
 | 
					[ext_resource path="res://art/entities/player/dev/dev_player_1.png" type="Texture" id=1]
 | 
				
			||||||
[ext_resource path="res://scripts/entities/Player.gd" type="Script" id=2]
 | 
					[ext_resource path="res://scripts/entities/Player.gd" type="Script" id=2]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[node name="Player" type="KinematicBody2D"]
 | 
					[node name="Player" type="KinematicBody2D"]
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,8 @@
 | 
				
			|||||||
[gd_scene load_steps=2 format=2]
 | 
					[gd_scene load_steps=3 format=2]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[ext_resource path="res://art/entities/player/dev_player.png" type="Texture" id=1]
 | 
					[ext_resource path="res://art/entities/player/dev/dev_player_1.png" type="Texture" id=1]
 | 
				
			||||||
 | 
					[ext_resource path="res://scripts/entities/PlayerPuppet.gd" type="Script" id=2]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[node name="PlayerPuppet" type="Sprite"]
 | 
					[node name="PlayerPuppet" type="Sprite"]
 | 
				
			||||||
texture = ExtResource( 1 )
 | 
					texture = ExtResource( 1 )
 | 
				
			||||||
 | 
					script = ExtResource( 2 )
 | 
				
			||||||
 | 
				
			|||||||
@ -106,6 +106,7 @@ config/icon="res://icon.png"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Nakama="*res://addons/com.heroiclabs.nakama/Nakama.gd"
 | 
					Nakama="*res://addons/com.heroiclabs.nakama/Nakama.gd"
 | 
				
			||||||
ServerConnection="*res://scripts/singletons/ServerConnection.gd"
 | 
					ServerConnection="*res://scripts/singletons/ServerConnection.gd"
 | 
				
			||||||
 | 
					GameData="*res://scripts/singletons/GameData.gd"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[input]
 | 
					[input]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										58
									
								
								client/scenes/CharacterCreation.tscn
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,58 @@
 | 
				
			|||||||
 | 
					[gd_scene load_steps=5 format=2]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[ext_resource path="res://art/gui/banners/burningwall.png" type="Texture" id=1]
 | 
				
			||||||
 | 
					[ext_resource path="res://scripts/menus/character_creation/FactionButtons.gd" type="Script" id=2]
 | 
				
			||||||
 | 
					[ext_resource path="res://scripts/menus/character_creation/NameEdit.gd" type="Script" id=3]
 | 
				
			||||||
 | 
					[ext_resource path="res://scripts/menus/character_creation/CharacterCreation.gd" type="Script" id=4]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="CharacterCreation" type="VBoxContainer"]
 | 
				
			||||||
 | 
					anchor_right = 1.0
 | 
				
			||||||
 | 
					anchor_bottom = 1.0
 | 
				
			||||||
 | 
					script = ExtResource( 4 )
 | 
				
			||||||
 | 
					__meta__ = {
 | 
				
			||||||
 | 
					"_edit_use_anchors_": false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					nameTextEdit = NodePath("NameEdit")
 | 
				
			||||||
 | 
					factionButtonsNode = NodePath("FactionButtons")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="NameLabel" type="Label" parent="."]
 | 
				
			||||||
 | 
					margin_right = 1024.0
 | 
				
			||||||
 | 
					margin_bottom = 14.0
 | 
				
			||||||
 | 
					text = "The Legacy of"
 | 
				
			||||||
 | 
					align = 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="NameEdit" type="LineEdit" parent="."]
 | 
				
			||||||
 | 
					margin_top = 18.0
 | 
				
			||||||
 | 
					margin_right = 1024.0
 | 
				
			||||||
 | 
					margin_bottom = 42.0
 | 
				
			||||||
 | 
					align = 1
 | 
				
			||||||
 | 
					placeholder_text = "Character Name"
 | 
				
			||||||
 | 
					script = ExtResource( 3 )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="FactionLabel" type="Label" parent="."]
 | 
				
			||||||
 | 
					margin_top = 46.0
 | 
				
			||||||
 | 
					margin_right = 1024.0
 | 
				
			||||||
 | 
					margin_bottom = 60.0
 | 
				
			||||||
 | 
					text = "Select your family"
 | 
				
			||||||
 | 
					align = 1
 | 
				
			||||||
 | 
					uppercase = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="FactionButtons" type="HBoxContainer" parent="."]
 | 
				
			||||||
 | 
					margin_top = 64.0
 | 
				
			||||||
 | 
					margin_right = 1024.0
 | 
				
			||||||
 | 
					margin_bottom = 198.0
 | 
				
			||||||
 | 
					alignment = 1
 | 
				
			||||||
 | 
					script = ExtResource( 2 )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="Button" type="Button" parent="FactionButtons"]
 | 
				
			||||||
 | 
					margin_left = 474.0
 | 
				
			||||||
 | 
					margin_right = 550.0
 | 
				
			||||||
 | 
					margin_bottom = 134.0
 | 
				
			||||||
 | 
					icon = ExtResource( 1 )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[node name="Button" type="Button" parent="."]
 | 
				
			||||||
 | 
					margin_top = 202.0
 | 
				
			||||||
 | 
					margin_right = 1024.0
 | 
				
			||||||
 | 
					margin_bottom = 222.0
 | 
				
			||||||
 | 
					text = "Join World"
 | 
				
			||||||
 | 
					[connection signal="button_down" from="Button" to="." method="_on_Button_button_down"]
 | 
				
			||||||
							
								
								
									
										13
									
								
								client/scripts/entities/PlayerPuppet.gd
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					extends Sprite
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export var faction = 1 setget set_faction, get_faction
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func _ready():
 | 
				
			||||||
 | 
						set_faction(faction)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func set_faction(new_faction):
 | 
				
			||||||
 | 
						faction = new_faction
 | 
				
			||||||
 | 
						texture = load("res://art/entities/player/dev/dev_player_" + str(faction) + ".png")
 | 
				
			||||||
 | 
						
 | 
				
			||||||
 | 
					func get_faction():
 | 
				
			||||||
 | 
						return faction
 | 
				
			||||||
							
								
								
									
										16
									
								
								client/scripts/menus/character_creation/CharacterCreation.gd
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					extends Node
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export(NodePath) var nameTextEdit
 | 
				
			||||||
 | 
					export(NodePath) var factionButtonsNode
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					onready var nameEdit : LineEdit = get_node(nameTextEdit)
 | 
				
			||||||
 | 
					onready var factionButtons = get_node(factionButtonsNode)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func _on_Button_button_down():
 | 
				
			||||||
 | 
						if nameEdit.text != "":
 | 
				
			||||||
 | 
							if factionButtons.currently_selected:
 | 
				
			||||||
 | 
								for i in range(1,len(GameData.factions)):
 | 
				
			||||||
 | 
									if GameData.factions[i] == factionButtons.currently_selected:
 | 
				
			||||||
 | 
										var created_char = yield(ServerConnection.create_character_async(nameEdit.text, i), "completed")
 | 
				
			||||||
 | 
										if created_char:
 | 
				
			||||||
 | 
											get_tree().change_scene("res://scenes/World.tscn")
 | 
				
			||||||
							
								
								
									
										20
									
								
								client/scripts/menus/character_creation/FactionButtons.gd
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					extends Node
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					signal selection_updated(faction)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var currently_selected : String
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func _ready():
 | 
				
			||||||
 | 
						get_child(0).queue_free()
 | 
				
			||||||
 | 
						for faction in GameData.factions:
 | 
				
			||||||
 | 
							if faction == "Electus":
 | 
				
			||||||
 | 
								return
 | 
				
			||||||
 | 
							
 | 
				
			||||||
 | 
							var faction_button = Button.new()
 | 
				
			||||||
 | 
							faction_button.icon = load("res://art/gui/banners/" + faction.to_lower() + ".png")
 | 
				
			||||||
 | 
							faction_button.connect("button_down", self, "on_faction_select", [faction])
 | 
				
			||||||
 | 
							add_child(faction_button)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func on_faction_select(faction):
 | 
				
			||||||
 | 
						currently_selected = faction
 | 
				
			||||||
 | 
						emit_signal("selection_updated", faction)
 | 
				
			||||||
							
								
								
									
										14
									
								
								client/scripts/menus/character_creation/NameEdit.gd
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					extends LineEdit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var invalid_chars = " '.,;/\\,[](){}!@#$%^&*-=|_+1234567890\""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func _ready():
 | 
				
			||||||
 | 
						connect("text_changed", self, "validate_name")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func validate_name(name):
 | 
				
			||||||
 | 
						var cursor_pos = caret_position
 | 
				
			||||||
 | 
						for character in invalid_chars:
 | 
				
			||||||
 | 
							if character in text:
 | 
				
			||||||
 | 
								text = text.replace(character, "")
 | 
				
			||||||
 | 
								caret_position = cursor_pos
 | 
				
			||||||
							
								
								
									
										8
									
								
								client/scripts/singletons/GameData.gd
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					extends Node
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var factions = [
 | 
				
			||||||
 | 
						"Burningwall",
 | 
				
			||||||
 | 
						"Lunaki",
 | 
				
			||||||
 | 
						"Regium",
 | 
				
			||||||
 | 
						"Electus"
 | 
				
			||||||
 | 
					]
 | 
				
			||||||
@ -4,19 +4,21 @@ signal tile_update(tile_data)
 | 
				
			|||||||
signal player_joined(user_id)
 | 
					signal player_joined(user_id)
 | 
				
			||||||
signal player_left(user_id)
 | 
					signal player_left(user_id)
 | 
				
			||||||
signal player_pos_update(user_id, pos)
 | 
					signal player_pos_update(user_id, pos)
 | 
				
			||||||
 | 
					signal player_state_update(user_id, user_name, faction)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const KEY := "defaultkey"
 | 
					const KEY := "defaultkey"
 | 
				
			||||||
const SERVER_ENDPOINT := "nakama.cloudsumu.com"
 | 
					const SERVER_ENDPOINT := "nakama.cloudsumu.com"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var _session : NakamaSession
 | 
					var _session : NakamaSession
 | 
				
			||||||
var _client : NakamaClient = Nakama.create_client(KEY, SERVER_ENDPOINT, 7350, "http")
 | 
					var _client : NakamaClient = Nakama.create_client(KEY, SERVER_ENDPOINT, 7350, "http", Nakama.DEFAULT_TIMEOUT, NakamaLogger.LOG_LEVEL.ERROR)
 | 
				
			||||||
var _socket : NakamaSocket
 | 
					var _socket : NakamaSocket
 | 
				
			||||||
var _precenses : Dictionary = {}
 | 
					var _precenses : Dictionary = {}
 | 
				
			||||||
var _world_id
 | 
					var _world_id
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum OPCODE {
 | 
					enum OPCODE {
 | 
				
			||||||
	tile_update = 1,
 | 
						tile_update = 1,
 | 
				
			||||||
	update_position = 2
 | 
						update_position = 2,
 | 
				
			||||||
 | 
						player_state = 3
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func authenticate_async(email : String, password : String) -> NakamaException:
 | 
					func authenticate_async(email : String, password : String) -> NakamaException:
 | 
				
			||||||
@ -62,6 +64,11 @@ func join_world_async() -> Dictionary:
 | 
				
			|||||||
	var match_join_result : NakamaRTAPI.Match = yield(_socket.join_match_async(world.payload), "completed")
 | 
						var match_join_result : NakamaRTAPI.Match = yield(_socket.join_match_async(world.payload), "completed")
 | 
				
			||||||
	if match_join_result.is_exception():
 | 
						if match_join_result.is_exception():
 | 
				
			||||||
		print("Join match error: %s - %s" % [match_join_result.exception.status_code, match_join_result.exception.message])
 | 
							print("Join match error: %s - %s" % [match_join_result.exception.status_code, match_join_result.exception.message])
 | 
				
			||||||
 | 
							
 | 
				
			||||||
 | 
							# THIS SECTION NEEDS TO BE UPADTED TO BE DECOUPLED
 | 
				
			||||||
 | 
							# IT SHOULD ALSO NOT CATCH ALL JOIN ERRORS!
 | 
				
			||||||
 | 
							get_tree().change_scene("res://scenes/CharacterCreation.tscn")
 | 
				
			||||||
 | 
							
 | 
				
			||||||
		return {}
 | 
							return {}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
	_world_id = world.payload
 | 
						_world_id = world.payload
 | 
				
			||||||
@ -95,7 +102,17 @@ func _on_socket_received_match_state(match_state: NakamaRTAPI.MatchData):
 | 
				
			|||||||
		OPCODE.update_position:
 | 
							OPCODE.update_position:
 | 
				
			||||||
			var pos_data = JSON.parse(match_state.data).result
 | 
								var pos_data = JSON.parse(match_state.data).result
 | 
				
			||||||
			emit_signal("player_pos_update", pos_data["player"], Vector2(float(pos_data["x"]), float(pos_data["y"])))
 | 
								emit_signal("player_pos_update", pos_data["player"], Vector2(float(pos_data["x"]), float(pos_data["y"])))
 | 
				
			||||||
 | 
							OPCODE.player_state:
 | 
				
			||||||
 | 
								var state_data = JSON.parse(match_state.data).result
 | 
				
			||||||
 | 
								emit_signal("player_state_update", state_data["player"], state_data["name"], state_data["faction"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func send_player_position(position : Vector2) -> void:
 | 
					func send_player_position(position : Vector2) -> void:
 | 
				
			||||||
	_socket.send_match_state_async(_world_id, OPCODE.update_position, JSON.print({X = str(position.x), Y = str(position.y)}))
 | 
						_socket.send_match_state_async(_world_id, OPCODE.update_position, JSON.print({X = str(position.x), Y = str(position.y)}))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func create_character_async(name : String, faction : int) -> Dictionary:
 | 
				
			||||||
 | 
						
 | 
				
			||||||
 | 
						var character_response : NakamaAPI.ApiRpc = yield(_client.rpc_async(_session, "create_character", JSON.print({"name":name, "faction" : faction})), "completed")
 | 
				
			||||||
 | 
						if character_response.is_exception():
 | 
				
			||||||
 | 
							print("Create character error occured: %s" % character_response.exception.message)
 | 
				
			||||||
 | 
							return false
 | 
				
			||||||
 | 
						return true
 | 
				
			||||||
 | 
				
			|||||||
@ -11,6 +11,7 @@ func _ready():
 | 
				
			|||||||
	ServerConnection.connect("player_joined", self, "on_player_join")
 | 
						ServerConnection.connect("player_joined", self, "on_player_join")
 | 
				
			||||||
	ServerConnection.connect("player_left", self, "on_player_leave")
 | 
						ServerConnection.connect("player_left", self, "on_player_leave")
 | 
				
			||||||
	ServerConnection.connect("player_pos_update", self, "on_player_pos_update")
 | 
						ServerConnection.connect("player_pos_update", self, "on_player_pos_update")
 | 
				
			||||||
 | 
						ServerConnection.connect("player_state_update", self, "on_player_state_update")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func on_player_join(user_id):
 | 
					func on_player_join(user_id):
 | 
				
			||||||
@ -29,3 +30,12 @@ func on_player_pos_update(user_id, pos):
 | 
				
			|||||||
	if user_id != ServerConnection._session.user_id:
 | 
						if user_id != ServerConnection._session.user_id:
 | 
				
			||||||
		var player_puppet : Node2D = puppets[user_id]
 | 
							var player_puppet : Node2D = puppets[user_id]
 | 
				
			||||||
		player_puppet.global_position = pos
 | 
							player_puppet.global_position = pos
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func on_player_state_update(user_id, user_name, faction):
 | 
				
			||||||
 | 
						if user_id != ServerConnection._session.user_id:
 | 
				
			||||||
 | 
							if user_id in puppets:
 | 
				
			||||||
 | 
								var player_puppet : Node2D = puppets[user_id]
 | 
				
			||||||
 | 
								player_puppet.name = user_name
 | 
				
			||||||
 | 
								player_puppet.set_faction(faction)
 | 
				
			||||||
 | 
							else:
 | 
				
			||||||
 | 
								print("Could not update player state for nonexisting player!")
 | 
				
			||||||
 | 
				
			|||||||