/clay

Cross-platform 2d game framework

Primary LanguageHaxeMIT LicenseMIT

Clay

Clay is a cross-platform, 2d game framework.
Build on top of Kha framework using Haxe language.

Installation

git clone --recursive https://github.com/clay2d/clay.git
haxelib dev clay2d path/to/clay2d

Features

  • Input: Mouse, Keyboard, Touch, Gamepad, Pen
  • Audio, DSP Effects
  • Particles
  • Tweening
  • Animation
  • Timer
  • Events

Command Line Interface

  • haxelib run clay2d init [ -t template ]: initialize a new project.
  • haxelib run clay2d build < target > [ -debug ]: build the current project.
  • haxelib run clay2d run < target > [ -debug ]: build and run the current project.
  • haxelib run clay2d server : launch server for html5 build.
  • haxelib run clay2d launch: launch build.
  • haxelib run clay2d clear < target >: remove project build files.