![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNKq1c3RI6UxGcp_ZBHy6nMm6xUrfFgPP0AGQ8gsTKF1vCaKibzLq-TEwugNmh_kXO7ai42KuoDn8Yt9XNpwO3ob1mfg3Ipxg5FBXQwOyPuRDau6q7f9-r3ZZkfrL5rzKJMRvK75SosfRt/s320/wrongboxcollider.jpg)
Monday, 31 January 2011
Level Building
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNKq1c3RI6UxGcp_ZBHy6nMm6xUrfFgPP0AGQ8gsTKF1vCaKibzLq-TEwugNmh_kXO7ai42KuoDn8Yt9XNpwO3ob1mfg3Ipxg5FBXQwOyPuRDau6q7f9-r3ZZkfrL5rzKJMRvK75SosfRt/s320/wrongboxcollider.jpg)
Friday, 28 January 2011
Time Management
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqnhvk4ghu404ao_8VWuKRQQOZjDlrF5NtjetkQfu41vDADQvO7npCqXoGimxupJXha5ZXl63iooqzXPJNLZSy65AE83qdTVNdn6GIKvMfNiYfi26Xm6v5XMkXbQDy48zLVzQg2eOMraDi/s320/Schedule.png)
Unity Progress So Far…
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxMmKXzfkJlJJE3fOkPHaUbXdmjl-KnOeA1BxUllcYWauR_xny2GC6xm2bPNyrs7-iZYLA-dNoja7E0cDm3nCWCkMlA5cTY5m_-KgYyvEzNiTW9xw3DWDcm3iXH8BGyeySLjwa87chBwzv/s320/2dgameplaytut.jpg)
Immediately after my first hand-in, I knew it would be important to come to grips with Unity as early as possible. Therefore, I went back to the 2D gameplay tutorial that I started in BA7, and began to work on it further.
This tutorial gives you a work file and a pdf document. Last term, even though I followed the pdf closely, I still found myself with errors, such as the character respawning when he jumps. After researching, it was extremely simple to fix and I even got my character to respawn after falling down a hole. I then made a few platforms to jump to, and adjusted the camera.
Here are the things I learned from the Tutorial:
• Learned how to restrict movement to a 2D plane;
• Built level with tileable platforms;
• Set level boundaries;
• Been introduced to Gizmos;
• Explored the fundamentals of setting up a Character;
• Explored the complexities of setting the camera;
• Seen how to make a strict orthographic camera view;
• Learned how to place and make Rigidbodies;
• Used waypoint system to create moving platforms;
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ_kz7seJplmrIKlpUXyfJcRwBVSGgjSlIrE8RqIyFl9I0Go1HPUqVqkWNjrR-ZJ2pqT5ZtFwNmXxqbBqJC1A_wUowkgH2s5iP_R3gs3w0dsJkf7UHS4WELQYfgLziUbTsZXgb1S4pSgSb/s320/platforms.jpg)
Also in the tutorial, I learned about “Skyboxes.” A skybox is a special kind of background which makes the level environment look bigger. The skybox’s image is made by cube mapping, which involves putting six different textures on cube faces.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXiT6lp8uyu3-QdaitZeY1fVop2TjuqOg6HCn01gl8gfwSdsGnhVn1izKg85vCXToaaBu35K4JqZ0vnIZ8kobdzqnaLpeJFdohIwaqC-Nr5_iNIjhPIm9V7xiVVwSVRr42SaU9hm9r1raZ/s320/skyboxinunity.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX-Azof-G96zysscNO8GEc0J2liPgT8HOcHs9oL_rngbkng7cuF7VzI6mGc_QCNmv5Cb2cxPXjtKTvW8JhXgetK2TEDNtQL0kSE9g41URZdYawKy7tupT3s6Dgb5tSjSFN1gfj2eLl3Df-/s320/3+camera+script.jpg)
I firstly wanted to add enemies to the game which move around and destroy the player on contact. Since this mechanic was not on the 2D gameplay tutorial, I had to look up how to do this myself using scripting. The 2D gameplay tutorial only used Javascript, yet the coding I used for the enemy was in C#. I changed the enemy’s code from C# to Javascript using the script reference on the Unity Website. This was a very helpful resource, as it showed script examples in different languages. I used a simple sphere to represent my enemy. Fortunately, the mechanic worked.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpjoofvt02WhLfMw_6fssJq0-3bB3j7xbSfO9qeNd96tIfekqFMlPM9sR7b_qfdu_uzhw9_6MH5GpFBridfysQdcjZ3E_OfcSz8DKhN8lQgx2mY_Q1OqRNajCFgjkskmqiLTYmmdVFe-JF/s320/enemies.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilGK6gOdujYlcnKF_TUyPcAselnDl3qnXG2Wd3cYBxijgFRp1f2CpiFf6ZSNKDwWSUIyKlquGPzpDTWm1FFayYLc8HdbapzHdmbLc_BkiEPHX4ddhxoNjiv1ZlHgZD6ynqFPAkoXQvpnfH/s320/vidtuts.jpg)
Wednesday, 26 January 2011
Monday, 24 January 2011
Modelling Warm-Up: Projectiles
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXxcW3OP2YG_EYZJXY5GGkldr-n1nzqKE4QqviDKS_oz19bUDKimmYHcM1j_OR8TUFJwFVx2NGpwGyBLI1aoZaQc_DzZZIMiGr0ts-FssNM5F0Fem0xaD-2M8R991yVQ4_ajlAOwLQUe-M/s320/alldesserts.png)