Thanks to a friend, seems that I will be in Havana Book Fair, next february. Actually, Im going to be in the capital for more time than I expected (and wanted), I hope I can productively use that time to meet some people with similar interests. Specifically, game developers.
I had pending this since a month ago, so Im forcing myself to post it today. The goal is to provide a fully functional isometric like system that you can use with few or none modifications in your own game. So, lets get started. Start Unity3d and in your scene, add an empty GameObject, we will call it target . Create a camera object and drag it to target to make it child. The result looks like this: Now select Camera and set the values to this: For a true isometric like feeling, ortho projection is essential. You could use perspective, but it is not the same. Play with Size to suit your needs (we will be using this later, when implementing zoom). Now, lets create an script named CameraController, or whatever, and drag it to target GameObject. Lets implement scrolling, the easier part: go to Update() and add the following code: if (Input.GetKeyDown(KeyCode.W)) { dir = UP; } else if (Input.GetKeyDown(KeyCode.S)) { dir = DOWN; } e
Comments
Post a Comment