I think I'm doing it wrong. Am I?

Hi. Me again. With problems. LOL.
I have entirely no idea what I’m supposed to be doing. Scripting-wise. The first thing I want to do is make the darn camera move. Is there any way I can make it ‘scroll’ left and right, but not turn? (Like, say, if the character in the game is side-steping) And do I have to make seperate scripts for the keys that activate animation? (I tried meshing a left key with a right key script to save space. My computer flipped out ^.^')

ALSO: If I’m making a game I plan to turn into a multiplayer-online (Not doing this right now) game, do I have to make the scripts different?

One more thing: Where can I go to learn more Unity coding?

Yes, adjust the position of the camera but not the rotation.

No, just chain if statements, one for each key.

Don’t worry about this yet, it’s a long ways off. :wink:

I would recommend a high school level physics course and a nice C# for noobs book.

If you go to the resources page of the unity website, they have many great tutorials. If you have never done scripting, I would suggest looking up some simple javascript or c# tutorials before you start. Getting started in JavaScript is easier in my opinion, but it is just a scripting language, C# can be used as a scripting language, or a full fledged programming language. If you just want to make games for a hobby, stick with JavaScript because that is what most of the tutorials and script references on the unity website are in. If you want to do it professionally eventually I would suggest C#. Once you know C# learning JavaScript is fairly easy, it is just the syntax that is different. If you learn C# first, learning C++ wouldn’t be as hard, and you will need C++ professionally. If this is just for fun though, 100% go JavaScript in Unity. Also Unreal Editor uses a JavaScript variant so it would be easier to go over there. Just depends on what you need and your personal preference.

Meet Lerps

That’s really not the case. There are still a few things C# can do that UnityScript can’t, but in Unity 3, 99% of the time UnityScript or C# would serve equally well.

–Eric

I meant it as if you learn C# learning C++ wouldn’t be as big of a step from JavaScript to C++. If you are going to do it professionally, C++ would be very useful to learn. That is what I meant, I will edit it.

lol just attach your camera to the player who is moving the camera will move with it
(attach:carry main camera to player)

dont got any idea use google

watch all topics here you will learn and see many things and also watch
this site and look about everything it ca bring ideas and help alot:
http://unity3d.com/support/documentation/ScriptReference/index.html
(i know its just unity3d.com but it works good)

Thanks guys. You helped alot. ^.^

If you’re new to scripting in general, start here:

http://forum.unity3d.com/viewtopic.php?t=36096

I’m not new to scripting. I’ve had quite a bit of training, acctually ^.^’