Cocktail, an HTML/CSS rendering engine for the Haxe language
Cocktail is implementing the W3C HTML and CSS standards in Haxe.
Use it by embedding it inside your app/game, like a webview, and create your UI in HTML/CSS.
Project home page
For tutorials, demos and community support : http://www.silexlabs.org/haxe/cocktail/
See you there !
Cocktail is a library for the Haxe programming language, you should be familiar with it to use Cocktail. Being familiar with NME (another Haxe library) can also help but is not required to use Cocktail.
Cocktail is written for Haxe 2.10, you need to download and install it first:
Cocktail is available on haxelib, once Haxe is installed, open you command prompt and type:
haxelib install cocktail
- Optionnaly, if you also want to build for NME as well as flash/Air :
haxelib install nme
- You can build now ! You should start with the samples provided in the folder of the cocktail haxelib. Haxelib are installed in the folder of your Haxe installation.
- Once you're familiar with the samples, you can use the template in the template folder to start your own project. Have fun !
Cocktail is open-source, released under the MIT licence, see licence.txt.