Jump to content

  • Log In with Google      Sign In   
  • Create Account


Normalized

Member Since 18 Oct 2011
Offline Last Active Nov 16 2013 06:55 PM

Posts I've Made

In Topic: Knowing the symobls positions out of a stopping angle

14 November 2013 - 01:16 PM

Why are you changing symbol? And if you are why not swap the whole reel texture?


In Topic: Matching rotations between cameras with different FOV

13 November 2013 - 10:14 PM

I am doing this because low resolution or any reasonable resolution sky boxes look like shit when you are zoomed in at 50 power. Its appears to be rotating faster in the lower FOV.

 

I have gotten it to go away by trial and error 95% by using the following code to modify the quaternions before they are applied. I feel like there must be some simple trigonometric formula I am missing.

cam1.transform.rotation = rotCamStart * rotCam;


float zoom = (LinearMath.Zoom(camera.fieldOfView))

* (Mathf.Sin(LinearMath.Zoom(camera.fieldOfView) / ((LinearMath.Zoom(fieldOfViewMin) - LinearMath.Zoom(60.0F))))

* Mathf.Cos(LinearMath.Zoom(camera.fieldOfView) / ((LinearMath.Zoom(fieldOfViewMin) - LinearMath.Zoom(60.0F))))) + 1.0F;



cam2.transform.rotation = rotCamStart * Pow(rotCam, zoom);

In Topic: Best networking architecture of this game type

09 February 2012 - 06:43 PM

Right now, I use physx none of my code is written with determinism in mind. I also use C# not sure, how that would affect stuff. Full synchronized just seems like a lot of problems.

144 units per player would optimistically be about 80 kbps per player. Most likely, it would be more like 150 kbps however most of the time a player would likely have more like 50 units. plan to have total unit limit among all players at 1,000. I think more like 300 would be the high point in a normal game.

Basically it is just barely doable as an authoritative server. Since this game will not use a dedicated server. An authoritative server puts more CPU load on the server hopefully not a prohibitive amount. I have read over all the papers I can find on game networking. I can optimize some of this by sending the path units will follow from the server. When the player is not directly controlling his units. The player can only control 1 unit at a time when hes is in directly control

- Synching events between clients
yes

- Synching visuals between clients

yes to a degree for aiming. I plan to us something like valves latency compensation

- Preventing cheating
Yes to a degree. This is mostly a problem if the game becomes popular. So I can deal with it latter after release to a degree.

- Dealing with buggy clients / clients on different architectures
no

- Dealing with lag
yes P2P will create more of this I think

The following series is a lot like the game I am trying to develop I think it uses a server of some kind because if the host leaves the game will end. But I have no idea what it's really doing.

soldiers heroes of ww2, faces of war and men of war

In Topic: Is there a better way to do this?

15 January 2012 - 04:13 PM

Ok so I forgot that slope = tan(angle) . What way do you think is better trig or not ?

In Topic: What is a clockwise ordering

13 December 2011 - 10:34 PM

My new idea is rather then sorting. I just test if the normal is negative in y and if it is I just flip the vector, should run faster.


PARTNERS