mansoor-s / Galactic-Supremacy

A MMORTS / Empire game built on WebGL/Three.js
http://galacticsupremacy.com/
GNU Affero General Public License v3.0
15 stars 8 forks source link

Ship movements #4

Open mansoor-s opened 12 years ago

mansoor-s commented 12 years ago

Implement ship movement control system.

Ships must be controlled in 3d space. When ships are told to move somewhere on the map, they should move only on the x, and y. The z stays constant, and that is how, a location on the map can be found from the mouse cursor position. Then, when the player holds the SHIFT key, he can move his mouse up, or down to indicate the location on the Z axis. Once the mouse-click is release, the ships are ordered to move to that position.

dezmaeth commented 12 years ago

Gonna try to implement a "queue" system also, for the movement

mansoor-s commented 12 years ago

Also, reassigning SHIFT key to queue system, and instead using CTRL key for Z axis movement