Today was a pretty spooky day today. Not because it's Halloween, but because the work space was a Scooby Doo ghost town. That aside, I fixed up the prototype of the accelerometer shooter to have Metal Gear shoot towards the far plane when rotating towards a point. To further explain, when the player holds down a finger, it shoots not only in the forward vector of Metal Gear, but rotates Metal Gear towards that point, using a far plane from the camera as a reference. This ensures a more reliable control for shooting static bullets:
For something particularly unrelated to the prototype, I also stuck in the ability to pinch and zoom, which changes the field of view based on the difference between the previous positions and current positions of two exact fingers being held down on the screen. This can also be applied to an orthographic camera by way of changing orthographic size:
(not shown: fingers pinching to zoom inwards)
And as for the next prototype, I'll be looking into a simple infinite runner that incorporates swipes somehow:
Isn't there so much more atmosphere with a background? I'll have something running on it soon.
No comments:
Post a Comment