Salut je suis nouveaux j'amerais savoir comment je peux faire pour crée ou ajouter une camera qui peut suivre le mon joueur dans un jeux 2D (comme Zelda)
init = function() player = object x = 0 y = 0 end end
update = function() if keyboard.UP then player.y += 2 end if keyboard.DOWN then player.y -= 2 end if keyboard.RIGHT then player.x += 2 end if keyboard.LEFT then player.x -= 2 end
end
draw = function() screen.clear("rgb(57,189,255)") screen.drawSprite("player"player.x,player.y,25,25) end