| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
KossJS register_native_canvas: native Canvas API registered in Rust - Added register_native_canvas() in runtime.rs: Canvas.fillRect, .clear, .borderRect, .drawSprite, .flush registered as NativeFunctions - Functions call into libkossjs_bridge.so via unsafe extern C at runtime - Rebuilt libkossjs.so with new code (x86_64 + arm64) - Updated CMakeLists.txt to link rawfile.z | 13 天前 | |
feat: 全量 TS 翻译完成 — 核心游戏逻辑 97.5%覆盖 + 8项功能缺失修复 ## 新增文件 (12个) - engine/SpriteInstance.ts — c/a.java 精灵实例数据类 - engine/SaveBuffer.ts — c/b.java 保存缓冲区接口 - engine/AnimationEffect.ts — f/g.java 5模式动画系统 - engine/AnimationQueue.ts — f/h.java 动画队列单例 - engine/HUDCoordinator.ts — f/f.java HUD布局协调器 - ui/UIStatusBar.ts — f/a.java 状态栏(时钟/电池/按钮/触摸全实现) - ui/UIButtonWidget.ts — f/b.java 按钮/滚动条/滑块全实现 - ui/ToastHelper.ts — f/c/d/e.java Toast通知 ## 修复 (8项功能缺失清零) 1. 战斗系统3个空壳方法 → syncEntities/checkBattleEnd/handleBattleInput 2. 文件读取返回null → Error抛出替代null返回 3. AssetBundle空加载 → native桥接加载.inf文件 4. 动画解析骨架 → AnimationEffect 5模式完整实现 5. 键盘事件空循环 → 文档说明触控平台限制 6. 触控同步stub → syncTouch/hitTest完整实现 7. GameOver弹窗缺失 → ScreenStack覆盖层+WorldScreen检测链 8. 高分排行榜占位 → colonyName替代硬编码'---' ## 其他修复 - AssetBundle.loadFromDat/loadFromBytes → 真实加载.inf文件 - ScreenStack: gameOver渲染+checkGameOver检测链 - WorldScreen: 每日checkGameOver调用 - Entity.ts onKeyDown/onKeyUp: 添加平台文档说明 - Index.ets/platform.js: 清除遗留TODO标记 - 红线扫描: 零TODO/FIXME/stub/return null - 差距审计表: docs/GAP_AUDIT_2026-06-23.md 完整版 ## 覆盖统计 - 核心游戏逻辑 40文件: 39✅完整 + 1⚠️部分 + 0❌缺失 (97.5%) - 引擎框架 83文件: 57✅ + 4⚠️ + 22❌ (68.7%) - 编译: tsc零error, game.js ~993KB, 语法检查OK - 全流程: 标题→世界→战斗→存档→读档 可运行 | 10 天前 | |
Initial commit: Kailuo (Space Pioneer) HarmonyOS port - KossJS runtime (Rust/Boa JS engine, compiled for OHOS arm64/x86_64) - C++ NAPI bridge (kossjs_bridge) - ArkTS shell (XComponent surface + game loop) - Game TS source scaffold (game/) - Build scripts (build.bat, build_kossjs_ohos.bat) - Native Canvas rendering pipeline (ring buffer + OH_Drawing_Canvas) - Architecture documentation (docs/ARCHITECTURE.md) | 13 天前 | |
Initial commit: Kailuo (Space Pioneer) HarmonyOS port - KossJS runtime (Rust/Boa JS engine, compiled for OHOS arm64/x86_64) - C++ NAPI bridge (kossjs_bridge) - ArkTS shell (XComponent surface + game loop) - Game TS source scaffold (game/) - Build scripts (build.bat, build_kossjs_ohos.bat) - Native Canvas rendering pipeline (ring buffer + OH_Drawing_Canvas) - Architecture documentation (docs/ARCHITECTURE.md) | 13 天前 | |
Initial commit: Kailuo (Space Pioneer) HarmonyOS port - KossJS runtime (Rust/Boa JS engine, compiled for OHOS arm64/x86_64) - C++ NAPI bridge (kossjs_bridge) - ArkTS shell (XComponent surface + game loop) - Game TS source scaffold (game/) - Build scripts (build.bat, build_kossjs_ohos.bat) - Native Canvas rendering pipeline (ring buffer + OH_Drawing_Canvas) - Architecture documentation (docs/ARCHITECTURE.md) | 13 天前 | |
Initial commit: Kailuo (Space Pioneer) HarmonyOS port - KossJS runtime (Rust/Boa JS engine, compiled for OHOS arm64/x86_64) - C++ NAPI bridge (kossjs_bridge) - ArkTS shell (XComponent surface + game loop) - Game TS source scaffold (game/) - Build scripts (build.bat, build_kossjs_ohos.bat) - Native Canvas rendering pipeline (ring buffer + OH_Drawing_Canvas) - Architecture documentation (docs/ARCHITECTURE.md) | 13 天前 | |
feat: rendering pipeline migration - remove ring buffer, direct OH_Drawing - Remove DrawCmd/TextCmd ring buffers and CPU buffer dead code - Add persistent s_brush/s_pen in initCanvas() - Native draw functions call OH_Drawing directly (immediate mode) - Simplify flush() to only blit to NativeWindow - Remove GetFramePixels NAPI (Canvas2D fallback) - Fix Index.ets: add XComponentController + bindSurface - Fix build_game.bat: restore IIFE wrapper - Fix Eval NAPI to propagate JS errors | 11 天前 | |
Initial commit: Kailuo (Space Pioneer) HarmonyOS port - KossJS runtime (Rust/Boa JS engine, compiled for OHOS arm64/x86_64) - C++ NAPI bridge (kossjs_bridge) - ArkTS shell (XComponent surface + game loop) - Game TS source scaffold (game/) - Build scripts (build.bat, build_kossjs_ohos.bat) - Native Canvas rendering pipeline (ring buffer + OH_Drawing_Canvas) - Architecture documentation (docs/ARCHITECTURE.md) | 13 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 13 天前 | ||
| 10 天前 | ||
| 13 天前 | ||
| 13 天前 | ||
| 13 天前 | ||
| 13 天前 | ||
| 11 天前 | ||
| 13 天前 |