【问题标题】:The love2d game.exe is not sharp in windows. How to make the game sharp(for pixel game)?love2d game.exe 在 Windows 中不清晰。如何使游戏清晰(像素游戏)?
【发布时间】:2022-01-05 19:22:13
【问题描述】:

在窗口中

在linux中

我是 linux 用户,所以我在 linux 中制作游戏。在我编译游戏时开发游戏时,它很锋利。对于锐化,我使用了此代码love.graphics.setDefaultFilter('nearest', 'nearest')

完成游戏后,我将其设置为适用于 32 位和 64 位的 Windows。在 Windows 中运行 .exe 文件时,它不像在 linux 中显示的那样清晰。游戏运行良好,但是,这个小细节困扰着我。有什么建议吗?

【问题讨论】:

    标签: lua game-development love2d


    【解决方案1】:

    使用conf.lua 并使用t.window.msaa 选项。

    【讨论】:

      猜你喜欢
      • 2017-10-15
      • 1970-01-01
      • 2023-03-23
      • 2022-08-19
      • 2013-07-26
      • 1970-01-01
      • 2015-05-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多