我正在制作一个小RPG,需要关于性能的反馈。
I'm making a small RPG and I need feeback regarding performance

原始链接: https://jslegenddev.substack.com/p/im-making-a-small-rpg-and-i-need

一位游戏开发者正在寻求社区帮助,以诊断使用 JavaScript 和 KAPLAY 库构建的小型 RPG 游戏存在的性能问题。尽管开发者拥有一台强大的 Macbook Air M3(16GB 内存)并且浏览器性能流畅(Firefox),但游戏打包成桌面应用程序后却会卡顿——这对于计划中的 Steam 发布至关重要。 开发者不确定问题是出在他们的设置上,还是更普遍存在。可在 [itch.io 链接] 获取 Windows、Mac 和 Linux 的可玩版本,鼓励玩家测试并分享游戏录像,以帮助确定卡顿的来源,尤其是在战斗过程中更为明显。移动使用方向键,通过在世界地图上与星星重叠来开始战斗。任何反馈都将不胜感激!

## JSLegendDev 的 RPG 性能反馈 - 总结 一位开发者 (JSLegendDev) 分享了一款正在开发的 RPG 游戏,使用 Web 技术构建,但目标是 Steam 平台发布,并寻求性能反馈。该帖子意外地在 Hacker News 上获得了关注。开发者优先考虑可执行文件的性能(Mac、Windows、Linux),而不是 Web 版本,因为 Steam 是重点,并且他们已建立起与现有用户分发可执行文件的信任。 讨论的中心是 *为什么* 看起来简单的 2D 游戏会出现性能问题。许多评论者建议性能分析工具对于诊断至关重要,一些人指出潜在问题,如垃圾回收、内存泄漏或低效代码。另一些人质疑在现代硬件能力下是否需要担心。一些用户报告了随着时间的推移性能下降,而另一些用户则体验到流畅的游戏体验。 该游戏使用 GemShell/Neutralino 创建可执行文件,避免了像 NW.js 这样框架的大型运行时开销。开发者欢迎反馈,并提供了一个链接到关于他们导出过程的详细博客文章。对话还涉及了有趣的游戏玩法比纯粹的优化更重要,以及寻求专业建议的价值。
相关文章

原文

This past month, I’ve been working secretly on a small RPG game.

While the game is not ready at all and I didn’t plan on talking about it, I’m now kind of forced to.

I’ve been using JavaScript + the KAPLAY game library to make this game but I’ve been experiencing performance issues. However, it seems that others aren’t experiencing them so now I wonder, is it just my machine?

I’m using a Macbook Air M3 with 16GB of RAM. Normally, things should be smooth and they are when playing the game in the browser via Firefox.

However, since I’m making this game with Steam in mind, it’s especially important that the game performs well when wrapped as a desktop app.

For this reason, I decided to reach out to you, my audience, for feedback. I have included a build of the unfinished game for Windows, Mac and Linux. It would be very nice if you could try it out on your machine. Additionally, recording gameplay and sharing the link in the comment section of this post would be greatly appreciated.

Here is the link to the game in its unfinished current form : https://jslegend.itch.io/small-rpg-performance-playtest

Below is a gameplay video to give you an idea of how the game is supposed to be played. You can move around with arrow keys and enter battle by overlapping with a star in the overworld.

Performance issues, if any, occur mostly during battles.

Thanks in advance!

联系我们 contact @ memedata.com