0

谁能向我解释我应该怎么做才能解决这个问题?

function love.load()
      love.window.setTitle(TITLE) -- Change le titre de la fenêtre
      local imgIcon = love.graphics.newImage(PATH_ICON) 
      love.window.setIcon(imgIcon:getData()) 
      love.window.setMode(WIN_WIDTH, WIN_HEIGHT) 
    .
    .
    end
4

2 回答 2

0

You need to select LOVE as the interpreter (Project | Lua Interpreter | LOVE) instead of the default Lua interpreter. The error you are getting indicates that the interpreter you are launching doesn't have anything assigned to the love variable.

于 2017-04-28T01:09:04.473 回答
0

第一件事:你安装了love2d 吗?

如果是:您是否检查到 love2d 的路径是否设置在 zerobrane 中?

于 2017-04-28T18:44:49.983 回答