This (uncommented) example shows how to make a relatively simple online platformer in OINC. I can make a commented version later, but I just wanted to post this ASAP for everyone. :)
Enjoy!
-LB
Printable View
This (uncommented) example shows how to make a relatively simple online platformer in OINC. I can make a commented version later, but I just wanted to post this ASAP for everyone. :)
Enjoy!
-LB
I can't see the other player?
I created an exe of it and opened two of them. I tried to connect on both, it connected, but I didn't see the other guy?
I can't see the other player.
Same problem here.
stephen1980
That's because the both land in the same spot and one coveres the other up. :P Did you try actually moving both characters to different spots? It works fine for me here.
Edit: Oh you're right it's not working! I did a test right before I uploaded the mfa and it was fine with three players even! I'll look into this sorry!
Edit: Hmmmm there's nothing wrong I can see in the code... maybe it's a bug on the server because peer loops and on peer connect don't work but the chat works. It's wierd chatting with somone who isn't there!
Not sure if this will be same as you LB (haven't get MMF installed on this comp) but I had the same problem and fixed it by reordering the events (putting the start peer loop event last).Quote:
maybe it's a bug on the server because peer loops and on peer connect don't work but the chat works. It's wierd chatting with somone who isn't there!
Steve
Steven the issue is ALSO when a peer joins.
Ah right... haven't had that one. I'll have a look tonight if you like.
Steve
Hmm... I think I may have discovered an error.
I entered as "Guy1"
Opened another MMF2
I entered as "Guy2"
I left as "Guy2"
I entered as "Guy3"
But it reads in the chat log of Guy1 this:
It doesn't write other playes entering the game for some reason, it may be my version of OINC though.Code:Guy1 has joined the game.
Guy2 has left the game.
Yes I am aware that this is ahppening, it didn't happen before, but since the servers have started acting up I think they are being glitchy. The code in the example has nothing wrong with it, because I did many tests before uploading.