Page 1 of 1

Cross Compatability between systems?

Posted: Thu Feb 25, 2016 5:53 pm
by ZBoyer1000
I'm wondering about something. Is it possible for multiple operating systems using LOVE and problably Android with LOVE to be connected to a single server or locally without issues? ;)

Re: Cross Compatability between systems?

Posted: Thu Feb 25, 2016 6:26 pm
by zorg
Shouldn't be an issue neither with a dedicated server, nor with p2p (peer-to-peer) solutions. One thing i heard though is that floating point stuff might not be exactly the same depending on architecture, but i might be wrong about that.

Re: Cross Compatability between systems?

Posted: Thu Feb 25, 2016 7:58 pm
by marco.lizza
I agree with zorg. By using a suitable transport representation of the date it shouldn't be an issue at all.

Re: Cross Compatability between systems?

Posted: Thu Feb 25, 2016 8:37 pm
by T-Bone
I'd say it's pretty difficult in Löve to make network code that DOESN'T work across platforms. If you for some reason don't want cross-platform play, you have to deliberately prevent it.

Re: Cross Compatability between systems?

Posted: Thu Feb 25, 2016 8:47 pm
by zorg
marco.lizza wrote:I agree with zorg. By using a suitable transport representation of the date it shouldn't be an issue at all.
By floating point number representations, i mean any kind, not just dates though :3
Like if one uses non-integer numbers as coordinates, they might ever-so-slightly differ.

Re: Cross Compatability between systems?

Posted: Thu Feb 25, 2016 9:19 pm
by marco.lizza
zorg wrote: By floating point number representations, i mean any kind, not just dates though :3
Sorry for the typo. I meant to write data. I wasn't referring to date in any way (needless to day, dates a better represented with a string).

Re: Cross Compatability between systems?

Posted: Fri Feb 26, 2016 10:45 am
by T-Bone
zorg wrote:
marco.lizza wrote:I agree with zorg. By using a suitable transport representation of the date it shouldn't be an issue at all.
By floating point number representations, i mean any kind, not just dates though :3
Like if one uses non-integer numbers as coordinates, they might ever-so-slightly differ.
That's true, but that can also happen even if you're just targeting a single OS, so you need to take that into account regardless of which OSs you support.

Re: Cross Compatability between systems?

Posted: Thu Mar 03, 2016 7:07 pm
by jjmafiae
Yes! this is definitely possible in fact if you just use luasocket you shouldn't even have to do any extra effort, I at least didn't have to in my multiplayer project