Use grid-engine for MMORPG #210
Replies: 3 comments 7 replies
-
Great to hear you plan to use GridEngine for your project. Let me try to answer your questions. How can I move a Character when a server command arrives?Simply call the How can I sync characters' movement and their position when, eg, tab is in background or lag/pin is high?You can use I think here it depends a lot on the concrete implementation whether this is working smoothly or not. If you just update the GridEngine positions every 'x' milliseconds with the data from the server it could mean that player positions suddenly change and players 'jump' to new positions. This behavior can be observed in many online games when players have a laggy internet connection. At a first look I can only think of two strategies (and probably many combinations of those) for handling a lag:
Which one to use depends a lot on your requirements. Can grid-engine delegate the collisions stuff to the server?While there is no direct functionality for delegating this information to the server I see some possible solutions:
I never used it for an online game but it is definitely something I personally would want GridEngine to be capable of. So if you decide to go with GridEngine and hit a wall, open up a discussion or an issue and it might end up as a new feature for GridEngine. I hope this helps a bit. |
Beta Was this translation helpful? Give feedback.
-
I was doing on vacation I used nodejs, mongodb, socket.io I actually opted to turn off collisions and control it on the server, but it is possible to maintain and have a double check whenever a player moves it is best to teleport to the point of origin and move to the destination at the moment my game is not online but there are some videos on youtube |
Beta Was this translation helpful? Give feedback.
-
Hi everyone! Im calling moveTo method when a message arrives from server and it woks fine (partially...) What I need is that every character in every client takes the same path to get to the target position, but I couldn't make it. I tried modifying MoveToConfig props with no success. I'm attaching a video showing the issue (Im playing on right tab) movement.webmThank you! |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to make a MMORPG like Argentum Online with Phaser and Colyseus. Fortunately, I found this library, but I don't know if it can be adapted to work as I expect. These are my doubts:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions