#Multiplayer code only creates 1 player

2 messages · Page 1 of 1 (latest)

uneven raft
#

Hey everyone i do not know if this is a big or little issue so i just put quick question since i needed something. I am trying to make a simple multiplayer shooter fighting game. I dont have much done yet but have heard for multiplayer its best to do ground up implementation so thats why im here. I have the code from this video tutorial " https://www.youtube.com/watch?v=VPgAosG7QSU&t=297s&pp=ygUWc2hvb3RlciBnYW1lIGdhbWVtYWtlcg%3D%3D "

My problem is, whenever i run the game it creates 2 instances of MY player that i control, instead of 1 player i control and 1 player controlled by the computer for offline testing (which would be the other player). Does this code just not work or did i mess something up somehow? Ive tried increasing player count and changing as much as i could but no luck on getting this to function properly without breaking the game.

Create an online multiplayer game easily with GameMaker.

NOTES:

Written Multiplayer Tutorial: https://gamemaker.io/en/tutorials/easy-multiplayer-tutorial
Download GameMaker Beta: https://gms.yo...

▶ Play video
delicate ether
#

For my experience with multiplayer, I always needed a player and an "other player" object used for other clients that were not me. Do you have a similar setup?