These are the frequently asked questions which doesn’t belong to a certain series.
I’ve always been a big fan of video tutorials and so the very first thing I did after having downloaded Unity was to watch the TornadoTwins “How To Make A Video Game” series. At this point I was able to search for scripts online, download them and then modify them to get them working in whatever game I was making (in some cases). It was still very hard for me to write code just off the top of my head though. This is where Beginning C# Programming by Jason Lim came into the picture, a great book on writing C# code and how to make ideas turn into “if statements” and “functions”. The second half gets too complicated for most beginners. Now (constantly looking at the Unity Scripting Reference) I was able to write a simple game. Remember that there are always a bunch of nice people ready to give you a hand at Unity Answers! A great (relatively new) site called Codecademy is also a good way to practice your code writing abilities and learn new tips and tricks. I recommend checking it out (after you have watched all the Brackeys tutorials of course).
“Yes you can create and sell a game with the free version of Unity, without paying royalties or any revenue share. However, the free version of Unity may not be licensed by a commercial entity with annual gross revenues (based on fiscal year) in excess of US$100,000, or by an educational, non-profit or government entity with an annual budget of over US$100,000.
Please also be aware that the feature set of the free version is not intended for the production of professional games and interactive content. Lastly, games made with our Pro trial licenses may not be distributed nor used for commercial purposes.”
These are the frequently asked questions in relation to the Survival Game series.
Make sure you have deleted all cameras except for the one under the “First Person Controller”. Select it and drag in the whole Skybox.
First of all you should go ahead and download the script from our website just to be 100% sure that there is no typo in your code. Watch tutorial number 6 to understand the updated version of the code. Remember that RayCasting only works on objects with colliders attached to them. Also, the ray is shot out forward from the GameObject so make sure to center it and rotate it properly.
IMPORTANT NOTE: The melee and animation system was changed in later videos so before you go ahead and follow these steps, I recommend you go ahead and watch tutorial number 3, 4 and 6. This is because we want to play animation in the script. For example we want the Player to swing the weapon when we attack. To do this we need to create an animation. This is done by selecting the object with the script attached (in our case the Melee object) and then going to the top of Unity where it says “Window” and then “Animation”. Then under the animation window press the red circle to start recording animation. Save the new animation and give it a name (in our case “Attack”). Create your animation and make sure to drag it onto the “Melee” GameObject if it is not already attached.
IMPORTANT NOTE: The melee and animation system was changed in later videos so before you go ahead and follow these steps, I recommend you go ahead and watch tutorial number 3, 4 and 6. This problem is caused because you need to create and attach an Attack animation to the GameObject. To learn how to do this, take a look at the question right above this one.