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

rustyhex

> 编程语言
开源

使用 Rust 语言编写的简单 Roguelike 游戏。

100 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

使用 Rust 语言编写的简单 Roguelike 游戏。

RustyHex

Introduction

Simple roguelike written in Rust.

It's a spinoff of rhex, but while rhex uses traditional command line display, rustyhex uses OpenGL.

It's intendent to exercise my Rust knowledge and let me play with certain mechanisms that I'd like to see in roguelike game:

  • hexagonal map
  • tactical positioning (strafing, face-direction)
  • tick system with actions having delay and duration

Note

I am not actively working on this project as I lack skill and time to develop satisfying OpenGL UI. rhex is the primary place where I work on the ideas of hexagonal roguelike.

I'm still interested in PRs or even completely handing over this project to someone. It might also get merged in rhex one day.

Overview

RustyHex screenshot

Building

See .travis.yml

Status and goals

Report problems and ideas

How to play

Basics

  • Use hjkl or arrow keys to move.
  • Press r to toggle between running and walking.
  • Hold Shift to strafe (with Left/Right move)
  • Hold Ctrl to attack (with a move)
  • Press . to wait.

Mechanics

Game time is measured in tick. All creatures (including player) can issue actions. Every action has pre and post delay. Pre-delay is a number of ticks between issuing an and when it actually happens. Post-delay is a time after action was performed and when next action can be issued.

Running

Running is faster if the preceding action was also Running. This reflects some time that it takes to get to full speed.

Melee attack

Melee attack action has generally small pre-delay, but long post-delay.

Wait "rubber"

Any action performed after Wait action is going to have it's pre-delay reduced. This reflects the preparation time that allows for faster attack.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

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

> 标签

Rust

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

> 工具信息

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

> 相关工具

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