Merge: Asteronits: fix mobile on-screen controls
authorJean Privat <jean@pryen.org>
Tue, 17 May 2016 11:20:25 +0000 (07:20 -0400)
committerJean Privat <jean@pryen.org>
Tue, 17 May 2016 11:20:25 +0000 (07:20 -0400)
commit0715b5a9671c54bf095de89483fb7156e61f0d8b
tree98be70a18027b5e26055deef93b9bdde8cb1e39b
parent418f5ba93b4fd3b2859270abc737db894094b77d
parentfd36f1fb6b13467091d8bffe38247422b9b0f6b0
Merge: Asteronits: fix mobile on-screen controls

This is a long overdue update to Asteronits, the on-screen controls for mobiles devices were broken since the inverted Y axis incident. The problem is that a correct Y axis in 3D, when sharing world coordinates with the 2D, doesn't look right in 2D. The origin is at the bottom left of the screen, and positive angles are counter-clockwise. I don't like this representation in 2D, but I don't know to improve it, so let's update the clients of `gamnit::flat` instead!

Pull-Request: #2095
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Romain Chanoir <romain.chanoir@viacesi.fr>