最后检查时间
| 项目 | Bloom Engine | Godot |
|---|---|---|
| 游戏开发语言 | TypeScript[1] | GDScript · C# · C++[6] |
| 引擎许可证 | MIT[1] | MIT[7] |
| 当前版本 | 0.4.19[2] | 4.7.2[6][10] |
| 编辑器 | 独立的World Editor[3] | Godot Editor[6] |
| 游戏目标平台 | macOS · Windows · Linux · iOS · tvOS · watchOS · visionOS · Android · Web[1][4] | 桌面、移动和网页。Godot 4 的 C# 项目不能导出到网页。移植到主机需要平台批准和非公开 SDK。[6][8] |
| 渲染 | wgpu · Metal · DX12 · Vulkan · OpenGL · WebGPU / WebGL · SwiftUI / SceneKit[1][4] | Forward+ · Mobile · Compatibility[11] |
| 物理 | 在支持的原生平台上使用Jolt。watchOS使用不同的后端。[1][4] | Jolt (3D)[12] |
| 智能体工作方式 | 由Perry编译的TypeScript文件[1] | godot --headless[9] |
| 价格 | 该引擎在其发布的许可下是免费的。[1] | 该引擎在其发布的许可下是免费的。[7] |
该已发布赛车实验在此引擎中没有运行记录。 阅读实验详情 · 代码与日志
移动精灵
精灵以每秒 120 个单位的速度右移,到达 640 时回到起点。 下载 sprite.png
Bloom Engine
将 sprite.png 放在可执行文件旁边,并从该目录启动它。使用发布的引擎配合 Perry 和 Rust。[1][2][3][4]
import { initWindow, runGame, clearBackground, Colors } from "@bloomengine/engine";
import { loadTexture, drawTexture } from "@bloomengine/engine/textures";
initWindow(640, 360, "Bloom");
const sprite = loadTexture("sprite.png");
let x = 0;
runGame((dt) => {
x = (x + 120 * dt) % 640;
clearBackground(Colors.BLACK);
drawTexture(sprite, Math.floor(x), 180, Colors.WHITE);
});Godot
在 640 × 360 的场景中将脚本挂到 Sprite2D,并把 sprite.png 设为纹理。[6][7][8][9]
extends Sprite2D
func _ready() -> void:
position = Vector2(0, 180)
func _process(delta: float) -> void:
position.x = fmod(position.x + 120.0 * delta, 640.0)适合选择 Bloom 的情况
团队使用 TypeScript 编写游戏逻辑,并需要一条通往 Apple Watch 或 Apple TV 的代码驱动路径。[1][2][3][4]
适合选择 Godot 的情况
迁移说明
选择一个 Godot 场景,导出美术资源,把节点回调和信号逐个映射到明确的 TypeScript 更新函数或事件,然后与原场景对照。[6][7][8][9][1]
常见问题解答
我可以直接复用我的 Godot 场景文件吗?
计划导出资产并重新构建场景逻辑。在 TypeScript 版本中,需显式建模节点、信号和更新顺序。[6][7][8][9]
使用 Godot 要花多少钱?
该引擎在其发布的许可下是免费的。[7]
在迁移到Bloom时,我可以复用什么内容?
复用现有纹理、模型和游戏规则。翻译场景节点、信号和生命周期回调。在选择目标平台前,需检查各语言的导出配置。[6][7][8][9][1]
哪些Bloom的限制对这个决策有影响?
Bloom 处于预览阶段,发布的包版本为 0.4.19。构建需要 Perry 和 Rust。生态较小,游戏逻辑以代码编写。独立的 World Editor 支持地形编辑和实体放置,预制件创作功能尚未完成。 Bloom 未内置通用可视化玩法编辑器。[1][2][3][4]
源代码
最后检查时间
- github.com /Bloom-Engine/engine/tree/3cde2788
- registry.npmjs.org /@bloomengine/engine/latest
- github.com /Bloom-Engine/editor
- github.com /Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md
- apps.apple.com /us/app/bloom-jump/id6761447092
- godotengine.org
- godotengine.org /license
- godotengine.org /consoles
- docs.godotengine.org /en/stable/tutorials/editor/command_line_tutorial.html
- godotengine.org /blog/release
- docs.godotengine.org /en/stable/tutorials/rendering/renderers.html
- docs.godotengine.org /en/4.7/tutorials/physics/using_jolt_physics.html