Godot 4.2 发布：让开源游戏引擎更上一层楼
Godot 游戏引擎
![](/data/attachment/album/202312/06/162357bjz99b66jpnbqy6p.jpg)



> 
> Godot 的又一次更新，其中包含了一些有用的更改，以更接近 Unreal、Unity 等专有引擎。
> 
> 
> 


[Godot](https://godotengine.org/)，社区最喜欢的 Unreal 和 Unity 等专有游戏引擎的替代品，有一个新的重大更新！


**Godot 4.2** “闪亮登场”，全面更新大量内容。它继续沿着 [Godot 4.0 版本](https://news.itsfoss.com/godot-4-0-release/) 铺平的道路，并在此基础上进行构建。


拿上你的饮料，让我来重点介绍一下这次发布的优点。☕


### Godot 4.2：有什么新内容？


Godot 4.2 版本有很多新东西。但是，我们将关注**关键亮点**：


* Linux 上的官方 ARM 支持
* 编辑器改进
* 更多版本控制友好
* 增强的图块地图
* 多人游戏/网络的改进
* 更好的导航系统


#### Linux 上的官方 ARM 支持


尽管可以在 Linux 上为基于 ARM 的设备手动构建 Godot，但**从来没有针对 Linux 的官方 ARM 构建**。


然而，随着 Godot 4.2 的发布，这种情况发生了变化。他们在下载页面上提供了 **32 位和 64 位版本的 Godot for ARM**。


请记住，这是**一项实验性工作**，因此可能会出现错误和问题。


#### 编辑器改进


![](/data/attachment/album/202312/06/162439nzccc33v9le2jvxe.jpg)


Godot 的编辑器方面有很多改进。


如上面的截图所示，第一个是代码编辑器中的新添加项，名为“<ruby> 创建代码区域 <rt>  Create Code Region </rt></ruby>”。它允许你**将脚本分解为命名块**，然后可以将其最小化以减少混乱。


![](/data/attachment/album/202312/06/162440int6f9iyow79i86f.jpg)


Godot 的另一个新功能是**能够在编辑器视口中单独扩展方框图形的每一侧**。以前，这仅限于中心点和对称范围。


![](/data/attachment/album/202312/06/162440lc7h56njk2i5a52i.jpg)


**项目管理器也进行了更新**，改进了一般项目导入工作流程，并重新排列了按钮。


#### 更多版本控制友好


Godot 4.2 修复了在“就绪”期间更改场景或重命名节点会导致崩溃的问题，还修复了与重命名/移动文件相关的各种问题。


开发人员还补充道：



> 
> 此外，场景中资源 ID 偶尔更改的一些情况已得到解决（[GH-65011](https://github.com/godotengine/godot/pull/65011)）。仍有改进的空间，但这已经使 4.2 的版本控制更加友好。
> 
> 
> 


#### 增强的图块地图


![](/data/attachment/album/202312/06/162440au88ikccvg8dv2fc.jpg)


除了 Godot 的**图块/图块地图系统**的主要性能优化之外，还有一项新功能允许你在将图块/图块图案放置在任何地方时**旋转或翻转它们**。


#### 多人游戏/网络的改进


此版本还具有**高级多人游戏系统的改进**。“MultiplayerSynchronizer” 节点现在支持同步变换组件、子资源属性和其他类型的索引数据。


还有**针对拒绝服务漏洞的安全修复**，该漏洞之前在 Godot 4.0.4 RC1 版本中已披露。



> 
> ? 开发人员建议用户升级到 Godot 4.0.4、4.1.2 或 4.2 以避免出现问题。
> 
> 
> 


#### 更好的导航系统


![](/data/attachment/album/202312/06/162441qvxaziupia9dvjf3.jpg)


Godot 4.2 带来了 **2D 导航网格烘焙**，它可以处理物理体、网格实例、普通多边形等。


此外，**添加了对 2D 和 3D 导航网格烘焙的多线程支持**，以提高性能并减少卡顿。


#### ?️ 其他更改和改进


还有许多其他值得注意的变化：


* 改进了 [GDExtension](https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/what_is_gdextension.html) 系统。
* 支持 AMD 的 [FSR 2.2](https://community.amd.com/t5/gaming/amd-fidelityfx-super-resolution-2-2-racing-into-more-games-and/ba-p/563910) 技术。
* 图形构建节点的**重大修改**。
* **适用于 Linux、Windows 和 macOS 的原生文件选择**对话框。
* 现在可以为附加组件和资产**指定不同的安装文件夹**。
* **修复了 Steam 输入问题**，该问题导致某些游戏手柄事件被处理两次。


有关此版本的更多详细信息，你可以通过 [官方发行说明](https://godotengine.org/article/godot-4-2-arrives-in-style/) 了解。


### ? 下载Godot 4.2


前往 [官方网站](https://godotengine.org/download/linux/) 获取 Linux 版 Godot 的最新版本。对于其他软件包，你还可以参考其 [GitHub 仓库](https://github.com/godotengine/godot/releases/tag/4.2-stable)。



> 
> [Godot 4.2（GitHub）](https://github.com/godotengine/godot/releases/tag/4.2-stable)
> 
> 
> 


? 你对此版本有何看法？ 已经试过这个精彩的开源游戏引擎了吗？ 在评论中告诉我们！




---


via: <https://news.itsfoss.com/godot-4-2/>


作者：[Sourav Rudra](https://news.itsfoss.com/author/sourav/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![](/assets/images/pikapods-banner-v3.webp)


![](/assets/images/pikapods-banner-v3.webp)

[Godot](https://godotengine.org/?ref=news.itsfoss.com), the community favorite alternative to proprietary game engines such as Unreal and Unity, has a new major update!

**Godot 4.2** has “*arrived in style*” with loads of updates across the board. It continues in the path that the [Godot 4.0 release](https://news.itsfoss.com/godot-4-0-release/) paved, and builds upon it.

Grab a beverage of your choice, as I highlight the good things about this release ☕

**Suggested Read **📖

[Godot 4.0 Release Might Persuade Developers to Switch Away From Unreal, Unity, and Other Game EnginesGodot 4.0 is an excellent upgrade to make more game developers consider it an alternative worth trying.](https://news.itsfoss.com/godot-4-0-release/)![](https://news.itsfoss.com/content/images/2023/03/godot-4-0-release.jpg)


![](https://news.itsfoss.com/content/images/2023/03/godot-4-0-release.jpg)

## Godot 4.2: What's New?

There are plenty of new things with the Godot 4.2 release. But, we will focus on the **key highlights**:

**Official ARM Support on Linux****Editor Improvements****More Version Control Friendly****Enhanced Tilemaps****Improvements to Multiplayer/Networking****Better Navigation System**

### Official ARM Support on Linux

Even though it was possible to manually build Godot for ARM-based devices on Linux, there was** never an official ARM build for Linux**.

However, that has now changed with the Godot 4.2 release. They have provided both **32-bit and 64-bit versions of Godot for ARM** on their downloads page.

Keep in mind that this is **an experimental undertaking**, so expect bugs and issues.

![Follow It's FOSS on Google News](https://news.itsfoss.com/content/images/2023/04/Follow-us-on-Google-News.png)


![Follow It's FOSS on Google News](https://news.itsfoss.com/content/images/2023/04/Follow-us-on-Google-News.png)

### Editor Improvements

![a screenshot of godot 4.2 code region feature](https://news.itsfoss.com/content/images/2023/12/Godot_4.2_a.jpg)

There have been many improvements on the editor side of Godot.

As illustrated by the screenshot above, the first one is a new addition to the code editor called “**Code Region**”. It allows you to **break up scripts into named blocks**, which can then be minimized to lessen clutter.

![a screenshot of godot 4.2 box shape editing](https://news.itsfoss.com/content/images/2023/12/Godot_4.2_b.jpg)

Another new addition to Godot is the **ability to extend each side of box shapes individually within the editor viewport**. Previously, this was only limited to the center point and symmetrical extents.

![a screenshot of godot 4.2 project manager](https://news.itsfoss.com/content/images/2023/12/Godot_4.2_c.jpg)

The **project manager also sees an update**, the general project import workflow has been improved alongside a rearrangement of buttons.

### More Version Control Friendly

Godot 4.2 comes with a fix to an issue where changing scenes or renaming nodes during 'ready' would lead to crashes, various issues related to renaming/moving files were also fixed.

The developers also added:

Also, some cases of sporadic changing of resource IDs in scenes have been solved ([GH-65011]). There is still room for improvement, but this already makes 4.2 way more version control friendly.

### Enhanced Tilemaps

![a screenshot of godot 4.2 tile rotation feature](https://news.itsfoss.com/content/images/2023/12/Godot_4.2_d.jpg)

Alongside **major performance optimizations to the tile/tilemap system** of Godot, there is a new feature that allows you to **rotate or flip a tile/tile pattern** while placing them anywhere.

### Improvements to Multiplayer/Networking

This release also features** improvements for the high-level multiplayer system;** the '*MultiplayerSynchronizer*' node now supports syncing of transform components, sub-resource properties, and other types of indexed data.

There is also** a security fix for a denial-of-service vulnerability** that was previously disclosed with the Godot 4.0.4 RC1 release.

### Better Navigation System

![a screenshot of godot 4.2 navigation mesh baking for 2d feature](https://news.itsfoss.com/content/images/2023/12/Godot_4.2_e.jpg)

Godot 4.2 brings about **navigation mesh baking for 2D**, it can handle physics bodies, mesh instances, plain polygons and more.

Furthermore, **support for multi-threading was added** for 2D and 3D navigation mesh baking for improving performance, and reducing stutters.

### 🛠️ Other Changes and Improvements

There are plenty of other changes worth noting:

- Improvements to the
[GDExtension](https://docs.godotengine.org/en/stable/tutorials/scripting/gdextension/what_is_gdextension.html?ref=news.itsfoss.com)system. - Support for AMD's
[FSR 2.2](https://community.amd.com/t5/gaming/amd-fidelityfx-super-resolution-2-2-racing-into-more-games-and/ba-p/563910?ref=news.itsfoss.com)tech. - A
**major rework**of the graph-building nodes. **Native file selection**dialog for Linux, Windows, and macOS.- It is now possible to
**specify a different install folder**for add-ons and assets. **A fix for the Steam Input issue**that caused some gamepad events to be handled twice.

For more details on this release, you can through the [official release notes](https://godotengine.org/article/godot-4-2-arrives-in-style/?ref=news.itsfoss.com).

## 📥 Download Godot 4.2

Head over to the [official website](https://godotengine.org/download/linux/?ref=news.itsfoss.com) to grab the latest release of Godot for Linux. For other packages, you could also refer to its [GitHub repo](https://github.com/godotengine/godot/releases/tag/4.2-stable?ref=news.itsfoss.com).

*💬 What are your thoughts on this release? Giving a chance to this wonderful open-source game engine already? Tell us about it in the comments!*

## More from It's FOSS...

- Support us by opting for
[It's FOSS Plus](https://itsfoss.com/#/portal/signup)membership. - Join our
[community forum](https://itsfoss.community/). - 📩 Stay updated with the latest on Linux and Open Source. Get our
[weekly Newsletter](https://itsfoss.com/newsletter/).