Crates.io | yunfengzh_monolith |
lib.rs | yunfengzh_monolith |
version | 0.3.0 |
created_at | 2025-05-13 02:08:06.173951+00 |
updated_at | 2025-06-20 23:56:26.549734+00 |
description | Monolith is a framework based on tokio and bevy. |
homepage | |
repository | https://github.com/yunfengzh/monolith |
max_upload_size | |
id | 1671335 |
size | 273,764 |
Monolith is a framework based on tokio and bevy.
Later pseudo-code gives an overview:
async sprite::run() {
sprite_in_village();
...
sprite_enter_dungeon();
loop {
match evt = from_bevy().await {
GameEvent::MoveLeft => {
self.pos.translation.x -= 1.0;
to_bevy().send(Task::SyncEntity, self.entity, self.pos);
}
...
}
}
...
}