#Solar2D (ex CoronaSDK) and Elixir websocket connection

4 messages · Page 1 of 1 (latest)

tardy wedge
#

Hi community,
I was wondering if someone has, by any chance, integrated Solar2D GDK (https://solar2d.com/) network/socket API with Elixir.

WHY? a few years back, I created a match-3 game called TacWars (if you've got a Mac it still looks ok (not so much IOS/Android).
https://apps.apple.com/sg/app/tacwars/id1271372939?mt=12
I decided not so long ago to rebuild the game using Solar2D (yes, unity would work but why use a anvil to kill an ant) and to make it a 2 player blast!

Mac App Store

‎Armed with Axes, Bows and Magic, you lead an army of brave Dwarven Warriors to battle against ugly Goblins and spooky Skeletons in this addictive Puzzle/RPG. Steal Tactics from your Enemies and unleash their power on the battlefield for maximum impact!

key features:

  • A Match 3 Puzzle Game. Use yo…
steady echo
#

I think the trick is that the websocket protocol for phoenix channels is not a raw websocket so you either need to implement a server side of the solar2d websocket protocol and have the server side process interact with your phoenix channels OR you need to go through the solar2d networking code and replace it with calls to the channels client

tardy wedge
#

I think I'll go with door number 1.

#

I know that this request is rather specific...
I thought, it's like lottery, maybe I ask and win 😅