Good way to practice my new scripting concepts?

I have finished to read the Intermediate gameplay scripting, and I’m ready to create scripts which requieres advanced structure. The thing is, although i learned those concepts, I don’t really know when to use them. I mean, I don’t have an idea, for example, when its good to use corroutines or inheriance.

I though about following some game creation tutorials, so I can get ideas, but I dont really know.

//opinion
Just build things, over and over. You will learn from your mistakes and you will create better code as you gain experience. Don’t expect to create good code from the start, just focus on getting things to work the way you want them.

You will create things with the concepts that you are comfortable with. As you go, you will get really familiar with those concepts and you’ll be ready to implement new ones. It will all flow naturally, I’m sure.

Try also the Tanks! tutorial from Unity. It covers main aspects like Camera moving, Physics, Prefab instantiation, Coroutine for game management, UI.

http://game-rules.net/manual/tutorials.html#

Some aspects that are not covered by Tanks! tutorial, but are covered by some other tutorials are:

  • delegate actions
  • State machines
  • Unity services like UnityAds, …

As @ADNCG said, just jump into your game and start building your first scene.


Game Rules
Unified Visual Scripting Asset with rules engine

1 Like

Hang out here and try and use your new techniques to solve the problems people present.

It the whole ‘its difficult to set your own exam’ argument.

1 Like

This a million times.

It’s why I spend time on forums, and always have.

When I first started programming I’d just go from thread to thread on the forums I frequented and try to solve the OP’s question… even if it was already solved I’d come up with my own solution (without really looking at the existing ones) to see what I’d do, and then compare to the existing solutions.

You don’t even have to post them if you’re too self conscious to do so. But hell… I’d say that you should, since it allows for feedback on your own exercises.

2 Likes