Jump to content


Photo

39dll best method for this monster system.


  • This topic is locked This topic is locked
No replies to this topic

#1 killerheath

killerheath

    GMC Member

  • GMC Member
  • 209 posts
  • Version:GM8

Posted 25 April 2012 - 03:03 AM

Ok, so the player sends his x only when he starts or ends moving, so i can make the monster follow the player by the simple x value, because the server doesn't know the proper x value until the player has stopped.

I cant make the server identicle to the client, because it is in c++, which means i cant just see the actual x of the player by using hspeed.

i was thinking of making it so when a player is being attacked, that client controls the monster until it doesn't need to anymore, this would get the positioning correct, but if that client had lag, the monster would stop moving on everyone's screen because its controlled by the lagging client, this was the best method i could think of until i noticed that it could lag lots.

Whats a good method of doing this! :)

[Idea]
I though this up just before, but im not sure if it would work, i could make the server plus the players x with the new hspeed, so it has the correct x, This is just exactly what the client usualy does to make the player move, but its not as easy in c++ because the timing is different, i would appreciate more methods :)

Edited by killerheath, 25 April 2012 - 03:04 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users