Commit Graph
2 Commits
Author SHA1 Message Date
西风逍遥游 b9e3730072 feat(tests): enhance graphics tests with new rendering previews
- Added new test cases for various graphics functionalities, including animation previews, particle effects, and inventory UI.
- Implemented rendering previews for Mixamo animations, Box2D physics, and procedural generation, allowing for real-time visualization during tests.
- Introduced helper functions for drawing graphics elements, improving the clarity and maintainability of test code.
- Enhanced existing tests to utilize the new graphics capabilities, ensuring comprehensive coverage of rendering features.
2026-08-11 02:57:47 +08:00
西风逍遥游andCursor Agent 068085a93c feat: 高扩展性背包 / 物品栏模块 (inventory) (#17)
* feat: add extensible inventory/backpack module

Introduce eve.Inventory with data-driven items, Bag containers,
EquipmentSet, pluggable accept/capacity/stack rules, change events,
script bindings, tests, docs, and a playable example.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* fix: inventory tests for CHECK_EQ double-eval and never-stack slots

Store side-effecting call results before CHECK_EQ (zeroerr evaluates LHS
twice), and treat non-merging stack rules as per-slot capacity 1.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-10 13:03:46 +08:00