Browse Source

bunch of fixes based on feedback, adding changelog

galo 1 year ago
parent
commit
b02f75db70
94 changed files with 1014 additions and 39 deletions
  1. 3 0
      .import/frame0000.png-ab30cacfa625683d3689a40fac4b317a.md5
  2. BIN
      .import/frame0000.png-ab30cacfa625683d3689a40fac4b317a.stex
  3. 3 0
      .import/frame0001.png-5d94287624acca8c0bed3a79caab46ff.md5
  4. BIN
      .import/frame0001.png-5d94287624acca8c0bed3a79caab46ff.stex
  5. 3 0
      .import/frame0002.png-b592d82021e02d2791249d8f9424fb35.md5
  6. BIN
      .import/frame0002.png-b592d82021e02d2791249d8f9424fb35.stex
  7. 3 0
      .import/frame0003.png-207676c2442daa6d7231617436e0396f.md5
  8. BIN
      .import/frame0003.png-207676c2442daa6d7231617436e0396f.stex
  9. 3 0
      .import/frame0004.png-a439265ab5fd67a12031fb7d16752785.md5
  10. BIN
      .import/frame0004.png-a439265ab5fd67a12031fb7d16752785.stex
  11. 3 0
      .import/frame0005.png-827b0ca9294e06d48dc1c5b4aa75546d.md5
  12. BIN
      .import/frame0005.png-827b0ca9294e06d48dc1c5b4aa75546d.stex
  13. 3 0
      .import/frame0006.png-f749583555bcf2e1f4a99860dbc2f21c.md5
  14. BIN
      .import/frame0006.png-f749583555bcf2e1f4a99860dbc2f21c.stex
  15. 3 0
      .import/frame0007.png-85566262630c1fc7a435d7835526c9f1.md5
  16. BIN
      .import/frame0007.png-85566262630c1fc7a435d7835526c9f1.stex
  17. 3 0
      .import/frame0008.png-599f6df8415fee5651fe7df738a6b071.md5
  18. BIN
      .import/frame0008.png-599f6df8415fee5651fe7df738a6b071.stex
  19. 3 0
      .import/frame0009.png-4f8065f1d0aadb4f9831288b66c7473d.md5
  20. BIN
      .import/frame0009.png-4f8065f1d0aadb4f9831288b66c7473d.stex
  21. 3 0
      .import/frame0010.png-82836ba282d47cc4b590eae81c1acb6b.md5
  22. BIN
      .import/frame0010.png-82836ba282d47cc4b590eae81c1acb6b.stex
  23. 3 0
      .import/frame0011.png-8ef90f3935d3e60cc7b5890a6a3e806e.md5
  24. BIN
      .import/frame0011.png-8ef90f3935d3e60cc7b5890a6a3e806e.stex
  25. 3 0
      .import/frame0012.png-191a43451108529db0b99c3c9dbeac7e.md5
  26. BIN
      .import/frame0012.png-191a43451108529db0b99c3c9dbeac7e.stex
  27. 3 0
      .import/frame0013.png-c51cc0b1191a1f8f4f05ed86e4c4e96c.md5
  28. BIN
      .import/frame0013.png-c51cc0b1191a1f8f4f05ed86e4c4e96c.stex
  29. 3 0
      .import/frame0014.png-c317f214f704f2dbaec94f2953bb17c7.md5
  30. BIN
      .import/frame0014.png-c317f214f704f2dbaec94f2953bb17c7.stex
  31. 3 0
      .import/frame0015.png-da8a89dc67591cb99d76503a050ee16b.md5
  32. BIN
      .import/frame0015.png-da8a89dc67591cb99d76503a050ee16b.stex
  33. 3 0
      .import/frame0016.png-53be4315a4d3928f500450970fbf9096.md5
  34. BIN
      .import/frame0016.png-53be4315a4d3928f500450970fbf9096.stex
  35. 3 0
      .import/frame0017.png-cca873d30f7637581e9435110588b20e.md5
  36. BIN
      .import/frame0017.png-cca873d30f7637581e9435110588b20e.stex
  37. 3 0
      .import/frame0018.png-a45771a38272749fdc060454ec3ea5e8.md5
  38. BIN
      .import/frame0018.png-a45771a38272749fdc060454ec3ea5e8.stex
  39. 3 0
      .import/frame0019.png-aa47e795df70bbea5dc4ce785814b4a9.md5
  40. BIN
      .import/frame0019.png-aa47e795df70bbea5dc4ce785814b4a9.stex
  41. 3 0
      .import/frame0020.png-0c12828311e101200ed7a85dd423feb7.md5
  42. BIN
      .import/frame0020.png-0c12828311e101200ed7a85dd423feb7.stex
  43. 15 0
      Client.gd
  44. 4 35
      Server.gd
  45. BIN
      art/explosion/frame0000.png
  46. 35 0
      art/explosion/frame0000.png.import
  47. BIN
      art/explosion/frame0001.png
  48. 35 0
      art/explosion/frame0001.png.import
  49. BIN
      art/explosion/frame0002.png
  50. 35 0
      art/explosion/frame0002.png.import
  51. BIN
      art/explosion/frame0003.png
  52. 35 0
      art/explosion/frame0003.png.import
  53. BIN
      art/explosion/frame0004.png
  54. 35 0
      art/explosion/frame0004.png.import
  55. BIN
      art/explosion/frame0005.png
  56. 35 0
      art/explosion/frame0005.png.import
  57. BIN
      art/explosion/frame0006.png
  58. 35 0
      art/explosion/frame0006.png.import
  59. BIN
      art/explosion/frame0007.png
  60. 35 0
      art/explosion/frame0007.png.import
  61. BIN
      art/explosion/frame0008.png
  62. 35 0
      art/explosion/frame0008.png.import
  63. BIN
      art/explosion/frame0009.png
  64. 35 0
      art/explosion/frame0009.png.import
  65. BIN
      art/explosion/frame0010.png
  66. 35 0
      art/explosion/frame0010.png.import
  67. BIN
      art/explosion/frame0011.png
  68. 35 0
      art/explosion/frame0011.png.import
  69. BIN
      art/explosion/frame0012.png
  70. 35 0
      art/explosion/frame0012.png.import
  71. BIN
      art/explosion/frame0013.png
  72. 35 0
      art/explosion/frame0013.png.import
  73. BIN
      art/explosion/frame0014.png
  74. 35 0
      art/explosion/frame0014.png.import
  75. BIN
      art/explosion/frame0015.png
  76. 35 0
      art/explosion/frame0015.png.import
  77. BIN
      art/explosion/frame0016.png
  78. 35 0
      art/explosion/frame0016.png.import
  79. BIN
      art/explosion/frame0017.png
  80. 35 0
      art/explosion/frame0017.png.import
  81. BIN
      art/explosion/frame0018.png
  82. 35 0
      art/explosion/frame0018.png.import
  83. BIN
      art/explosion/frame0019.png
  84. 35 0
      art/explosion/frame0019.png.import
  85. BIN
      art/explosion/frame0020.png
  86. 35 0
      art/explosion/frame0020.png.import
  87. 3 0
      enemie/enemyspriter.gd
  88. 3 1
      enemie/enemyspriter.tscn
  89. 27 1
      enemie/new_spriteframes.tres
  90. 105 0
      enemie/newai.gd
  91. 16 0
      enemie/tankboss.tscn
  92. 28 0
      enemie/tankcanonball.tscn
  93. 14 2
      main.tscn
  94. 1 0
      playerphysics.gd

+ 3 - 0
.import/frame0000.png-ab30cacfa625683d3689a40fac4b317a.md5

@@ -0,0 +1,3 @@
+source_md5="699a2c44559eb42038d9232ebc343935"
+dest_md5="f308902f051c6381edce7e5abc5989ef"
+

BIN
.import/frame0000.png-ab30cacfa625683d3689a40fac4b317a.stex


+ 3 - 0
.import/frame0001.png-5d94287624acca8c0bed3a79caab46ff.md5

@@ -0,0 +1,3 @@
+source_md5="41b6ada62d3a9297857a190a70f39815"
+dest_md5="24581377ef060be5acf4376c878196c1"
+

BIN
.import/frame0001.png-5d94287624acca8c0bed3a79caab46ff.stex


+ 3 - 0
.import/frame0002.png-b592d82021e02d2791249d8f9424fb35.md5

@@ -0,0 +1,3 @@
+source_md5="07ee2b5c302372866c3b746d365ea13c"
+dest_md5="ada36126aeb9f79e3c9a403751e1906e"
+

BIN
.import/frame0002.png-b592d82021e02d2791249d8f9424fb35.stex


+ 3 - 0
.import/frame0003.png-207676c2442daa6d7231617436e0396f.md5

@@ -0,0 +1,3 @@
+source_md5="e045c85a1ea36e8d94b28eee4ac04314"
+dest_md5="89db11ae4b8902a98d1fddb7ba906604"
+

BIN
.import/frame0003.png-207676c2442daa6d7231617436e0396f.stex


+ 3 - 0
.import/frame0004.png-a439265ab5fd67a12031fb7d16752785.md5

@@ -0,0 +1,3 @@
+source_md5="ee7d420edb527972bc4e050a88114168"
+dest_md5="16e4767f66c13a2deeff71d725bf46e0"
+

BIN
.import/frame0004.png-a439265ab5fd67a12031fb7d16752785.stex


+ 3 - 0
.import/frame0005.png-827b0ca9294e06d48dc1c5b4aa75546d.md5

@@ -0,0 +1,3 @@
+source_md5="4a50c01e43bc6ba760f6895bc86c97a7"
+dest_md5="db9ee130359919f4232c41949df5bf53"
+

BIN
.import/frame0005.png-827b0ca9294e06d48dc1c5b4aa75546d.stex


+ 3 - 0
.import/frame0006.png-f749583555bcf2e1f4a99860dbc2f21c.md5

@@ -0,0 +1,3 @@
+source_md5="d8b6116b4d6e4a42427d4a87a1c47bb3"
+dest_md5="6f5102dc6cf7f0032fbbae3e88d4b8cd"
+

BIN
.import/frame0006.png-f749583555bcf2e1f4a99860dbc2f21c.stex


+ 3 - 0
.import/frame0007.png-85566262630c1fc7a435d7835526c9f1.md5

@@ -0,0 +1,3 @@
+source_md5="4cef517e9348f28266cd82e924d426f6"
+dest_md5="52753559c76fa401c6e9420f175eae41"
+

BIN
.import/frame0007.png-85566262630c1fc7a435d7835526c9f1.stex


+ 3 - 0
.import/frame0008.png-599f6df8415fee5651fe7df738a6b071.md5

@@ -0,0 +1,3 @@
+source_md5="9cee2676e2a6a4b1cee45648880ee963"
+dest_md5="ff9df4158c75d5fc071cb5089195b75b"
+

BIN
.import/frame0008.png-599f6df8415fee5651fe7df738a6b071.stex


+ 3 - 0
.import/frame0009.png-4f8065f1d0aadb4f9831288b66c7473d.md5

@@ -0,0 +1,3 @@
+source_md5="07c9b45f7fa3a17905b28b9c3d382186"
+dest_md5="eb9d4267ac04b01c9fa12e81e8790496"
+

BIN
.import/frame0009.png-4f8065f1d0aadb4f9831288b66c7473d.stex


+ 3 - 0
.import/frame0010.png-82836ba282d47cc4b590eae81c1acb6b.md5

@@ -0,0 +1,3 @@
+source_md5="6f4c848cf8dacf40d10267be07319d3f"
+dest_md5="7d99b13333f047df239f5eb541f923f6"
+

BIN
.import/frame0010.png-82836ba282d47cc4b590eae81c1acb6b.stex


+ 3 - 0
.import/frame0011.png-8ef90f3935d3e60cc7b5890a6a3e806e.md5

@@ -0,0 +1,3 @@
+source_md5="80c8c17070b6cb608a2d4af68acae061"
+dest_md5="3d62a00638e853a866e006f1ac18ed76"
+

BIN
.import/frame0011.png-8ef90f3935d3e60cc7b5890a6a3e806e.stex


+ 3 - 0
.import/frame0012.png-191a43451108529db0b99c3c9dbeac7e.md5

@@ -0,0 +1,3 @@
+source_md5="7d8ea4b4615cad8b860f9a11a497a092"
+dest_md5="1169da31caf147557d6af08736bc6dfb"
+

BIN
.import/frame0012.png-191a43451108529db0b99c3c9dbeac7e.stex


+ 3 - 0
.import/frame0013.png-c51cc0b1191a1f8f4f05ed86e4c4e96c.md5

@@ -0,0 +1,3 @@
+source_md5="13452585c0b7d769b37fccf8acddd7c0"
+dest_md5="fd111c63984c8aa0ffdf4b5563122822"
+

BIN
.import/frame0013.png-c51cc0b1191a1f8f4f05ed86e4c4e96c.stex


+ 3 - 0
.import/frame0014.png-c317f214f704f2dbaec94f2953bb17c7.md5

@@ -0,0 +1,3 @@
+source_md5="2978eaa24b41159b07d64914fa7df6d3"
+dest_md5="891b28b5633023b022b317a370d2ec20"
+

BIN
.import/frame0014.png-c317f214f704f2dbaec94f2953bb17c7.stex


+ 3 - 0
.import/frame0015.png-da8a89dc67591cb99d76503a050ee16b.md5

@@ -0,0 +1,3 @@
+source_md5="8310137620b54499dcbaba6a4c61ffc0"
+dest_md5="388d65f04bc2ab0a54664f72f9fa1812"
+

BIN
.import/frame0015.png-da8a89dc67591cb99d76503a050ee16b.stex


+ 3 - 0
.import/frame0016.png-53be4315a4d3928f500450970fbf9096.md5

@@ -0,0 +1,3 @@
+source_md5="90955b367b9e28f2b951ca5cc8917ec2"
+dest_md5="6e04ba2eca1d1913cd58ab4c8707e140"
+

BIN
.import/frame0016.png-53be4315a4d3928f500450970fbf9096.stex


+ 3 - 0
.import/frame0017.png-cca873d30f7637581e9435110588b20e.md5

@@ -0,0 +1,3 @@
+source_md5="2e2653334ef67f57c1623a3c1c3c63c9"
+dest_md5="ac57770733d3c7393a5472ba0c60bd93"
+

BIN
.import/frame0017.png-cca873d30f7637581e9435110588b20e.stex


+ 3 - 0
.import/frame0018.png-a45771a38272749fdc060454ec3ea5e8.md5

@@ -0,0 +1,3 @@
+source_md5="c270955a1992969516d9e99478fa213f"
+dest_md5="6a92c63aa5c3d880d8ec318bbf4e1117"
+

BIN
.import/frame0018.png-a45771a38272749fdc060454ec3ea5e8.stex


+ 3 - 0
.import/frame0019.png-aa47e795df70bbea5dc4ce785814b4a9.md5

@@ -0,0 +1,3 @@
+source_md5="b06ca69b3acdefc6386e45bbc92ba6ba"
+dest_md5="9f28107dd4a5f4aa1158d3bbeaa8fc11"
+

BIN
.import/frame0019.png-aa47e795df70bbea5dc4ce785814b4a9.stex


+ 3 - 0
.import/frame0020.png-0c12828311e101200ed7a85dd423feb7.md5

@@ -0,0 +1,3 @@
+source_md5="fbe9ffc443434b042ca5710832d83ead"
+dest_md5="f308902f051c6381edce7e5abc5989ef"
+

BIN
.import/frame0020.png-0c12828311e101200ed7a85dd423feb7.stex


+ 15 - 0
Client.gd

@@ -241,3 +241,18 @@ remote func _on_usernames(arg):
 	for i in arg.keys():
 		usernamelist[i] = arg[i]
 
+var spriter = preload('res://enemie/enemyspriter.tscn')
+var sprite_list = {}
+
+remote func add_sprite(anim, pos, id):
+	if not sprite_list.keys().has(id):
+		var instancer = spriter.instance()
+		add_child(instancer)
+		instancer.id = id
+		sprite_list[id] = instancer
+	sprite_list[id].global_position = pos
+	sprite_list[id].set_animation(anim)
+
+remote func nuke_sprite(id):
+	if sprite_list.keys().has(id):
+		sprite_list[id].queue_free()

+ 4 - 35
Server.gd

@@ -197,40 +197,9 @@ func level_up(lv, maxhp, gain, dmgup, id):
 	$players.get_node(str(id)).regenhp(gain)
 	$players.get_node(str(id)).dmg += dmgup
 	rpc_id( 0,'atr_update', {id:{'maxhp':maxhp}})
-	
-#	gen_power_queue(str(id))
-
-#powerup code
-
-var queue_powermenu_request = {
-#	'id' : {'power':['a','b','c'],'client':0}
-}
-
-func gen_power_queue(client):
-	var time = str(OS.get_system_time_msecs())+str(client)
-	queue_powermenu_request[time] = {}
-	queue_powermenu_request[time]['power'] = gen_power()
-	queue_powermenu_request[time]['client'] = client
-	rpc_id( int(client), 'powerpick', queue_powermenu_request[time]['power'] , time )
-	_pauser_gen(false)
-
-remote func optionpick(id, choice):
-	var client = api.get_rpc_sender_id()
-	if queue_powermenu_request.has(id):
-		var power = queue_powermenu_request[id]['power'][choice]
-		print(power)
-		if $players.has_node(str(client)):
-			$players.get_node(str(client)).add_power(power)
-		queue_powermenu_request.erase(id)
-	print(queue_powermenu_request)
-	_pauser_gen(true)
-
-func _pauser_gen(arg):
-	set_physics_process(arg)
-	$enemies.set_physics_process(arg)
-	for i in $players.get_children():
-		i.set_physics_process(arg)
 
-func gen_power():
-	return ['a','b','c']
+func spriter_request(anim, pos, id):
+	rpc_id( 0,'add_sprite', anim, pos, id)
 
+func spriter_nuke_request(id):
+	rpc_id( 0,'nuke_sprite', id)

BIN
art/explosion/frame0000.png


+ 35 - 0
art/explosion/frame0000.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0000.png-ab30cacfa625683d3689a40fac4b317a.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0000.png"
+dest_files=[ "res://.import/frame0000.png-ab30cacfa625683d3689a40fac4b317a.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0001.png


+ 35 - 0
art/explosion/frame0001.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0001.png-5d94287624acca8c0bed3a79caab46ff.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0001.png"
+dest_files=[ "res://.import/frame0001.png-5d94287624acca8c0bed3a79caab46ff.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0002.png


+ 35 - 0
art/explosion/frame0002.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0002.png-b592d82021e02d2791249d8f9424fb35.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0002.png"
+dest_files=[ "res://.import/frame0002.png-b592d82021e02d2791249d8f9424fb35.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0003.png


+ 35 - 0
art/explosion/frame0003.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0003.png-207676c2442daa6d7231617436e0396f.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0003.png"
+dest_files=[ "res://.import/frame0003.png-207676c2442daa6d7231617436e0396f.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0004.png


+ 35 - 0
art/explosion/frame0004.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0004.png-a439265ab5fd67a12031fb7d16752785.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0004.png"
+dest_files=[ "res://.import/frame0004.png-a439265ab5fd67a12031fb7d16752785.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0005.png


+ 35 - 0
art/explosion/frame0005.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0005.png-827b0ca9294e06d48dc1c5b4aa75546d.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0005.png"
+dest_files=[ "res://.import/frame0005.png-827b0ca9294e06d48dc1c5b4aa75546d.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0006.png


+ 35 - 0
art/explosion/frame0006.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0006.png-f749583555bcf2e1f4a99860dbc2f21c.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0006.png"
+dest_files=[ "res://.import/frame0006.png-f749583555bcf2e1f4a99860dbc2f21c.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0007.png


+ 35 - 0
art/explosion/frame0007.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0007.png-85566262630c1fc7a435d7835526c9f1.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0007.png"
+dest_files=[ "res://.import/frame0007.png-85566262630c1fc7a435d7835526c9f1.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0008.png


+ 35 - 0
art/explosion/frame0008.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0008.png-599f6df8415fee5651fe7df738a6b071.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0008.png"
+dest_files=[ "res://.import/frame0008.png-599f6df8415fee5651fe7df738a6b071.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0009.png


+ 35 - 0
art/explosion/frame0009.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0009.png-4f8065f1d0aadb4f9831288b66c7473d.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0009.png"
+dest_files=[ "res://.import/frame0009.png-4f8065f1d0aadb4f9831288b66c7473d.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0010.png


+ 35 - 0
art/explosion/frame0010.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0010.png-82836ba282d47cc4b590eae81c1acb6b.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0010.png"
+dest_files=[ "res://.import/frame0010.png-82836ba282d47cc4b590eae81c1acb6b.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0011.png


+ 35 - 0
art/explosion/frame0011.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0011.png-8ef90f3935d3e60cc7b5890a6a3e806e.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0011.png"
+dest_files=[ "res://.import/frame0011.png-8ef90f3935d3e60cc7b5890a6a3e806e.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0012.png


+ 35 - 0
art/explosion/frame0012.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0012.png-191a43451108529db0b99c3c9dbeac7e.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0012.png"
+dest_files=[ "res://.import/frame0012.png-191a43451108529db0b99c3c9dbeac7e.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0013.png


+ 35 - 0
art/explosion/frame0013.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0013.png-c51cc0b1191a1f8f4f05ed86e4c4e96c.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0013.png"
+dest_files=[ "res://.import/frame0013.png-c51cc0b1191a1f8f4f05ed86e4c4e96c.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0014.png


+ 35 - 0
art/explosion/frame0014.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0014.png-c317f214f704f2dbaec94f2953bb17c7.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0014.png"
+dest_files=[ "res://.import/frame0014.png-c317f214f704f2dbaec94f2953bb17c7.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0015.png


+ 35 - 0
art/explosion/frame0015.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0015.png-da8a89dc67591cb99d76503a050ee16b.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0015.png"
+dest_files=[ "res://.import/frame0015.png-da8a89dc67591cb99d76503a050ee16b.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0016.png


+ 35 - 0
art/explosion/frame0016.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0016.png-53be4315a4d3928f500450970fbf9096.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0016.png"
+dest_files=[ "res://.import/frame0016.png-53be4315a4d3928f500450970fbf9096.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0017.png


+ 35 - 0
art/explosion/frame0017.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0017.png-cca873d30f7637581e9435110588b20e.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0017.png"
+dest_files=[ "res://.import/frame0017.png-cca873d30f7637581e9435110588b20e.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0018.png


+ 35 - 0
art/explosion/frame0018.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0018.png-a45771a38272749fdc060454ec3ea5e8.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0018.png"
+dest_files=[ "res://.import/frame0018.png-a45771a38272749fdc060454ec3ea5e8.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0019.png


+ 35 - 0
art/explosion/frame0019.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0019.png-aa47e795df70bbea5dc4ce785814b4a9.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0019.png"
+dest_files=[ "res://.import/frame0019.png-aa47e795df70bbea5dc4ce785814b4a9.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

BIN
art/explosion/frame0020.png


+ 35 - 0
art/explosion/frame0020.png.import

@@ -0,0 +1,35 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path="res://.import/frame0020.png-0c12828311e101200ed7a85dd423feb7.stex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://art/explosion/frame0020.png"
+dest_files=[ "res://.import/frame0020.png-0c12828311e101200ed7a85dd423feb7.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
+process/normal_map_invert_y=false
+stream=false
+size_limit=0
+detect_3d=true
+svg/scale=1.0

+ 3 - 0
enemie/enemyspriter.gd

@@ -0,0 +1,3 @@
+extends AnimatedSprite
+
+var id

+ 3 - 1
enemie/enemyspriter.tscn

@@ -1,8 +1,10 @@
-[gd_scene load_steps=2 format=2]
+[gd_scene load_steps=3 format=2]
 
 [ext_resource path="res://enemie/new_spriteframes.tres" type="SpriteFrames" id=1]
+[ext_resource path="res://enemie/enemyspriter.gd" type="Script" id=2]
 
 [node name="enemyspriter" type="AnimatedSprite"]
 position = Vector2( 687.306, 188.484 )
 frames = ExtResource( 1 )
 animation = "knockback"
+script = ExtResource( 2 )

+ 27 - 1
enemie/new_spriteframes.tres

@@ -1,4 +1,4 @@
-[gd_resource type="SpriteFrames" load_steps=121 format=2]
+[gd_resource type="SpriteFrames" load_steps=142 format=2]
 
 [ext_resource path="res://art/tank/_die/frame0019.png" type="Texture" id=1]
 [ext_resource path="res://art/tank/_die/frame0002.png" type="Texture" id=2]
@@ -120,6 +120,27 @@
 [ext_resource path="res://art/tank/_knockback/frame0048.png" type="Texture" id=118]
 [ext_resource path="res://art/tank/_knockback/frame0046.png" type="Texture" id=119]
 [ext_resource path="res://art/tank/_knockback/frame0044.png" type="Texture" id=120]
+[ext_resource path="res://art/explosion/frame0003.png" type="Texture" id=121]
+[ext_resource path="res://art/explosion/frame0007.png" type="Texture" id=122]
+[ext_resource path="res://art/explosion/frame0010.png" type="Texture" id=123]
+[ext_resource path="res://art/explosion/frame0015.png" type="Texture" id=124]
+[ext_resource path="res://art/explosion/frame0018.png" type="Texture" id=125]
+[ext_resource path="res://art/explosion/frame0013.png" type="Texture" id=126]
+[ext_resource path="res://art/explosion/frame0014.png" type="Texture" id=127]
+[ext_resource path="res://art/explosion/frame0001.png" type="Texture" id=128]
+[ext_resource path="res://art/explosion/frame0020.png" type="Texture" id=129]
+[ext_resource path="res://art/explosion/frame0009.png" type="Texture" id=130]
+[ext_resource path="res://art/explosion/frame0011.png" type="Texture" id=131]
+[ext_resource path="res://art/explosion/frame0012.png" type="Texture" id=132]
+[ext_resource path="res://art/explosion/frame0002.png" type="Texture" id=133]
+[ext_resource path="res://art/explosion/frame0016.png" type="Texture" id=134]
+[ext_resource path="res://art/explosion/frame0019.png" type="Texture" id=135]
+[ext_resource path="res://art/explosion/frame0008.png" type="Texture" id=136]
+[ext_resource path="res://art/explosion/frame0005.png" type="Texture" id=137]
+[ext_resource path="res://art/explosion/frame0017.png" type="Texture" id=138]
+[ext_resource path="res://art/explosion/frame0000.png" type="Texture" id=139]
+[ext_resource path="res://art/explosion/frame0004.png" type="Texture" id=140]
+[ext_resource path="res://art/explosion/frame0006.png" type="Texture" id=141]
 
 [resource]
 animations = [ {
@@ -147,4 +168,9 @@ animations = [ {
 "loop": true,
 "name": "knockback",
 "speed": 24.0
+}, {
+"frames": [ ExtResource( 139 ), ExtResource( 128 ), ExtResource( 133 ), ExtResource( 121 ), ExtResource( 140 ), ExtResource( 137 ), ExtResource( 141 ), ExtResource( 122 ), ExtResource( 136 ), ExtResource( 130 ), ExtResource( 123 ), ExtResource( 131 ), ExtResource( 132 ), ExtResource( 126 ), ExtResource( 127 ), ExtResource( 124 ), ExtResource( 134 ), ExtResource( 138 ), ExtResource( 125 ), ExtResource( 135 ), ExtResource( 129 ) ],
+"loop": true,
+"name": "explosion",
+"speed": 24.0
 } ]

+ 105 - 0
enemie/newai.gd

@@ -0,0 +1,105 @@
+extends KinematicBody2D
+
+
+func damage(arg, id):
+	vida += arg
+	get_tree().get_nodes_in_group('server')[0]._enemy_dmg(enemy_id)
+	if vida <= 0:
+		get_tree().get_nodes_in_group('enemy_authority')[0].death_count(id)
+		queue_free()
+
+var enemy_id = 0
+var type = 0
+var fliph = 0
+export var vida = 2
+# Called when the node enters the scene tree for the first time.
+
+var motion = Vector2(0,0)
+
+var target
+var target_position_buff
+
+func find_target():
+	var data = get_tree().get_nodes_in_group('players')
+	if data.size() > 0:
+		data.shuffle()
+		target_position_buff = data[0].global_position
+		return data[0]
+
+func _ready(): find_target()
+
+var bullet = preload('res://bullet.tscn')
+var firerate = 30
+var fireratebuff = 30
+var alert = false
+
+var state = 'walk'
+var behaviours = {
+	'walkleft':120,
+	'walkright':120,
+	'idle':60,
+	'knockback':60,
+	'canon':60,
+	'die':120,
+	'followtarget':120,
+	'blowup':60,
+}
+
+export var gen = ['walkleft','walkright','idle','canon']
+
+var clock = 1
+var onceacycle = true
+
+func sprite_loader(anim,pos,id):
+	get_tree().get_nodes_in_group('server')[0].spriter_request(anim,pos,id)
+
+func _physics_process(delta):
+	clock -= 1
+	match state:
+		'walkleft':
+			sprite_loader('walk',global_position,enemy_id)
+			motion.x = 75
+		'walkright':
+			sprite_loader('walk',global_position,enemy_id)
+			motion.x = -75
+		'idle':
+			sprite_loader('idle',global_position,enemy_id)
+			motion.x = 0
+		'knockback':
+			sprite_loader('knockback',global_position,enemy_id)
+			motion.x = 0
+		'canon':
+			if onceacycle:
+				sprite_loader('canon',global_position,enemy_id)
+				onceacycle = false
+				var instancer = load('res://enemie/tankcanonball.tscn').instance()
+				add_child(instancer)
+				instancer.global_position = global_position
+				motion.x = 0
+		'die':
+			sprite_loader('die',global_position,enemy_id)
+			motion.x = 0
+		'followtarget':
+			if target == null: 
+				target = find_target()
+				return
+			if motion == Vector2(0,0): motion = (target_position_buff - global_position).normalized() * 150
+	if clock == 0:
+		gen.shuffle()
+		state = gen[0]
+		clock = behaviours[state]
+		print(state)
+		onceacycle = true
+	move_and_slide(motion)
+
+
+func _on_Area2D_body_entered(body):
+	if body.is_in_group('player'):
+		sprite_loader('explosion',global_position,enemy_id)
+		body.damage(-20, enemy_id)
+		queue_free()
+	if body.is_in_group('terrain'):
+		sprite_loader('explosion',global_position,enemy_id)
+		queue_free()
+	pass # Replace with function body.
+

+ 16 - 0
enemie/tankboss.tscn

@@ -0,0 +1,16 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://enemie/newai.gd" type="Script" id=1]
+
+[sub_resource type="RectangleShape2D" id=23]
+extents = Vector2( 128.34, 81.3173 )
+
+[node name="tank" type="KinematicBody2D" groups=["enemy"]]
+position = Vector2( 689.688, 214.579 )
+collision_layer = 12
+collision_mask = 0
+script = ExtResource( 1 )
+vida = 300
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
+shape = SubResource( 23 )

+ 28 - 0
enemie/tankcanonball.tscn

@@ -0,0 +1,28 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://enemie/newai.gd" type="Script" id=1]
+
+[sub_resource type="RectangleShape2D" id=23]
+extents = Vector2( 12.391, 11.9423 )
+
+[sub_resource type="RectangleShape2D" id=24]
+extents = Vector2( 45, 5 )
+
+[node name="tank" type="KinematicBody2D" groups=["enemy"]]
+position = Vector2( 689.688, 214.579 )
+collision_layer = 12
+collision_mask = 0
+script = ExtResource( 1 )
+gen = [ "followtarget" ]
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
+shape = SubResource( 23 )
+
+[node name="Area2D" type="Area2D" parent="."]
+collision_layer = 10
+collision_mask = 10
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
+shape = SubResource( 24 )
+
+[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]

File diff suppressed because it is too large
+ 14 - 2
main.tscn


+ 1 - 0
playerphysics.gd

@@ -88,3 +88,4 @@ var onair = 5
 
 func add_power(arg):
 	print(arg)
+

Some files were not shown because too many files changed in this diff