Hello, I want when my monster and my character are in the same coordinate of my character loses life, here is the variable "life" life = 100 And here are the character variable and the monster man = love.graphics.newImage("man.png") x = 50 y = 50 mob = {} mob.img = love.graphics....
Thank you but it is just displayed on the screen and nothing: ( I want the player that goes on here is that its code: function love.load() man = love.graphics.newImage("man.png") x = 50 y = 50 speed = 50 end function love.draw() love.graphics.draw(man, x, y) end Thank you in advance
Hello everyone, sorry this translation because normally I'm French. (google translation spotted) Here is my problem, I would like to make an AI that moves the mob to me! I made this code: monstrea = love.graphics.newImage("mob.png") monstrea.x = 22 monstrea.y = 12 But the problem is that i...