zorg wrote: ↑Sat May 19, 2018 7:00 pm
SmartGlassesMan wrote: ↑Sat May 19, 2018 6:48 pm
Thanks for the reply. That's helpful information.
No it's not, when it gets misinterpreted.
Correct me if i'm wrong, since i don't do much android or ios development but, doesn't all officially supported löve platforms include all 3rd party libs?
Enet and luasocket both should exist on the mobile platforms.
Thanks for the reply.
I checked the Enet website to try to find out how to use it in a mobile Love2D application (for instance, using sock.lua)
http://enet.bespin.org/Installation.html
From what I can tell in the installation section, I would need to download the C source and compile it for the target to get Enet working.
I have done a little Android development, so I know that if I'm getting C code working on an Android device, I will probably need to use the Android NDK, at the least.
Maybe it wouldn't be much work, and would be trivial as the website claims, but it is a bit more work than just coding in Love2D, in my book.
If someone else has already compiled Enet for Android, then that could save me some work.
Maybe I just missed something.
zorg wrote: ↑Sat May 19, 2018 7:00 pm
If your question was only meant to ask about the possibility of connecting one device with another and sending messages to each other (through wifi, over a network, i mean), then that works regardless of platform and only has issues with NAT when it comes to routers and firewalls and stuff.
I'm sure it works. I hope I can get it working in a little test application. But, as I indicated, it looks to me as if I'll have to compile Enet from source and learn to use the Android NDK. My previous development in Android used the Dalvik Virtual Machine with their basic Java framework, so it is a bit unfamiliar to me. I'm not disputing that it is doable, though.
zorg wrote: ↑Sat May 19, 2018 7:00 pm
If you were asking about integration with other online services, or through bluetooth or NFC, those are the harder things. But again, you don't need those for just connectivity through an IP network between two devices that have löve installed.
I wasn't asking that. But, thanks for being thorough.
Thanks again for the reply.