L
Linnek
Guest
Game Maker Professional Edition (v1.4.1772)
I am creating a smash-bros-like game for friends with the help of SlasherXGAMES' networking tutorial:
and succesfully made my game work at part 11 (i stopped following the tutorial after that point) at that point i already had something like 10 or eleven selectable characters that worked with the character selection from the tutorial and basically everything worked well, the attacks, the countdown etcetera.
but, once i added a few more things (from my memory a ready up system that required all clients to press a ready button and a few more characters) things started to go a bit wrong, some characters displayed the wrong sprites ingame, resulting in menu buttons running around; the program would freeze (fixed), And the problem that i have the most issues with that makes the game unplayable:
The Problem:
on one client's screen the other client was visible and if that client attacked client number 1, client number 1 would be attacked, only client 2 doesn't see client 1 at all. client 1 simply does not even exist on client 2, even though both clients have the same code, how?
I think it has to do with some code not triggering when a client has a certain ID but i tried to solve the problem for a few weeks now and i just couldn't get it to work.
Media:
i can provide code if necessary, i am not sure if problems like this happen often but i just cannot find out what's wrong.
I am creating a smash-bros-like game for friends with the help of SlasherXGAMES' networking tutorial:
and succesfully made my game work at part 11 (i stopped following the tutorial after that point) at that point i already had something like 10 or eleven selectable characters that worked with the character selection from the tutorial and basically everything worked well, the attacks, the countdown etcetera.
but, once i added a few more things (from my memory a ready up system that required all clients to press a ready button and a few more characters) things started to go a bit wrong, some characters displayed the wrong sprites ingame, resulting in menu buttons running around; the program would freeze (fixed), And the problem that i have the most issues with that makes the game unplayable:
The Problem:
on one client's screen the other client was visible and if that client attacked client number 1, client number 1 would be attacked, only client 2 doesn't see client 1 at all. client 1 simply does not even exist on client 2, even though both clients have the same code, how?
I think it has to do with some code not triggering when a client has a certain ID but i tried to solve the problem for a few weeks now and i just couldn't get it to work.
Media:
The main problem in action
The weird sprite problem in action (non-gamebreaking but still not so good)
The weird sprite problem in action (non-gamebreaking but still not so good)
i can provide code if necessary, i am not sure if problems like this happen often but i just cannot find out what's wrong.