Things to note:
- When compiling cppia you generally want to turn dce completely off (
--dce no) in the host
- You should have a clear separation between your externs and your haxe classes. Your externs can return what you want, but your haxe classes shouldn't have any cpp syntax related types, like cpp.RawPointer, cpp.Star, cpp.Reference etc (quote from crobes)
Doesn't work when on the cilent:
- Scene switching does not seem to work
- Scene
create never gets called