Skip to main content
GameDev.net gamedev.net
🔒 Locked

I Know Nothing and I want to change that

Started by Halpmelurngewd May 23, 2018 at 7:33 PM 43 replies 11.7k views
Original Post
Halpmelurngewd
Halpmelurngewd

I am an avid gamer. Always have been. I'm not artistic. And have tried to be. I want to be part of the gaming industry as a programmer. I have tried reading articles and forums but it lacks the breakdown that I need. I want to know everything. I am very technical and this would be the first time I would be learning a coding language. I want to learn coding for game design. I am looking for a mentor someone who doesn't mind if I ask a shit ton of stupid questions. I know nothing and am not afraid to admit that. However I want to know everything. I have registered for college but I want to get a jump on things. If anyone would mentor me I would be eternally grateful! Thanks everyone?

Rutin
Rutin
1 minute ago, Halpmelurngewd said:

I am an avid gamer. Always have been. I'm not artistic. And have tried to be. I want to be part of the gaming industry as a programmer. I have tried reading articles and forums but it lacks the breakdown that I need. I want to know everything. I am very technical and this would be the first time I would be learning a coding language. I want to learn coding for game design. I am looking for a mentor someone who doesn't mind if I ask a shit ton of stupid questions. I know nothing and am not afraid to admit that. However I want to know everything. I have registered for college but I want to get a jump on things. If anyone would mentor me I would be eternally grateful! Thanks everyone?

My answer might not be as helpful because the fact is you wont be able to learn "everything" before college, in college, and in your career. There is no substitute for time and putting in the hard work to become good at your chosen craft. Just get into college and learn as much as you can because either way you're going to have to adapt to the ever changing world of IT.

If you have specific questions just post them here. I'm sure other people new to programming will appreciate the responses and insight from the community.

Programmer and 3D Artist
Halpmelurngewd
Halpmelurngewd
2 minutes ago, Rutin said:

My answer might not be as helpful because the fact is you wont be able to learn "everything" before college, in college, and in your career. There is no substitute for time and putting in the hard work to become good at your chosen craft. Just get into college and learn as much as you can because either way you're going to have to adapt to the ever changing world of IT.

If you have specific questions just post them here. I'm sure other people new to programming will appreciate the responses and insight from the community.

Thanks. Are there any books you could recommend. That teach from scratch. Also, I'm learning because I want to build a game. I want to make a game using unity 3D not 2D. What language would you recommend?

Scouting Ninja
Scouting Ninja

I don't think anyone has the time to mentor someone for free.

However I have no doubt that if you post questions on this website about programming and game development you will get tons of help that way. Just remember it can take some time, but beginner questions get answered quickly.

When asking a question you think is obvious to others just remind everyone that you are a beginner; that way people will be friendlier.


34 minutes ago, Halpmelurngewd said:

I want to make a game using unity 3D not 2D. What language would you recommend?

C# these are good tutorials: https://www.tutorialspoint.com/csharp/index.htm

It has a good overview but it really starts teaching at "Data Types".

Halpmelurngewd
Halpmelurngewd
Just now, Scouting Ninja said:

I don't think anyone has the time to mentor someone for free.

However I have no doubt that if you post questions on this website about programming and game development you will get tons of help that way. Just remember it can take some time, but beginner questions get answered quickly.

When asking a question you think is obvious to others just remind everyone that you are a beginner; that way people will be friendlier.


C# these are good tutorials: https://www.tutorialspoint.com/csharp/index.htm

It has a good overview but it really starts teaching at "Data Types".

Thanks for the quick responses. The issue that I have with coding is that a lot of tutorials start out assuming you know something about coding. ??? I however know nothing. When I start reading or listening I get lost easy and have no clue what they are talking about.

Scouting Ninja
Scouting Ninja
Just now, Halpmelurngewd said:

I get lost easy and have no clue what they are talking about.

OK. Then lets try this. Do you know the basic data types and what they are?

That is: Bool, Int, Float and String. Programming I think starts with these 4.

Halpmelurngewd
Halpmelurngewd
Just now, Scouting Ninja said:

OK. Then lets try this. Do you know the basic data types and what they are?

That is: Bool, Int, Float and String. Programming I think starts with these 4.

Honestly I do not. None of the CPP tutorials that I have read do not mention them

Scouting Ninja
Scouting Ninja

https://www.tutorialspoint.com/csharp/csharp_data_types.htm

A Bool is binary; that is too say it is either True or False.

A Int is Integer numbers, that means -88 -9 0 12 16 18 99 etc. Numbers as we normally think of them.

A float is floating point numbers. That is 0.1 0.005 9.2 -0.5 etc. In short it is numbers that are fractions of intigers.

A string is words like "Hello world" it is called a string because it is made of char that is characters like "A" and "a".


Any questions yet? I will try to explain this while on break.

Rutin
Rutin

Then you should pick up something very simple to get the basics down. Either C#, JAVA, or a scripting language like Python or JavaScript. I'll leave others to help with that.

However for now check out these videos for the basics:


Programmer and 3D Artist
Halpmelurngewd
Halpmelurngewd

So basically if I were to use this in code it would look like this


Int A=6

Int B=7

Cout (sum a+b)

Scouting Ninja
Scouting Ninja
4 minutes ago, Halpmelurngewd said:

So basically if I were to use this in code it would look like this

Yes. To explain.


Int A = 6; //Here you made a intiger it is called A and it has a value of 6
Int B=7; // Here you made a intiger it is called B and it has a value of 7

Cout (sum A+B)// Here you are telling the computer to write A+B = 13

//Instead of Cout lets use the Unity print() function instead
  
print(A+B) //This returns 13


Edit, corrected variable names.

Halpmelurngewd
Halpmelurngewd
1 minute ago, Scouting Ninja said:

Yes. To explain.



Int A = 6; //Here you made a intiger it is called A and it has a value of 6
Int B=7; // Here you made a intiger it is called B and it has a value of 7

Cout (sum a+b)// Here you are telling the computer to write A+B = 13

//Instead of Cout lets use the Unity print() function instead
  
print(a+b) //This returns 13


So now for my confusion ? if the gaming engine itself does all the programming for you ( unreal engine does most if I am not mistaken) then what are programmers used for. Most of the programming I have seen relates to the above. Basically being used as a calculator.

Scouting Ninja
Scouting Ninja
1 minute ago, Halpmelurngewd said:

then what are programmers used for

The game engine only does the things that you always need. Like it draws pictures and makes 3D models display correctly, plays sound and even adds physics.

In other words it does all the things that most games will have. The reason you need programmers is for all the stuff that makes your game unique to you.

OK, so now that you know how to make variables and use them. We could make a health system, like a HP bar.


Halpmelurngewd
Halpmelurngewd
1 minute ago, Scouting Ninja said:

The game engine only does the things that you always need. Like it draws pictures and makes 3D models display correctly, plays sound and even adds physics.

In other words it does all the things that most games will have. The reason you need programmers is for all the stuff that makes your game unique to you.

Okay. Is there some books you can recommend or website that will break it down for someone who is considered the equivalent to a 70 year old trying to use a touchscreen phone for the first time?

Scouting Ninja
Scouting Ninja
2 minutes ago, Halpmelurngewd said:

70 year old trying to use a touchscreen phone for the first time?

The Video @Rutin linked takes time to break down how programming works. It's a slow start but it is well made.


But honestly I think you should try programming, it looks like you already grasp the basics so learning from experience should work.

If you don't have Unity yet grab that and try some code; make simple stuff to start like health systems etc.

Halpmelurngewd
Halpmelurngewd
2 minutes ago, Scouting Ninja said:

The Video @Rutin linked takes time to break down how programming works. It's a slow start but it is well made.


But honestly I think you should try programming, it looks like you already grasp the basics so learning from experience should work.

If you don't have Unity yet grab that and try some code; make simple stuff to start like health systems etc.

Haha you say I grasp the basics that was memorization from previous learning materials. I am however dedicated to learning this so I will give headfirst into the videos and see if it makes any sense to me. I will also work on little bits of coding and post them on here for critiquing and criticism. Onward with my head held high maybe I can learn something new

Scouting Ninja
Scouting Ninja
8 minutes ago, Halpmelurngewd said:

I grasp the basics that was memorization from previous learning materials.

Programming is just that, or at least for me it is. Just remember the rules, then use to rules to reach your goal. Programming is the same as playing games in many ways.A example would be the health system, consider it a cheat sheet :) :

Spoiler




//Make a class to hold the system
Public Class Health{
  //Define the variables
  Public int maxHealth = 100;
  Public int currentHealth = 100;
  
  //Make the rules
  bool checkIfPlayerDied()
  {
    //If the player has less than 0 health he is dead
    if (currentHealth < 0)
    {
      //Yup, he dead.
      return true;
    }
    //Since the code made it here he isn't dead.
    return false;
  }
}

Feel free to ask how this works.


Halpmelurngewd
Halpmelurngewd
11 minutes ago, Scouting Ninja said:

Programming is just that, or at least for me it is. Just remember the rules, then use to rules to reach your goal. Programming is the same as playing games in many ways.A example would be the health system, consider it a cheat sheet :) :

Hide contents





//Make a class to hold the system
Public Class Health{
  //Define the variables
  Public int maxHealth = 100;
  Public int currentHealth = 100;
  
  //Make the rules
  bool checkIfPlayerDied()
  {
    //If the player has less than 0 health he is dead
    if (currentHealth < 0)
    {
      //Yup, he dead.
      return true;
    }
    //Since the code made it here he isn't dead.
    return false;
  }
}

Feel free to ask how this works.


I think I grasp how it works. Correct me if I am wrong. This script runs constantly. Always checking the players health basically the script runs off what I call the "if" system. It checks the health value repeatedly to make sure the health doesn't reach 0 if it does the code quits running and refers to a different line of code that would state in code if health is less than or equal to 0 make the game flash game over or something along those lines. Correct?

Halpmelurngewd
Halpmelurngewd
19 minutes ago, Scouting Ninja said:

Programming is just that, or at least for me it is. Just remember the rules, then use to rules to reach your goal. Programming is the same as playing games in many ways.A example would be the health system, consider it a cheat sheet :) :

Reveal hidden contents





//Make a class to hold the system
Public Class Health{
  //Define the variables
  Public int maxHealth = 100;
  Public int currentHealth = 100;
  
  //Make the rules
  bool checkIfPlayerDied()
  {
    //If the player has less than 0 health he is dead
    if (currentHealth < 0)
    {
      //Yup, he dead.
      return true;
    }
    //Since the code made it here he isn't dead.
    return false;
  }
}

Feel free to ask how this works.


Also the double // allow you to put a description in for future reference without the code actually acting on it. So it's pretty much ignored correct?

Scouting Ninja
Scouting Ninja
15 minutes ago, Halpmelurngewd said:

This script runs constantly. Always checking the players health basically the script runs off what I call the "if" system.

That would be very slow, if all your code kept running at the same time it would take too long.

The way that code works it returns a bool when called, it is known as a function, a small program if you want:


//This is how it is used
Health.checkIfPlayerDied();

Health.currentHealth -= 100;

//It is only called when we ask for it
if(Health.checkIfPlayerDied() == true){
  print("Sorry, you died");
}


9 minutes ago, Halpmelurngewd said:

Also the double // allow you to put a description in for future reference without the code actually acting on it

It is for commenting. It tells the computer to ignore this line because it is for humans to read.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.