Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

ENET #1

Open
pablomayobre opened this issue Dec 24, 2014 · 5 comments
Open

ENET #1

pablomayobre opened this issue Dec 24, 2014 · 5 comments
Labels

Comments

@pablomayobre
Copy link

There are FFI bindings for ENET here. I guess is not a top priority but anyway.
Do you have an order list or missing features you consider more important? I would like to help. This project sounds really good

@pablomayobre
Copy link
Author

Well there are other project that may be useful (and you may already know but anyway) like love-snippets by slime73, love-polyfill and love-microphone by LPGhatguy

@shakesoda
Copy link
Member

woops, didn't notice the email for this!

my plan was to use lua-enet but pure FFI bindings would be more in the spirit of it. I haven't got a priority list - but PhysFS/love.filesystem bindings are definitely high on the list in order to get this actually usable.

I'm probably going to sort out some of the easy modules soon (love.mouse) and start with love.window and maybe love.graphics. ones that would be particularly good for help with are physics (Box2D, but I'd also like to wrap Bullet at some point and maybe something like recast/detour), audio/sound (OpenAL) and font.

I'm definitely aware of @LPGhatguy's projects and love-microphone has OpenAL bindings that I'll probably be using (among other things he's got)

@pablomayobre
Copy link
Author

Wow thanks for the answer and happy new year!
Yeah I gussed that the most important part was PhysFS it is used everywhere in LÖVE source code.
If you want I can adjust the ENET bindings a little so they look just like lua-enet API. I cant offer much help, I suck at C and so at FFI haha. I can help whith any Lua part that you need though!

@LPGhatguy
Copy link
Contributor

I think an enet binding would be about as important as a pure sockets binding to replace luasocket.

Both of these are probably better off using the regular library that can be installed via luarocks or manually compiled into a lua executable. Neither of them are feasible to replicate.

@shakesoda
Copy link
Member

quick update, I've fixed physfs and implemented read and enumerate at least, I'll be committing that and work on the rest of the module when I'm home.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants