The Daily Click ::. Forums ::. Klik Coding Help ::. 360 Online mouse aiming movement thingie
 

Post Reply  Post Oekaki 
 

Posted By Message

Aptennap



Registered
  23/04/2004
Points
  916
2nd March, 2008 at 06:00:27 -

What would be a good way to do deadreckoning for a topdown 360 mouse aiming shooter? Because the player will be likely to move the mouse around alot, so everytime he sends its direction.

 
Oh sweet mary.

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
2nd March, 2008 at 10:59:28 -

One technique would be to understand that seeing the persons exact direction isn't critical for the game to work. Just make it so that whenever he shoots or whatever he's doing, that you send the direction to which he's shooting. That way if and when the game does desync, the critical information that effects gameplay, wont mess with the game because of lag.
So basically what you would want to do is make an online object that is capable of receiving a 360 value, then smoothly changing to it.

For example, if they are 300, then they get the value 360, it will go from 305, 310, 315, 320, etc until it reaches 360. This way you get a rough idea of where the person is looking, providing that online feedback. But you also have the flexibility to make sure gameplay isn't altered because of a desync.

 
http://www.facebook.com/truediamondgame
   

Post Reply



 



Advertisement

Worth A Click