Wednesday, 20 April 2016

2D Game Prototype - Combining Shadow Test with Touch Movement

This is a quick prototype in Unity, by combining previous Shadow Test (#2) project, with "drag and drop in unity" tutorial from Aarlangdi Production.

Basically similar to Shadow game (buildbox games https://www.youtube.com/watch?v=H7EqQ3VBdOY), you move player cube by touch/drag, if collided with any moving enemy cubes, player died and played particle effect.

As this is using Unity Remote 4 on iPad Mini, the resolution is not as good as the one from Shadow Test (#2) project, as that video was captured directly on laptop screen using CamStudio.

Another thing for further improvement is, in the Shadow game, you can tap on anywhere on the screen and move around, the player object will move accordingly. However in my prototype, have you drag on the player object as the "OnMouseDown/OnMouseDrag" event listening code is on that object. Just need to add a transparent plane (MeshRenderer disabled) on top and move the "OnMouseDown/OnMouseDrag" to the plane.

No comments:

Post a Comment