- Home /
How do you write scripts???
Hi everyone, sorry yo bother you but i've only just started making games with unity. I was wondering how you actually lay out a script. For me, when i look at gamer scripts i see tons of complex codes. Is there a way to learn these.
Thanks!!!
P.S. How do I move my camera in game mode?
Answer by FLASHDENMARK · Feb 25, 2011 at 04:57 PM
If you you are not ready to spend money on your "Lessons" as of yet this guy is awesome. He explains a little of everything about Unity but 95% of it is scripting, and is free to!
Answer by Noah-1 · Feb 25, 2011 at 04:25 PM
Hello
If you want to learn complex coding, I recomend you picking up this book:
Unity Game Development Essentials
This will introduce you pretty well, also look up for the unity scripting book.
This code is a simple operation, aply it to your camera:
function Update() {
transform.Rotate(0, 5, 0);
}
Good luck with coding Benjy
Answer by DevonJS · Feb 25, 2011 at 05:43 PM
There are lots of good ways to start such as tornado twins burgzerg arcade. But it depends on what language you want to go into. Java script is slightly simpler. and C# is more complcated but C# Can do more. Personally I have no need to carry out such complicated things so I use Javscript. I started learning by the programing guide on unity's wiki.
Tornado twins are best for Java
Burgzerg arcade for C#
Answer by spaceshooter · Feb 25, 2011 at 04:21 PM
3D Buzz is a good place to start: http://www.3dbuzz.com/vbforum/sv_videonav.php?fid=1ec1a7be9c0d4cf9e7a31525250a30ff
Your answer
Follow this Question
Related Questions
Scripting Complications 5 Answers
Where can I get more help using Unity? 9 Answers
Where can you find a in depth tutorial for learning UnityScript? 3 Answers
Programming Language 6 Answers