From a734175e1a422ae3ea7a1dab84217e16827d4caa Mon Sep 17 00:00:00 2001 From: bizcochito Date: Sat, 20 Mar 2021 12:01:09 +0100 Subject: [PATCH] added azifer, the tecnical service demon --- .../textures/characters/arch_yari/idle1.png | Bin 0 -> 605 bytes .../textures/characters/arch_yari/idle2.png | Bin 0 -> 573 bytes .../textures/characters/arch_yari/idle3.png | Bin 0 -> 615 bytes .../textures/characters/arch_yari/idle4.png | Bin 0 -> 667 bytes .../characters/arch_yari/portrait.png | Bin 0 -> 428 bytes .../characters/arch_yari/sprs_yari.png | Bin 0 -> 1397 bytes scripts/drawing_UI.lua | 2 +- scripts/enums.lua | 8 +++++++ scripts/levels.lua | 20 +++++++++--------- 9 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 assets/textures/characters/arch_yari/idle1.png create mode 100644 assets/textures/characters/arch_yari/idle2.png create mode 100644 assets/textures/characters/arch_yari/idle3.png create mode 100644 assets/textures/characters/arch_yari/idle4.png create mode 100644 assets/textures/characters/arch_yari/portrait.png create mode 100644 assets/textures/characters/arch_yari/sprs_yari.png diff --git a/assets/textures/characters/arch_yari/idle1.png b/assets/textures/characters/arch_yari/idle1.png new file mode 100644 index 0000000000000000000000000000000000000000..6942b974fd32317dc2837a047308379beea35ddf GIT binary patch literal 605 zcmV-j0;2tiP)Px%7fD1xR7i>KlRs!vQ5431FO9_|jR|=#h1d#tnc6`lVm8g-6dX#Ck__S~8H~Hu zMY;+agyQ1jQ0(9&c9aYvQ3Mkj1mS|T1W9h>*@QqsZLdRkkEky%!GMGK!G(MNedm1V za^aswA)8Ut=J>`DY~*tz3A|zxqma!gH=>PvPEDfFQ$Zn{QAQ|8(>nMq*0c^VLc!@) zWQ2mOZ*FP!#HxyFmT(lUZ*FNuC^$~Uc&I9>kjb!?|wI#x-h|P&EOI^YH#7`1c|Jd|zylJ`ctvZw}8lP*qf?JGc*%uRd(y-;2=c z4syIWMs~L+mlnjnMO}01ryA%XST;v1aaEv{Qk~NRX@OM>vs*u;(LQqGjrI|{^+T*$ z7->OG3~DBB0HEtS$rZtV>zK=T-tomKvQz1^Q|U8%?ghCApV@C6lUxxbueL|g;CG$A z(?Lo}rI_O6>|n5KH?Qy%I1`I=adioRg@}(zF~!+J*{Rhu?Wa|_Dv(lQnx+<=n_($- z0xKTpQy@UY$DaySb3Idwvojgwl20vF$bd>N8Dq?1%MKkv0;% rz8h7~Z$*^tv+cBz_+#$>_&fLk=i?7rJ1jLE00000NkvXXu0mjfT7(y4 literal 0 HcmV?d00001 diff --git a/assets/textures/characters/arch_yari/idle2.png b/assets/textures/characters/arch_yari/idle2.png new file mode 100644 index 0000000000000000000000000000000000000000..52a5fa29f268cabec2ba98e74f1b9bc380210676 GIT binary patch literal 573 zcmV-D0>b@?P)Px$_en%SR7i>KlQC!$Q5eU6mj-pvCRcJ7p;+O}6i1~(2OAuNWav{`_8l zJ*XX=9VTOxQMZmXJ(xKOpT9zKGXucSnJo(E!Jdz2#J&S*^x^P3eBu5U$;}MCAN`p) zMx^`TcQW@6z%2f?mhpW23!`Zcd>zG(A|I zU5pD7*6QpcA|h@nEuQDe!@JMKEv3aRrRCL=kK+5jxTUm+h{VB@aVG1_7RQeCulUOK z%RB{6Pdi*($OCXHlVE+>0xtcTL3VNi0PQ$v;KHp60H2fsz&ep2J2`=hVMH1nPab9N z&UfA@h294ao`J5_nak(-_V#L|LF88?BGT*iP)cE0R!~2Px%AxT6*R7i>KlRs!vQ5431F9ywEnxrHzk&+Iji_VgYgUuWyLxz|X3Qm>|hTTTuR*H<8VBq1lCvcLj~MoW22Bu$snQi)x3=3(A7a9ml8D;pk*BO#ahM@YA7(- z6{(>B+D=KaE0!wKD&siPc1nsG3XC!_8d60HxsK%swED8if1<4cpG8N?-s}A z7Zce&4X<0}uRefoz|7YuGXPUota2~vByD`LxWk+bb)YVy=mr?IX$}sLX?D6!tl8;u zaCnSSn?^UFRv%pbNQj7N>7dl>b$PJyRJ3$Zv~*COJ$@^lPDiwKP(FYr;k>$Mi901X&GXNNKa~QzF-8=yA zbRB?*-{WweTwUhd$xl|^@3|)cSgP!bX_~}tzUGJDk8vt!j}C5?iTQk(rpZ!eR~|0h z=xg-QSETDYkw^sW5g;D_z2C#pbsfLoKTxNy2ew7~pd)@N*o#4&u^cFh;#f_p^8jqD zn9}TY$!xZjq&n}cw@N|f&c)==1QWw9;6MIh`~vLt3N2Q-gv9^=002ovPDHLkV1lZx B9U=e# literal 0 HcmV?d00001 diff --git a/assets/textures/characters/arch_yari/idle4.png b/assets/textures/characters/arch_yari/idle4.png new file mode 100644 index 0000000000000000000000000000000000000000..0271fd5952dbc73a867f766f2819b1697ef6bb28 GIT binary patch literal 667 zcmV;M0%ZM(P)Px%RY^oaR7i>KlTAnzaTvybv#Zu+99DK_5bLrl6kf_p77MY5C|L61A$EfnI*Cwg zXVXh~4a^|v(s3mZo+6`535jG0DT*Qtg&%D0EKJTKBBK8e<4miwAA*Mt^}xXU`MmG* z@*nt{$Rrcuv^9ZR1cN=PiUieiCq^cj5aoylds5;g3acu}BojglDdep!UoLNLp@o#w zok$BQ^pA{6?#5ysk)Om<)ITyRX(6SSh}sbIh)gme@{@=UuN+&rg8BuPg&eG0O%v?R+i^14HATF~%a zr{$N9-WWu03^Fy~*t1KHI(a>cEX!nLY2U)W0doBr0E*`fObe{VCKfjK*tGY(noWD3 zg^fL|#U@M(7LB95RR`pDY_hSm6p2JwnO0aU9B||D7joJ#6LY&v%66GU8e*hG7WXw!N>^Hw;6>wbrT}6%_y&h9Oi{^?cJk z&9PWC8m-DxQ$<{BWokedz@qLo9le z6C9W;1>^pIR@(DVSg4s%t%Namop6Ege|^J0|LZ#$SG(~r|BFxhVQ=jDVt=2Bc3A7= zu$<&IAB7JX^l&b#yvCx)Hse`m=xqa@6(5CvykB{~Pw^Z_vC<~S{UY&6rL4DW3)x;j zo8EIGNrwjr*v~mwgwOkzc41;#YJowcLmi8@Px)FG)l}RA_eIrlr?`R=**?!x~Vb(Q5}I%1wBGM;Dhf5V`CwN**yTfMV`>CkVv z05jd7z_Fkd(MA&T?5nL35p9IPv7j`S98=YwatF+0gX${Fg)1kUh&B@UE~1U#%E_Km z15Jm1%LSO}2Dx&w*?r)sWaHwfZ82*zs98yK94VhvDS8avJJ`NH5!)p9oh2ZM;&q1`$H^_JjO_ z(VeOWzEz-)8P8m6k<8f1Aku>94#Uz#(Afi7eYpTUSUQYvmBIf!^(Q@oVmqj}pQ!n& zW{i9LjpAZsoxl{NYS4Gv5Ugs3L6=VC(%BOq>l7knm=8~zU(qm3R$ngqm=R;fHx~O- za+)!d(VvJv%c~WI0OaRp zaB`>ONc-TuQJTuCC6C9$jkfHR`fs#lIZ8Xle$zY;EM}QaeJaGoW>$W)?i~Y>YGCIvYKNA4W z<3R&T>Z<@~S5>1%IU^eLW9e4zJ{V8A3u-!=IkonE01ESF@!PAr}e$HKbQ<9JG6;}H1ZvR>;UF>Gr>CY2#C0y~wVn0O-^Z9FhjEv)ZqvvB>0>Hm~ zxn$09a!$wYwAdqTqCo(MJ}zS4sXMlJmK8UUFrO^T94y)F=&td(3i!V5Ct;=ky*2Bl zi;+K)a#$8+CxO@Noz(vTA%y7d?X_i)$K#3n{cIOLR{;Q@*63nr^dS`u!;;Tc5d9uF zx00000NkvXXu0mjf DNE5a= literal 0 HcmV?d00001 diff --git a/scripts/drawing_UI.lua b/scripts/drawing_UI.lua index d81d787..44dd166 100644 --- a/scripts/drawing_UI.lua +++ b/scripts/drawing_UI.lua @@ -20,7 +20,7 @@ end function draw_portrait(u,uc,ut) --$-- temporal - love.graphics.line(game_width/2,0,game_width/2,game_height) + --love.graphics.line(game_width/2,0,game_width/2,game_height) --$-- local pos_x = (game_width/2)+((72)*ut)/2-(72)*uc local pos_y = (game_height-86) diff --git a/scripts/enums.lua b/scripts/enums.lua index ae5fbd0..6154216 100644 --- a/scripts/enums.lua +++ b/scripts/enums.lua @@ -38,6 +38,7 @@ icon = { portrait = { _ariel = "assets/textures/characters/imp_ariel/portrait.png", + _yari = "assets/textures/characters/arch_yari/portrait.png", elementalAir = "assets/textures/characters/elemental_air/portrait.png", elementalArcane = "assets/textures/characters/elemental_arcane/portrait.png", elementalEarth = "assets/textures/characters/elemental_earth/portrait.png", @@ -113,6 +114,13 @@ animation = { hit = "assets/textures/characters/imp_ariel/hit", death = "assets/textures/characters/imp_ariel/death" }, + _yari = { + idle = "assets/textures/characters/arch_yari/idle", + walk = nil, + attack = nil, + hit = nil, + death = nil + }, elementalAir = { idle = nil, walk = nil, diff --git a/scripts/levels.lua b/scripts/levels.lua index d4de335..fa3eb10 100644 --- a/scripts/levels.lua +++ b/scripts/levels.lua @@ -34,7 +34,7 @@ for i = 1, 8, 1 do for j = 1, 5, 1 do end end table.insert(units,nu) -local nu = Unit:newUnit("Implings",player.id,portrait.impling,statTable.implings) +--[[local nu = Unit:newUnit("Implings",player.id,portrait.impling,statTable.implings) local xx, yy, zz = 3, 0, 3 for i = 1, 8, 1 do for j = 1, 5, 1 do local imp = Object:new2DAnimated("implings",portrait.impling,xx+0.5*(i+1),yy+0,zz+0.5*(j+1),16,16) @@ -51,32 +51,32 @@ for i = 1, 8, 1 do for j = 1, 5, 1 do load_animation(imp,animation.impling.idle,4,8) table.insert(nu.troops,imp) end end -table.insert(units,nu) +table.insert(units,nu)]] -- bunch of hellbeast pack (6) -local nu = Unit:newUnit("Hellbeast Pack",player.id,portrait.hellbeast,statTable.implings) +--[[local nu = Unit:newUnit("Hellbeast Pack",player.id,portrait.hellbeast,statTable.implings) local xx, yy, zz = -3, 0, 3 for i = 1, 3, 1 do for j = 1, 2, 1 do local hellbeast = Object:new2DAnimated("hellbeast",portrait.hellbeast,xx+1*(i+1),yy+0,zz+1*(j+1),16,16) load_animation(hellbeast,animation.hellbeast.idle,4,8) table.insert(nu.troops,hellbeast) end end -table.insert(units,nu) +table.insert(units,nu)-- -- bunch of hellbeast pack (6) -local nu = Unit:newUnit("Hellbeast Pack",player.id,portrait.hellbeast,statTable.implings) +--[[local nu = Unit:newUnit("Hellbeast Pack",player.id,portrait.hellbeast,statTable.implings) local xx, yy, zz = -3, 0, -3 for i = 1, 3, 1 do for j = 1, 2, 1 do local hellbeast = Object:new2DAnimated("hellbeast",portrait.hellbeast,xx+1*(i+1),yy+0,zz+1*(j+1),16,16) load_animation(hellbeast,animation.hellbeast.idle,4,8) table.insert(nu.troops,hellbeast) end end -table.insert(units,nu) +table.insert(units,nu)]] -local nu = Unit:newUnit("Archdemon",player.id,portrait.archdemon,statTable.implings) +local nu = Unit:newUnit("Azifer",player.id,portrait._yari,statTable.implings) -- hero archdemon (1) local xx, yy, zz = 0, 0, 3 -local archdemon = Object:new2DAnimated("archdemon",portrait.archdemon,xx,yy,zz,16,16) -load_animation(archdemon,animation.archdemon.idle,4,8) -table.insert(nu.troops,archdemon) +local azifer = Object:new2DAnimated("azifer",portrait._yari,xx,yy,zz,16,16) +load_animation(azifer,animation._yari.idle,4,8) +table.insert(nu.troops,azifer) table.insert(units,nu) \ No newline at end of file