Haxe + heaps.io frontend, Elixir + Phoenix channels backend?

Hi Haxers,

I am planning on putting together a multiplayer game using the techs as in the title, as an excuse to learn them. I wonder though if I’m not looking at biting more than I can chew. Specifically, I’m worried about using the Phoenix channels js client library in Haxe. I know that there are various ways to go about this but I’d be more comfortable if there were some example of doing it. Does anyone know of an open source project that uses Phoenix channels from Haxe in js?

Hi there! Sound like lot of fun! I’m not aware of a project that uses Phoenix, I used socket.io for few games though. If there are no externs available, you can try to create them with ts2hx, if there are typescript definitions available. GitHub - haxiomic/dts2hx: Converts TypeScript definition files (d.ts) to haxe externs (.hx) via the TypeScript compiler API

2 Likes