Commit Graph
6 Commits
Author SHA1 Message Date
西风逍遥游andCursor Agent 488cf0c9ef feat(ui): add Flex/Row/Column elastic layout for UI containers (#34)
Introduce Flex containers with gap, flexGrow, align, and justify so
toolbars and panels can lay out without manual SameLine, including
Spacer and script builder APIs.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-11 20:41:20 +08:00
西风逍遥游andCursor Agent e99641f088 feat(ui): unified theme tokens with named dark/light switching (#23)
Expand Theme into a full design-token set (palette, rounding, borders,
spacing, font scale) shared by dark/light presets. Add setTheme/getTheme
script APIs and apply tokens with DPI scale so geometry stays consistent
across theme switches.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-11 14:48:04 +08:00
西风逍遥游andCursor Agent 5210135fff feat(gpgpu): bridge ECS systems to compute shaders (#20)
Add ShaderSystem so ECS batch updates can run as GLSL compute kernels:
pack float component fields into SSBOs, dispatch, and write back.

Script: eve.ShaderSystem extends eve.System with bindFields/update.
C++: gpgpu::ShaderSystem + EcsGpu.h View pack/unpack helpers.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-10 21:20:44 +08:00
sunxfancy d15bd1d519 feat(ecs): add ECS demo and update Makefile for new game example
- Introduced a new ECS demo in `examples/ecs/main.nut`, showcasing the implementation of Component, Entity, and System classes.
- Updated the Makefile to include a new target for running the ECS example, enhancing the available game scenarios.

These changes provide a foundational example for using the ECS architecture within the engine.
2026-08-08 21:14:46 +08:00
sunxfancy a0c2cd8871 feat(ik): integrate inverse kinematics module and enhance animation capabilities
- Added a new submodule for inverse kinematics (`external/ik.hpp`) to support 2D/3D skeletons and solvers.
- Introduced the `IK` module with factories for `Skeleton2D`, `Skeleton3D`, `Solver2D`, and `Solver3D`.
- Enhanced the animation system with a new `Animation` module that supports property tweening and frame updates.
- Updated CMake configuration to include the new modules and their dependencies.
- Revised documentation to reflect the new features and usage examples for both IK and animation systems.

These additions significantly expand the engine's capabilities for character animation and movement control.
2026-08-08 21:14:36 +08:00
sunxfancy 018f3cd525 feat(makefile): update game directory configuration and enhance run commands
- Changed the default game directory setting to empty, allowing for running the embedded demo without arguments.
- Updated run commands to conditionally change directories based on the GAME variable, improving flexibility for game execution.
- Enhanced documentation in the Makefile to clarify the behavior of the GAME variable and its impact on running the game.

These changes streamline the game execution process and improve user experience when running different game scenarios.
2026-08-08 21:04:16 +08:00