8000 GitHub - letmaker/liko: Liko is a simple, fast, and lightweight H5 render framework by typescript. Liko is a high-performance rendering engine based on WebGPU, designed for AI. Liko can be used for games, H5 applications, and interactive interactions.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ liko Public

Liko is a simple, fast, and lightweight H5 render framework by typescript. Liko is a high-performance rendering engine based on WebGPU, designed for AI. Liko can be used for games, H5 applications, and interactive interactions.

Notifications You must be signed in to change notification settings

letmaker/liko

Repository files navigation

Liko is a lightweight, high-performance H5 rendering framework developed using TypeScript.

Liko is a high-performance rendering engine based on WebGPU, specially designed for AI.

Liko can be used for game development, H5 applications, and interactive scenarios.

Features

  • Designed based on WebGPU
  • Specially designed for artificial intelligence and editors
  • Lightweight
  • High performance
  • Covers all functionality needed for games

Capabilities

  • 2D rendering
  • Sprite rendering
  • AnimatedSprite rendering
  • Text rendering
  • Canvas rendering
  • Built-in physics engine
  • Built-in audio system
  • Built-in particle system (under construction)
  • Built-in script system
  • Built-in animation system
  • Built-in easing system
  • Built-in event system
  • Built-in resource management
  • Built-in scene management
  • Built-in timing management

How to use

npm install liko
import { App, Text } from 'liko';

async function test() {
  // Create application instance
  const app = new App();
  // Initialize the application, set canvas size to 800x800
  await app.init({ width: 800, height: 800 });

  // Create text object
  new Text({
    text: "Hello World", // Text content
    fillColor: "#ff0000", // Text color (red)
    fontSize: 30, // Font size
    pos: { x: 100, y: 100 }, // Text position
    parent: app.stage, // Parent node is stage
  });
}

test();

Demo

demo: https://letmaker.github.io/liko-page/

source code: https://github.com/letmaker/liko-demo

Documentation

api: https://letmaker.github.io/liko-page/docs/

License

MIT

Thanks

About

Liko is a simple, fast, and lightweight H5 render framework by typescript. Liko is a high-performance rendering engine based on WebGPU, designed for AI. Liko can be used for games, H5 applications, and interactive interactions.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0