百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

bevy_tilemap

> 编程语言
开源

用于 Bevy 游戏引擎的具有块的 Tilemap。

183 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

用于 Bevy 游戏引擎的具有块的 Tilemap。

Bevy Tilemap

Chunk based tilemap for Bevy game engine.

Bevy Tilemap allows for Bevy native batch-rendered tiles in maps to be constructed with chunk based loading, efficiently.

Simple yet refined in its implementation, it is meant to attach to other extensible plugins that can enhance its functionality further. Hand-crafted tilemaps with an attentive focus on performance, and low data usage.

WARNING

This project is still experimental and the API will likely break often before the first release. It uses an experimental game engine which too may break the API. Semantic versioning will be followed as much as possible and the contributors will as much as they possibly can try to keep the API stable.

If you have API suggestions, now is the time to do it.

Features

  • Perfect for game jams.
  • Easy to use and mostly stable API with thorough documentation.
  • Endless or constrained dimension tilemaps.
  • Batched rendering of many tiles.
  • Square and hex tiles.

Build Features

  • Serde support
  • Extra types

Design

This is not intended to be just another Tilemap. It is meant to be a framework and extensible by design, like Bevy. As well as work done to keep it as close to Bevy API as possible while keeping in mind of Rust API best practices. It is not meant to be complicated and created to be simple to use but give enough functionality to advanced users.

Less time fiddling, more time building

Usage

Add to your Cargo.toml file:

toml
[dependencies]
bevy = "0.5"
bevy_tilemap = "0.4"

Simple tilemap construction

At the most basic implementation, there is not a whole lot that is required to get the tilemap going as shown below.

…

Of course, using the Tilemap::builder() this can be constructed with many more advanced features.

  • 3D and 2D tilemaps.
  • Texture atlas.
  • Dimensions of the tilemap.
  • Dimensions of a chunk.
  • Dimensions of a tile.
  • Adding Z render layers
  • Automated chunk creation.
  • Auto-spawning of tiles based on view.

With many more features planned for future updates to bring it up to par with other tilemap implementations for other projects.

Future plans

There is still a lot to do but the API is now stable and should be fine for a while now. The next release is focused on added automated methods and system.

  • Auto-tile: Picks the right tile based around the neighbours of the tile.
  • Tile import: Imports tiles from a file from multiple formats.

Building

bevy_tilemap is only guaranteed to work from stable Rust toolchain and up. This is to be inline with the rest of Bevy engine.

Once you have a development environment, Bevy Tilemap can be fetched using git:

bash
$ git clone --recursive https://github.com/joshuajbouw/bevy_tilemap/

and then built using cargo:

bash
$ cargo build --example random_dungeon

cargo can also be used to run tests:

$ cargo test

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustbevygame-jam

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言