Etendo
Member
Hello. So I have this block game I started a few weeks back. I've gotten the gameplay working, recently I added lan multiplayer with GMnet, which I followed a tutorial to do. It all works, server, connecting, sending and receiving input. But I'm having a slight issue. I have block generators for the first player and second players that spawn one block at a time in their respective section. If you go in the game alone, they work fine. However, if you open a server, have the player join then start the game, they spawn 2 blocks in each section, which causes them to collide, get stuck and cause a game over. I believe it's because both the first player window and second player are running the codes at the same time, making it do it twice for each. I'm just looking for help to maybe point me in the right direction, as I'm not familiar with multiplayer stuff in GM at all, so any help would be very appreciated.
Here's a video of what's going on:
Here's the tutorial I followed:
Thanks in advance.
Here's a video of what's going on:
Here's the tutorial I followed:
Thanks in advance.