Making a Love2D client: is the Defold client's requirement for an HTTP method strictly HTTP?

Referring to this

Adapting to other engines

Adapting the Nakama and Satori Defold clients to another Lua based engine should be as easy as providing another engine module when configuring the Nakama client:

The engine module must provide the following functions:

  • http(config, url_path, query_params, method, post_data, cancellation_token, callback) - Make HTTP request

Well ok, but Love2D only natively supports ENet (which is UDP based) and Sockets, so would one have to additionally integrate an HTTP library?

Hi @Bobit,

Yes, you’d need an HTTP library to be able to bridge Love2d and Nakama.

1 Like