Skip to content

Lyniat/dr-socket

Repository files navigation

DragonRuby Socket Extension

A DragonRuby socket library based on ENet for developing games with realtime multiplayer.

Docs

How-To

You need DragonRuby Indie or Pro to be able to use C Extensions and this library. CMake should handle all the stuff so after successfully building you should be able to start this app just like any other DR app.

Additionally required for building:

  • CMake (>= 3.22)
  • git
  • Python 3

Windows

macOS

  • Run build-unix.sh --target macos.
  • Add -fat-binary if you want to create a fat binary for both x86_64 and amd64.

Linux

  • Run build-unix.sh --target linux.

Android

Windows

  • Run build-windows.bat --target android.

macOS / Linux

  • Run build-unix.sh --target android.

iOS

  • Run build-unix.sh --target ios.

Raspberry Pi

WIP

Oculus Quest

WIP

About

You can help by joining the official DragonRuby Discord and visit the #oss-dr-socket channel.

Resources

Special thanks and contributors

License