added azifer, the tecnical service demon

This commit is contained in:
bizcochito 2021-03-20 12:01:09 +01:00
parent 21e6c3d640
commit a734175e1a
No known key found for this signature in database
GPG Key ID: 4A514B3A7A673EB6
9 changed files with 19 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -20,7 +20,7 @@ end
function draw_portrait(u,uc,ut) function draw_portrait(u,uc,ut)
--$-- temporal --$-- 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_x = (game_width/2)+((72)*ut)/2-(72)*uc
local pos_y = (game_height-86) local pos_y = (game_height-86)

View File

@ -38,6 +38,7 @@ icon = {
portrait = { portrait = {
_ariel = "assets/textures/characters/imp_ariel/portrait.png", _ariel = "assets/textures/characters/imp_ariel/portrait.png",
_yari = "assets/textures/characters/arch_yari/portrait.png",
elementalAir = "assets/textures/characters/elemental_air/portrait.png", elementalAir = "assets/textures/characters/elemental_air/portrait.png",
elementalArcane = "assets/textures/characters/elemental_arcane/portrait.png", elementalArcane = "assets/textures/characters/elemental_arcane/portrait.png",
elementalEarth = "assets/textures/characters/elemental_earth/portrait.png", elementalEarth = "assets/textures/characters/elemental_earth/portrait.png",
@ -113,6 +114,13 @@ animation = {
hit = "assets/textures/characters/imp_ariel/hit", hit = "assets/textures/characters/imp_ariel/hit",
death = "assets/textures/characters/imp_ariel/death" death = "assets/textures/characters/imp_ariel/death"
}, },
_yari = {
idle = "assets/textures/characters/arch_yari/idle",
walk = nil,
attack = nil,
hit = nil,
death = nil
},
elementalAir = { elementalAir = {
idle = nil, idle = nil,
walk = nil, walk = nil,

View File

@ -34,7 +34,7 @@ for i = 1, 8, 1 do for j = 1, 5, 1 do
end end end end
table.insert(units,nu) 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 local xx, yy, zz = 3, 0, 3
for i = 1, 8, 1 do for j = 1, 5, 1 do 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) 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) load_animation(imp,animation.impling.idle,4,8)
table.insert(nu.troops,imp) table.insert(nu.troops,imp)
end end end end
table.insert(units,nu) table.insert(units,nu)]]
-- bunch of hellbeast pack (6) -- 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 local xx, yy, zz = -3, 0, 3
for i = 1, 3, 1 do for j = 1, 2, 1 do 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) 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) load_animation(hellbeast,animation.hellbeast.idle,4,8)
table.insert(nu.troops,hellbeast) table.insert(nu.troops,hellbeast)
end end end end
table.insert(units,nu) table.insert(units,nu)--
-- bunch of hellbeast pack (6) -- 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 local xx, yy, zz = -3, 0, -3
for i = 1, 3, 1 do for j = 1, 2, 1 do 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) 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) load_animation(hellbeast,animation.hellbeast.idle,4,8)
table.insert(nu.troops,hellbeast) table.insert(nu.troops,hellbeast)
end end 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) -- hero archdemon (1)
local xx, yy, zz = 0, 0, 3 local xx, yy, zz = 0, 0, 3
local archdemon = Object:new2DAnimated("archdemon",portrait.archdemon,xx,yy,zz,16,16) local azifer = Object:new2DAnimated("azifer",portrait._yari,xx,yy,zz,16,16)
load_animation(archdemon,animation.archdemon.idle,4,8) load_animation(azifer,animation._yari.idle,4,8)
table.insert(nu.troops,archdemon) table.insert(nu.troops,azifer)
table.insert(units,nu) table.insert(units,nu)