- Renamed rendering functions to follow a consistent naming convention (e.g., `update` to `eve_update`, `draw` to `eve_render`). - Set background colors for bush, tree, skyscraper, and other procedural generators to enhance visual consistency. - Adjusted parameters in `gfx.drawSolidRect` and `gfx.drawTexturedRect` to use floating-point values for improved precision.
Inventory 示例
演示 eve.Inventory() 背包模块:JSON 物品定义、主背包 / 任务栏 / 仓库、装备穿脱与跨包转移。
make run/<platform>-debug GAME=examples/inventory
# 或
make inventory
按键:1 拾取 · 2 喝药 · 3 装备/卸下 · 4 存矿 · R 重置