List of Challenges ?

Hi all,

I was going to post this to my blog and mention @davidhelgason but then I thought I should really post it in the forum.

Anyhow, I’m getting past the basic scripting and know 99% of the editor at this stage, I’m not sure if I’m the only one but I have trouble focusing on any one topic within Unity, so I was wondering if you guys would like to make your own list of challenges (like a sort of paint-by-numbers) to help newbie coders.

What I mean by this is something like this:

  • Make a cube move left and right using some keys on the keyboard
  • making a ball (prefab) shoot out of first person controller (forwards) when you press space bar
  • make a cube follow the mouse around the screen (in world space)
  • you get the idea, onwards and upwards!

So something like this to get me (and others) off the ground. With the help of Unity Answers and the excellent scripting reference, I have been doing stuff with Physics.OverlapSphere and Instantiating prefabs, making them follow the mouse around the screen etc, making them stick to a ‘grid’ using Mathf.Round - but I’m not sure what to do next. I think I’m at the stage where I can probably lose the training wheels (I don’t need people to show me the exact code) - just a helpful nudge in the right direction. I’ll be honest here, I’m not the kind of person that reads entire tutorials I like to get the feel for something myself by glancing through stuff and then attempting it myself with a completely blank canvas (which is great when it works but I sometimes get ‘scripters block’)

I hope I’ve made myself clear and it doesn’t sound too silly - if anybody wants to post a list like the one above I’d really appreciate it. Maybe 10 or 20 challenges that you think will help us excel in game scripting. Thanks for reading.

Here’s my Challenge for you:

  1. Read the entire Tutorial.

'nuff said