Cocktail, cross-platform haXe UIs
Public Group active 2 weeks agoCocktail is a cross-platform library for the haXe programming language. It focuses on UIs and bridges the gap between all the targets supported by haXe.
Cocktail – content for communication
Text never used so far…
Cocktail v1.0.0 alpha2
This second alpha release is very important to us because we have a better understanding of what we are going to achieve in the long run, and when.
The goals and the strategical orientation are now clear:
It is all about UIs. Cocktail addresses the dilemmas of cross-platform UIs and DOM manipulation, including generating a nice HTML code with semantic, which looks like it was made by hand. Also the Style class of Cocktail, make it very easy to develop liquid layouts just like in HTML but cross-platform.
Learning curve and productivity. Let the developer choose the Flash and/or HTML philosophy, i.e. css styles VS sprites. You can manipulate the DOM elements very simply, change their absolute position, rotation, opacity, mask, z-order, etc. This will all render fine in HTML as in Flash. And if you like complex layouts, relative positioning, and set percentage values for dimensions, then you will need to be familiar with CSS and you will use the Style object of Cocktail.
Cross-platform issues. Cocktail offers an elegant way of dealing with cross platform issues, such as handling the capabilities of the target platform, providing several formats for the same resource – i.e. font, video, sound.
Cocktail is very complementary to Jeash. It uses the native DOM of the target platform, and not the canvas and also it provides a CSS-like liquid layout / relative positioning functionality which makes it ideal for the UIs. If you makea Flash game and
Read more about Cocktail
Comment display has been disabled on this doc.
Comment posting has been disabled on this doc.







