FloatEngine 1.5.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package FloatEngine --version 1.5.3
                    
NuGet\Install-Package FloatEngine -Version 1.5.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FloatEngine" Version="1.5.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FloatEngine" Version="1.5.3" />
                    
Directory.Packages.props
<PackageReference Include="FloatEngine" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FloatEngine --version 1.5.3
                    
#r "nuget: FloatEngine, 1.5.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FloatEngine@1.5.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FloatEngine&version=1.5.3
                    
Install as a Cake Addin
#tool nuget:?package=FloatEngine&version=1.5.3
                    
Install as a Cake Tool

FloatEngine

一个 C++ 的游戏引擎,由 fls-float 于 2023 年立项开发。


核心特性 (Features)

FloatEngine 的目标是提供一个高性能、易于使用的游戏开发框架,专注于底层性能和模块化设计。

模块 功能描述 关键技术 优势
图形/核心 2D/3D 渲染、窗口管理 Raylib (定制修复版) 极简 API,原生跨平台渲染,Win32 冲突已解决。
网络/多人 可靠 UDP (RUDP) 实时通信 SLikeNet (RakNet) 内置对象复制、RPC,高性能低延迟。
UI/Web 异步 HTTP/HTTPS 交互 Libcurl 支持 Web API 交互 (排行榜、登录)、DeepSeek LLM 等服务。
数据/脚本 JSON 数据处理、脚本化游戏逻辑 F_Json (基于 nlohmann/json) C++ 驱动的 Lua/Sol2 脚本系统。
架构 实体组件系统 (ECS) 基础、对象池 Room/Object 模块 严格的智能指针内存管理 (RAII),优化游戏性能。

构建系统 (Build System)

FloatEngine 提供了两种主流的构建方案:

1. CMake + Vcpkg

这是最主流的 C++ 解决方案,用于实现跨平台和静态链接。

# 1. 克隆项目
git clone https://github.com/fls-float/FloatEngine.git
cd FloatEngine

# 2. 配置 
cmake -B build -S .   -DCMAKE_TOOLCHAIN_FILE="<YOUR_VCPKG_PATH>/scripts/buildsystems/vcpkg.cmake"  -DVCPKG_TARGET_TRIPLET=x64-windows-static

# 3. 编译
cmake --build build --config Release

2. XMake

XMake 是一个高效的现代构建工具,内置了依赖管理,配置更加简洁。

# 1. 克隆项目
git clone https://github.com/fls-float/FloatEngine-Xmake.git
cd FloatEngine

# 2. 构建
xmake build

配置 (Setup)

1. Visual Studio + NuGet

这是最方便的配置方法,右键解决方案管理器,点击管理NuGet包,搜索FloatEngine

2. 下载发布版手动配置

较为复杂,需要下载github的发布版再使用IDE分别配置include和lib并手动链接

贡献与感谢 (Contribution)

FloatEngine 是一个开源项目,欢迎所有形式的贡献。
报告 Bug:请在 Issues 页面 提交。
提交代码:请提交 Pull Request 到 master 分支。
特别感谢 raysan5/raylib 团队提供了优秀的基础图形库。
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.5 301 12/20/2025
1.5.4 289 12/20/2025
1.5.3 286 12/20/2025
1.5.2 296 12/20/2025
1.5.1 349 12/20/2025