Im really enjoying messing around with Unity. It reminds me a lot of playing around with Flash and Actionscript back in college. Moving on from last weeks simple and un-textured cube drop, this week I learnt a lot.
In the workshop we had, we touched on texturing game objects, playing sounds and detecting collisions. Once we had finished a couple of us messed around with the single wall cube we had created and split it into many small brick shapes, messing with the tiling of the brick texture to give each brick a single brick image. Then we could spawn cubes into it and smash through the wall giving a nice destruction effect.
After that I got thinking on the way home. I started messing around with mouse look camera’s, so now the camera looks at where the mouse is pointed. Also I changed the cube into a ball and made a simple flat beach ball texture. Then I changed the add force code so the force was applied towards the mouse, so now you can look around the scene and fire the ball at specific points on the walls.
I’ve also messed around a little with a simple sample skybox. Then I found a function to completely reload the scene so once you’ve completely obliterated the walls you can click the button in the top right to repair the walls and knock them down all over again!