カーソルの作成
love.mouse.newCursor
追加バージョン | 0.9.0 | 削除バージョン | - |
カーソルを新規作成します。
function love.load()
cursor = love.mouse.newCursor("my_cursor.png", 10, 10)
love.mouse.setCursor(cursor)
end

ウィンドウ上にマウスカーソルを乗せると、カーソルにmy_cursor.pngの画像が設定されていることが確認できます。