Skip to content

Nakama Defold Client 3.0.0

Compare
Choose a tag to compare
@britzl britzl released this 11 Apr 06:52
· 21 commits to master since this release
0d4ad56
  • [BREAKING] Major overhaul of the generated code and how it interacts with the Nakama APIs.
  • Socket creation and socket events have been moved to nakama/socket.lua. This includes sending events and adding socket event listeners.
  • Removed message creation functions in favor of including all message arguments in the functions sending the messages.
  • Added message functions to the client and socket instances. Compare nakama.do_foo(client, ...) and client.do_foo(...). The old approach of passing the client or socket instance as the first argument still exists to help with backwards compatibility.