Kha

超便携、高性能、开源多媒体框架。「Ultra-portable, high performance, open source multimedia framework.」

Github星跟踪图

Kha

Kha is a low level sdk for building games and media applications in a portable way. Think SDL, but super-charged. Based on the Haxe programming language and the krafix shader-compiler it can cross-compile your code and optimize your assets for even the most obscure systems. Kha is so portable, it can in fact run on top of other game engines and its generational graphics and audio api design gets the best out of every target, supporting super fast 2D graphics just as well as high end 3D graphics. Also, Kha probably added a new target while you were reading this text.

Community

Features

  • Great performance on each platform.
  • Generational graphical/audio API design.
  • Hardware accelerated 2D and high-end 3D graphics. Fallback support (i.e. html5 canvas).
  • Can run on top of other game engines (i.e. Unity3D).
  • Write shaders in GLSL and cross-compile to target specific shaders.
  • Kha apps can also be compiled to C# or Java libraries
  • Flexible and robust backend system. Adding your own takes little effort and is straight forward.
  • One API for all platforms!

Supported platforms

  • HTML5 (WebGL 2, WebGL and canvas or running in a WebWorker)
  • Windows (Direct3D 12, Direct3D 11, Direct3D 9, Vulkan or OpenGL)
  • Linux (Vulkan or OpenGL)
  • macOS (Metal or OpenGL)
  • FreeBSD
  • Android (Vulkan or OpenGL and via C++ or via Java)
  • iOS (Metal or OpenGL)
  • tvOS
  • Raspberry Pi
  • Universal Windows Platform (Direct3D 12 or Direct3D 11)
  • Node.js (for automatically created server versions)
  • Java and AWT
  • C# and Windows Presentation Foundation
  • PlayStation 4*
  • PlayStation 5*
  • Xbox One*
  • Xbox Series X|S*
  • Nintendo Switch*

* The consoles code is not public. If you are a registered developer with Microsoft/Nintendo/Sony you can contact us to get access.

主要指标

概览
名称与所有者Kode/Kha
主编程语言C
编程语言Haxe (语言数: 9)
平台
许可证zlib License
所有者活动
创建于2013-10-23 22:07:47
推送于2025-06-09 07:42:01
最后一次提交
发布数2
最新版本名称flash_is_ugly (发布于 )
第一版名称v17.1 (发布于 )
用户参与
星数1.6k
关注者数103
派生数168
提交数5.3k
已启用问题?
问题数729
打开的问题数142
拉请求数641
打开的拉请求数0
关闭的拉请求数69
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?