Stencyl 3.4.0 is now out. Get it now!

Multipeer connectivity

designpeg

  • *
  • Posts: 496
Has anyone played with this?  I'm trying but not making much headway.

I've got an example working in swift, but turning it into an extension is taxing me!!

https://developer.apple.com/reference/multipeerconnectivity

The ideal would be a 'when ? ? ? happens'  event block, but I don't think you can do that with an extension.

mdotedot

  • *
  • Posts: 1245
You could look into wrapper blocks. For documentation see: http://community.stencyl.com/index.php?topic=39934.0

I've created my own nearby communication using WIFI where one of the devices acts as a server/console and the others devices act as controllers.  The implementation I've done isn't pure for iOS and also works for Windows/Linux/Android.
So this Apple thing is only limiting things and therefor I'm not looking into it.

But if you want my help for your extension I'm happy to share some light if I can.

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

designpeg

  • *
  • Posts: 496
Great thanks, the link you posted helps.