GameMaker Studio 2 (2.0 - 2.2.x)
Icon

BNet Networking

BahamaGames

You must be logged in to obtain assets

Description

1 OBJECT TONS OF MODULAR FUNCTIONS, AND NO CLIENT PORT FORWARDING REQUIRED!!! Add online multiplayer to your game with ease.

Connection can be as simple as:

 bnet_server_connect();
 bnet_disconnect();

Sending a ds_map:

var packet = ds_map_create();
packet[? "coins"] =  100;
bnet_ds_map_send(bnet_protocol_udp, packet, bnet_list_room);
ds_map_destroy(packet);

To read received ds_map back:

var map = bnet_ds_map_get();
if(ds_exists(map, ds_type_map)){
    coins = map[? "coins"];
    bnet_ds_map_destroy(map);
}

Syncing an instance example. Enemy object

 Create event:
   bnet_instance_init(true);
 User event 0:
   bnet_instance_init(depth, "", false, true, "", "");
 Step event:
   //If the client isnt the host, exit the npc step event.
   if(!bnet_instance_is_npc(10)) exit;
 Clean up event:
   bnet_instance_cleanup(true);

ALL callbacks and connections are handled for you. You can choose LAN connection utilizing only GML or go WAN connection with an easy to setup Relay Java Server. Tested on Windows, and Android with clumsy. Should work on gml supported platforms. Future updates are planned websockets, and possibly bluetooth connection being one.

INCLUDED

  • Lan and Wan server
  • Tcp and Udp connection
  • simple java server
  • server broadcasting
  • email registration and validation or guest login
  • chat system(VoIP included)
  • global leaderboard
  • server side save and load data
  • lobby management functions
  • global synced room functions
  • global instance functions
  • easy data transmit functions
  • packet down sizing, reassembling
  • custom namespace

SHOULD WORK IN GMS1. WILL GLADLY ASSIST IN SETUP. TRY DEMO.

BNet IS IN ACTIVE DEVELOPMENT. THERE MAY BE MINOR BUGS FOUND WHICH I MAY HAVE FIXED ALREADY, BUT NOT RELEASED AS YET. FEEL FREE TO CONTACT

Gmail: bahamagames@gmail.com Discord: rickky#1696

End User Licence Agreement (EULA).

Age Rating: 4+

Versions

GMS2.3 - Version 1.6.2. Published September 6, 2021

Hotfix. Check note section within resource tree.

GMS2 - Version 1.6.2. Published September 6, 2021

Hotfix. Check note section within resource tree.

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait