Skip to content
@HuiDesktop

HuiDesktop

HuiDesktop项目集

HuiDesktop

desktop.huix.cc

高拓展性、高性能的桌宠喵~ 还能当壁纸引擎啥的用~

关键词 C OpenGL Lua C#(HDTLPanel)

开发交流:QQ群762939884

Current status

已发行版本的代号:Light

  • LightBuild 项目所需C DLL的一键编译,hdt-raylib-spine, HuIPC等作为其submodule
  • HDTLPanel 设置面板,通过IPC和Lua端通信
  • HDTL-LuaRoot Lua包(?),包含下面两个库的共同代码
  • HDTL-Arknights, HDTL-Azurlane 上面仓库的fork,明日方舟模块和碧蓝航线模块的特殊逻辑
  • hdt-raylib-spine 给HuiDesktop用的Spine渲染器,但是改改也能直接给raylib-based的项目用
  • HuIPC 简简单单IPC,用于HDTLPanel和Lua通信

Cross-platform

已发布版本中,这些东西是Windows only的:

  • HuIPC: 使用的Windows的Shared memory
  • HDTLPanel: 毕竟是WPF写的,不支持Linux
  • HDTL-LuaRoot: lua/win32下的API,很少(如检测是否有窗口全屏等),不影响主体运行

Next

Structure(预览)

  • LuaJIT: 脚本引擎,桌宠的逻辑核心
  • OpenGL/raylib(C Lib): 渲染核心
  • Qt(?): 运行时配置窗口
  • WebView2(?): 启动器、配置器

Features

所有二进制使用C/Rust/...暴露C API给LuaJIT,所有的桌宠相关逻辑和渲染在Lua脚本中完成,LuaJIT使用Socket/pipe/Shared memory和其他的独立进程通讯(如配置窗口)

Lua脚本使用ECS(Entity, Component, System),便于合到一起

使用纯文本的配置文件进行逻辑组装(做不到就写一个Lua库)

Plan

  • 完成对Lua脚本的同构(ECS)
  • 检查二进制的跨平台支持
  • 跨平台的HDTLPanel(计划使用Qt?)
  • 编辑器(组合ECS模块、编辑配置文件)

Popular repositories Loading

  1. HuiDesktop HuiDesktop Public archive

    desktop.huix.cc

    C# 24 3

  2. hdt-raylib-spine hdt-raylib-spine Public

    C 2 1

  3. HDTLPanel HDTLPanel Public

    C# 2

  4. renderer renderer Public archive

    C 1

  5. LightBuild LightBuild Public

    C 1

  6. HuIPC HuIPC Public

    C 1

Repositories

Showing 10 of 12 repositories
  • HuiDesktop/hdt-raylib-spine’s past year of commit activity
    C 2 Apache-2.0 1 1 0 Updated Jun 27, 2024
  • raylib Public Forked from raysan5/raylib

    A simple and easy-to-use library to enjoy videogames programming

    HuiDesktop/raylib’s past year of commit activity
    C 1 Zlib 2,365 0 0 Updated Feb 12, 2024
  • LightBuild Public
    HuiDesktop/LightBuild’s past year of commit activity
    C 1 Apache-2.0 0 0 0 Updated Apr 30, 2023
  • .github Public

    Hello!

    HuiDesktop/.github’s past year of commit activity
    0 0 0 0 Updated Mar 3, 2023
  • HDTLPanel Public
    HuiDesktop/HDTLPanel’s past year of commit activity
    C# 2 Apache-2.0 0 1 0 Updated Oct 7, 2022
  • HDTL-AzurLane Public Forked from HuiDesktop/HDTL-LuaRoot

    HDTL Azur Lane code

    HuiDesktop/HDTL-AzurLane’s past year of commit activity
    Lua 0 Apache-2.0 2 0 0 Updated Oct 7, 2022
  • HDTL-Arknights Public Forked from HuiDesktop/HDTL-LuaRoot

    HDTL Arknights code

    HuiDesktop/HDTL-Arknights’s past year of commit activity
    Lua 0 Apache-2.0 2 0 0 Updated Oct 7, 2022
  • HDTL-LuaRoot Public

    HDTL Lua modules and conventions

    HuiDesktop/HDTL-LuaRoot’s past year of commit activity
    Lua 0 Apache-2.0 2 0 0 Updated Oct 6, 2022
  • huidesktop-ng-spine Public archive

    HuiDesktop Spine相关模块

    HuiDesktop/huidesktop-ng-spine’s past year of commit activity
    TypeScript 0 GPL-3.0 0 0 0 Updated Sep 21, 2022
  • renderer Public archive
    HuiDesktop/renderer’s past year of commit activity
    C 1 0 0 0 Updated Sep 21, 2022

Top languages

Loading…

Most used topics

Loading…