diff --git a/assets/textures/characters/arch_yari/idle1.png b/assets/textures/characters/arch_yari/idle1.png new file mode 100644 index 0000000..6942b97 Binary files /dev/null and b/assets/textures/characters/arch_yari/idle1.png differ diff --git a/assets/textures/characters/arch_yari/idle2.png b/assets/textures/characters/arch_yari/idle2.png new file mode 100644 index 0000000..52a5fa2 Binary files /dev/null and b/assets/textures/characters/arch_yari/idle2.png differ diff --git a/assets/textures/characters/arch_yari/idle3.png b/assets/textures/characters/arch_yari/idle3.png new file mode 100644 index 0000000..97bdacd Binary files /dev/null and b/assets/textures/characters/arch_yari/idle3.png differ diff --git a/assets/textures/characters/arch_yari/idle4.png b/assets/textures/characters/arch_yari/idle4.png new file mode 100644 index 0000000..0271fd5 Binary files /dev/null and b/assets/textures/characters/arch_yari/idle4.png differ diff --git a/assets/textures/characters/arch_yari/portrait.png b/assets/textures/characters/arch_yari/portrait.png new file mode 100644 index 0000000..f6a3885 Binary files /dev/null and b/assets/textures/characters/arch_yari/portrait.png differ diff --git a/assets/textures/characters/arch_yari/sprs_yari.png b/assets/textures/characters/arch_yari/sprs_yari.png new file mode 100644 index 0000000..31ba51b Binary files /dev/null and b/assets/textures/characters/arch_yari/sprs_yari.png differ 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