A Lost Artists Question

I am an artist who recently started out with Unity. I have no clue what most programming is. I know the if or else things, but I am brain dead with this. Ive downloaded the racing demo. Ive also checked out other racing demos and even went through 3d platform tutorial. But I still have no clue where to start.

I am in a team of 3. There is a programmer, but he is not available atm, so I was looking into how this stuff actually works and get a little learning experience by looking at the examples.

We are making a racing game, which is the reason I checked out a demo for myself to see how things work. The thing is, in the demos, where exactly do I look for the code that controls player inputs? Thats one thing thats bugging me at the moment. I tried copying a code I think is the Input controller and drag it onto my own model but I get error messages about compilation. How do you translate a person’s code onto your own work?

Hi jrricky,

I´m a programmer and I´m pretty new to unity too. First of all you have to take it easy. You can´t expect to understand all this code the first time you see it.

The most important thing to be able to code something is understand the examples. You have said that you have done tutorials, have you understood them? I don´t mean about how to move around, or how to put things in the scene, etc… I´m refereing to the code.

You have to start with easy things, simple scripts and then move on to more difficult subjects, you can´t start directly with the racing game (this is just an opinion). As you gain more knoledge you will see how things flow better and you will start to understand bigger chunks of code, and the the whole.

Well, I know this is no the sort of answer you were waiting for buy I felt like giving you a piece of advice about “starting to code”.

Thanks in advance,
HexDump.

All I did was play the examples and look at the code then my brain freezes. Isnt there certain codes that I should pay attention to. All games have player inputs. What code should I look at to find this?

Im looking for things like:

“If player pushes up then:
move up”

etc. which is probably a primitive way lol.

Thanks for the response, though. Not really into programming, but I want to be to look at certain things and get what its doing. Most of the example stuff dont really explain anything thoroughly next to the code so I dont know what they do.

Thanks for response anyways.

Hi again,

Search for things where Input appears then. This are explained nicely in the tutorials anyway.

Thanks in advance,
HexDump.

like what things exactly?

Hi!

As I told you before if you are searching for the input snipsets search for “Input”. Input is the class (in c#) that is used to manage user input (key presses, mouse, etc…)

Cheers,
HexDump.