Re: Sending other peers variable values in bgt
I'm trying to start my game, but the peer gets a bgt run time error. The players were created, correctly on both sides, but now I'm getting an error on the peer's side. Code is below.void create(){show_game_window("Game Server")
Re: Sending other peers variable values in bgt
I'm trying to start my game, but the peer gets a bgt run time error. The players were created, correctly on both sides, but now I'm getting an error on the peer's side. Code is below.void create(){show_game_window("Game Server")
Re: Sending other peers variable values in bgt
Re: server, the server can be a peer. Have it so that the game only connects to the server, and have the server manage what gets sent to all the players / guests / peers / whatevers. This is kinda obnoxious because you have to divide up what
Re: Sending other peers variable values in bgt
Hi. Here's how I'd personally do this. In your main loop.if(e.type==event_receive){string parsed=string_split(e.message," ",true);if(parsed[0]=="setx" and parsed.length()==2){x=string_to_number(parsed[1]
Re: Sending other peers variable values in bgt
Hi. Here's how I'd personally do this. In your main loop.if(e.type==event_receive){string parsed=string_split(e.message()," ",true);if(parsed[0]=="setx" and parsed.length()==2){x=string_to_number(parsed[1]
Sending other peers variable values in bgt
I have 2 questions, one of which is not related to this topic but I don't want to create a separate topic. That question is: how hard would it be to use a server rather than peer to peer? My friend has a server, and peer to peer is very limited