Here we go. First Lab finished.
Play game -> Click here
Name: Giacomo Mariani, aka Jack Marian
15-apr-2012, h 3:00 PM - START
16-apr-2012 h 11:00 PM - END of the Tutorial
22-apr-2012 h 11:30 AM - PROJECT COMPLETED
The goal of the game is to gain score destroying enemies by clicking on them with the left mouse button.
The enemies are geometric shapes that moves on the screen and randomly spawn after destruction.
Project Goals - Unity Course Lab 1
- Blinking Sphere
- Counter - 3 second countdown for the Sphere before disappearing
- While counting down, add a flashing element to the Sphere
- Moving Cube
- Make a ‘New’ Cube game object and attach the Cube script to it
- Add an additional script to the object called ‘MoveCube’
- Provide the correct code to move the object randomly across the scene
- Random Spawn Time
- Create a random time to spawn the Spheres
- Extra Credit: Make the Sphere move in a circular pattern
Software Used: Unity 3d, Monodevelop
I enjoyed the project, and I started to love Unity.
The tutorials were great and I started out very quickly. The main issue I found was the use of the command InvokeRepeat in the co routines. At the beginning I planned to use the InvokeRepeat for the Blinking Sphere, but the Cancel Repeat command didn't work.
It didn't stop the Invoke Repeat.
I checked and rechecked the scripts, and then I decided to try other solutions.
Eventually I took the variable "gameTime" in the player script and used it for timing the blinking of the sphere. Not elegant as the Invoke Repeat would have been, but it works.
All the rest went smoothly. I was scared about the "Sphere circular pattern", but it was much easier to implement.
I decided also to Instantiate some of the enemies in the middle of the game, just to increase the rhythm of the gameplay.
Break down your Time:
Research: 3 hours
Art: 10 minutes
Design: 2 hours
Coding: 8 hours (5 of those hours for the blinking sphere).
Playtesting and bug fixing: 2 hours