Pages

Sunday, 28 May 2023

HTML5游戏引擎Hilo



Hilo 是阿里巴巴Hilo团队开源的一款HTML5游戏引擎,可帮助开发者快速创建跨终端的HTML5游戏。Hilo支持过多届淘宝,天猫狂欢城等双十一大型和日常营销活动。

主要特性

    Hilo 支持多种模块范式的包装版本,包括AMD,CMD,COMMONJS,Standalone多种方式接入。另外,可以根据需要新增和扩展模块和类型;
    极精简的模块设计,完全面向对象;
    多种渲染方式, 提供DOM,Canvas,Flash,WebGL等多种渲染方案;
    全端浏览器的支持和高性能方案,独有的Flash渲染方案,即使在低版本IE浏览器下也可以跑起来“酷炫”游戏; DOM渲染方案能显著解决低性能手机浏览器遇到的性能问题;
    物理引擎支持——Chipmunk,支持自扩展物理实现;骨骼动画支持——DragonBones,同时内建骨骼动画系统——Tahiti(目前内部使用);
    案例丰富,框架成熟,已经经历多届阿里巴巴双十一,年中大促互动营销活动考验;

Github源码:https://github.com/hiloteam/Hilo
------------------------------------------------------

A Cross-end HTML5 Game development solution developed by Alibaba Group

hiloteam.github.io/ 

中文版

Hilo is a Cross-end HTML5 Game development solution developed by Alibaba Group. It could help developers build HTML5 games conveniently in minutes.

Features

  • independency modules design, support multiple module styles;
  • Object Oriented Programmed Development;
  • Simple and efficient Visual Object Architecture;
  • Multiple render model supported, including CanvasRenderer, DOMRenderer and WebGLRenderer;
  • Compatible for multiple desktop and mobile browsers. Using Flash Shim to support IE (yes as you can see, it support IE);
  • Physics extensions supported: Chipmunk
  • Skeleton animation extensions supported: DragonBones

Compile and build

Built by gulp:

  • run npm install to install all dependencies.
  • run gulp to build source.
  • run gulp extensions to build extensions source.
  • run gulp doc to build API documentation.
  • run gulp test to run tests.
  • multiple module styles can be found in build folder, involving CMD, AMD, CommonJS, KMD.

Project Generator for games

  • run npm install -g yo
  • run npm install -g generator-hilo
  • run yo hilo to create a project to continue your fascinating game development

API Documentation

Get started by reading docs/api-en/index.html

API Samples

 

 


No comments:

Post a Comment