Just like with the Processing .app file I had to compress the Unity one too.
https://googledrive.com/host/0B4B1DsWZ3yvvMkVldjJCMy1zeFE/Magic_Trees.html
The web player link.
Instructions:
Mouse click to shoot object.
In Unity I looked at duplicating a cube with the script 'Duplicate Heaps' and duplicating them even more with the 'Shoot Object' script. Before I looked into creating the duplicates, I adjusted some of the over all parameters of the scene, which included the texture of the terrain, surrounding hills, size of the cube and putting in trees. I looked in to using either 1st or 3rd Person Controller but found it was easier for me not to worry about it at this stage as I don't have any gaming skills. For the texture of the terrain I created a code in Processing and screen captured one of the generated forms, which I then inputed into my assets file. With the cube I added the trail renderer and adjusted the size and time it appears, I wanted to look like a glowing mess with all the duplicates. Therefore I also adjusted the time/speed of the duplicates from the 'Shoot Object' script. To make it even more magical I added the 'Rotate Object' script and 'Oscillate' script to the trees. This composition is user interactive with the 'Shoot Object' Script.
Processing Code for the terrain texture.
Codes/ Scripts I used in Unity with my Game Objects.








No comments:
Post a Comment