A while back I released a sneak peek of haxe away3d starling integration being facilitate with robotlegs and a robotlegs stage3D extension. At the time I couldn’t post the source code, however 7 months on and I’ve finally be able to rework things so all required components are in publicly available haxe libraries.
The following is an example of the haxe version of Starling, Away3D and Robotlegs all playing together. Source code can be found on Github.
This example consists of fours layers:
- A background starling layer.
- then an Away3D cube layer.
- a Starling animated movieclip layer.
- and finally another Away3D cube layer.
Additionally while not visible in the example above, the example source code also demonstrates how to overlay openfl on top of all stage3D content.