• 0

How to be a game programmer and developer?


Question

Hello :) .I am new in this forum and i am really interested in programming.I really want to learn to program with Cuda, C++ you know. I want to make my own game engines and 3D games with stunning grafiks. I saw really interesting things in the Nvidia developer zone like Nvidia PhysX SDK, OpenGL, OpenCL, DirectX and many other stuff. I want to learn how to program with them and for what and how can i use it? What i must learn first? From what i must start? What book's i must read of i am new to software and game programming? I am really confused. Thank's :D .

Recommended Posts

  • 0

XNA!? No thank you. I am not ready for this. It's too advanced. Don't you know that i am on level console applications?

PS: And my question was totaly different.

You asked: And i know the code is horrible. Some advice? I mean what i must do to fix this? Not the code for the Tic-Tac-Toe. I mean my programming style at all?

I gave you links for reference that you can use for structuring. I know you are using C++, but the links I gave you will give you some ideas on how to structure the code (as in make it object oriented and dynamic).

  • 0

Yes, but for XNA. Then you edited it and posted some good stuff. The problem is that i don't understand anything xD. There are just some for loops and i don't understand anything what's in them.

The not understanding makes me angry. I want to understand this code, but i can't :cry: .

  • 0

Yes, but for XNA. Then you edited it and posted some good stuff. The problem is that i don't understand anything xD. There are just some for loops and i don't understand anything what's in them.

The not understanding makes me angry. I want to understand this code, but i can't :cry: .

s1 = (NSString *)[board objectAtIndex:i];

is the same as

char s1 = board;

the rest is all pretty universal

  • 0

C#, Python, C++, or any other language does not matter. Algorithms are algorithms. I would try understanding how to read code before you actually start programming, because once you can, you can look at code from any language (any modern language) and translate it to C++ (or your language) with no trouble at all. I will suggest doing what other people have suggested. Take some classes, or get some books.

80% of all languages have the same syntax, so I would focus on how to read syntax before actually coding.

For example: C++, Java, C#, C, Objective-C, PHP, and many others have the EXACT same syntax for while loops, for loops, conditional statements, and more.

This is one of the reasons I prefer people would start with a managed language like C# or Java (no pointers, memory allocations and deallocations, and so on). Because you are just concerned about algorithms. Once you learn that, you can use any language and framework you want very easily.

  • 0

I think getting some books is better. I won't pay for classes. And i have a question.

If:

s1 = (NSString *)[board objectAtIndex:i];

is the same as

char s1 = board;

Then why the first one? And i want to ask why the array board has an i and not a number?

  • 0

s1 = (NSString *)[board objectAtIndex:i]; is the Objective-C way of doing it. but i was trying to say it in a way that you would understand

i represents the current value of the loop. it is declared at the start of the for loop. So it will always be a number

  • 0
Then why the first one?

The first one uses language specific coding (Objective C). char s1 = board is universal to MOST languages.

And i want to ask why the array board has an i and not a number?

This was in the middle of a for loop with i as the variable being used.

char s1;
for(int i = 0; i < 5; i++)
{
     s1 = board[i];  //useless line to use, but good for demonstration
}

Is the same as:

char s1;
s1 = board[0];
s1 = board[1];
s1 = board[2];
s1 = board[3];
s1 = board[4];

  • 0

Oh of course. I've read before time for that. Really good idea. I have been thinking many time for what this for loop is used. This is the best loop i thing. And to answer for AI: Yes it isn't really inteligent to make random things, but from time to time you must make random desizions. Making a desizion is AI. Isn't it?

  • 0

I think getting some books is better. I won't pay for classes. And i have a question.

If:

s1 = (NSString *)[board objectAtIndex:i];

is the same as

char s1 = board;

Then why the first one? And i want to ask why the array board has an i and not a number?

I try to respect that you're not taking classes and want to learn all by yourself, but come on? this topic started way back in December and after all these months you've just now learned about arrays and you're still surprised about using a variable to index them? These are absolute basics of pretty much any programming language! What have you been learning all this time?

Oh of course. I've read before time for that. Really good idea. I have been thinking many time for what this for loop is used. This is the best loop i thing. And to answer for AI: Yes it isn't really inteligent to make random things, but from time to time you must make random desizions. Making a desizion is AI. Isn't it?

Making complex decisions based on data from an environment is AI. Making random decisions isn't.

  • Like 2
  • 0

Do you thing i have learned all this time programming? I must go to school. Now it's summer vacation so i can learn programming, but i had to learn for school. And the reason why i won't go to classes, because i must pay for them. I am not a milioner you know xD. Ok it isn't nessecerly to be a milioner, but my parents don't have the money for this and i haven't heared that in Bulgaria you can take programming classes.

And can we leave this AI question behind?

  • 0
I will ignore the last post of njlouch.

That is your choice. Feel free to continue claiming what you write is "perfect". Your code is an absolutel mess, my first attempts at coding were possibly similar, but I would never had made such ridiculous claims!

  • 0
I try to respect that you're not taking classes and want to learn all by yourself, but come on? this topic started way back in December and after all these months you've just now learned about arrays and you're still surprised about using a variable to index them? These are absolute basics of pretty much any programming language! What have you been learning all this time?
OP is trying to become an APL god. Why are you so jealous?
  • 0

If you're not going to take programming classes (which is required if you want a career in programming IMO, unless you go indie) then at least find a book or an online course or something. Sporadically posting in a forum thread is not going to teach you programming.

Edit: I was self-taught for five years or so, and even shipped a program before I had any formal programming education. Then I went to Uni, and learned much more in those three years than I did in self-teaching. I look back at the code I wrote then and? *shudder*.

  • 0

For me it's important to work perfectly. Yes it works, but it isn't complete. I mean the AI. Everything other works perfectly. Yes ot WORKS PERFECTLY except the AI. And can you make something different in this topic. You just insult me and don't help fix these things like "you code is an absolute mess". If i say this to you and you know this would you few good then?

And yes it is important to go to classes, but this will be far in the future when i go to colege an university.

  • 0

Tell you what emilxp, I?m going to give you some of the assignments I was given in one of my high school courses. Hopefully they won?t be so hard, but help you get some of the fundamentals. Here are 3 separate assignments.

  1. Populate an array with 10 random numbers. Print out those numbers, then ask the user if they want to search for a value (printing out it?s index), find the max value, find the minimum value, or to quit and have the program respond appropriately.
  2. Populate an array with the following values ?a?, ?b?, ?c?, ?d?, ?e?. Ask the user for a number value and preform a right shift operation on the array and prints the new array. For instance a value of 1 would produce the output ?eabcd? and 2 would be ?deabc?.
  3. Preform a Selection Sort on an array of 5 random integers, printing out the array at each step. For example:
    5 2 7 4 1
    1 2 7 4 5
    1 2 7 4 5
    1 2 4 7 5
    1 2 4 5 7
    1 2 4 5 7

  • 0
Yes ot WORKS PERFECTLY except the AI

On that basis, I would NEVER ever hire someone like you. You genuinely believe that your code (except the AI LOL) is the best it can be?

I look back at the code I wrote then and? *shudder*

Ha yeah. I love revisiting old code, and then scrapping it to hell!

  • 0

We don't learn really programming in high school in Bulgaria. Now i will be 8th grade. In the 10th grade we will learn programming, but really basic things. My teacher showed me some stuff when i don't knowed C++. She showed me some PASCAL and the program i think multiplicated 2 values or made something other with them. This is what we learn in School in Bulgaria, but this is in normal schools. I am learning in Sofia and i am now in the Sofian Matematic Gymnasium. I am 100% sure that you don't don't know this gymnasium. Sorry if i don't speal it correctly. Ok so this is the best highschool for matematic and computers in Bulgaria. I haven't been before in it, but with a lot of work i am now in and i will see how it is in it. I saw that they teach you 3D Design. And we are now the 1st in the world in computers. The winners are 13 years old(like me), but they learned before in this school and for that. I am not sure if it is for programming, but i thing so.

And specialy njlouch: This topic isn't named "INSULT ME" SO GO OT OF THIS TOPIC IF YOU WANT TO CONTINUE WITH YOUR.............................................................

And you problem if you don't like MY CODE.

  • 0
And you problem if you don't like MY CODE.

No... Actually it's YOUR PROBLEM seeing as you want to be a coder. It's not a case of me not liking your code (what does it matter what I like or don't?), it's a case of your code not being at an acceptable level yet. You can choose to take this as an insult - or to go learn more about coding and not tell people that it "works perfectly".

I'm not insulting you. Please grow the hell up. I am criticizing your code and arrogance about your "perfectly working" simple game!

  • 0

PS: I have learned C++ for a few days. So this will explain my code. And i wanted to make me a challenge to make a Tic-Tac-Toe with just these things that i know for C++. And you see it is possible.

What the hell!? How old are you njlouch?

And i want to say that learning a few days C++ won't make me a master coder. So stop with your insults.

"it's a case of your code not being at an acceptable level yet. You can choose to take this as an insult"

This isn't an insult for me. This is a really good answer i can say. Why don't you talk in this way. Everything othe is insulting. This isn't, because it is carefully said i can say.

  • 0

And you problem if you don't like MY CODE.

You're going to have to lose that attitude fairly quickly - everywhere I've worked has had fairly strict coding guidelines. If your style doesn't fit in with that, then tough - find another job. For example, my coding style has changed considerably since joining Spotify to match their coding guidelines. It's not better, or worse, just different. Live and adapt, etc.

  • 0

You're going to have to lose that attitude fairly quickly - everywhere I've worked has had fairly strict coding guidelines. If your style doesn't fit in with that, then tough - find another job. For example, my coding style has changed considerably since joining Spotify to match their coding guidelines. It's not better, or worse, just different. Live and adapt, etc.

I said that i have learned C++ for a few days. This explains everything. And i know my code is horrible, but i am happy with it, because this is my best program. Not the best written.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Google Gemini has been failing for users across the United States, Europe, and Asia since early Wednesday morning, June 10, 2026, and more than six hours into the incident Google has yet to declare a fix............. https://www.techtimes.com/articles/318152/20260610/google-gemini-outage-tops-six-hours-errors-1076-1099-worldwideflash-lite-still-answers.htm
    • Fun fact: There are more Warhammer 40k games than there are stars in the universe.
    • laughing is tedious. Elephants really are laughing lazy, y'all..
    • Agreed. And this is a great discount offer! It's a shame that there's no discount offer option for people who would be fine subscribing for a year-long term, but pay monthly.
    • A Warhammer 40K racing game and a chess roguelike are free to claim on the Epic Games Store by Pulasthi Ariyasinghe The Epic Games Store has returned to its standard giveaway procedures after weeks of mystery freebies. The latest drop is replacing last week's Rogue Waters and Songs of Conquest games and has brought in a double giveaway offering Warhammer 40K Speed Freeks and The Ouroboros King. As always, the game is yours to add permanently to your Epic Games Store library within the next seven days. From the duo, Warhammer 40K Speed Freeks lands from developer Caged Element, and it's a racing game that was only released last year. The title has you piloting Ork buggies, tanks, and aircraft modeled after the popular tabletop miniatures. The focus is on multiplayer mayhem, offering multiple game modes that have you fighting other players as everyone tries to survive and get across finish lines or destroy mechs. Crossplay support between PC and consoles has now arrived as part of a free update, too, giving a boost to matchmaking times for this multiplayer-focused title. If racing carnage isn't your thing, then The Ouroboros King offers tactics. The indie title is a mashup of chess and standard roguelike experience, letting players create their own armies to defeat an enemy faction, all on the familiar checkered board. There is a procedurally generated map, pieces with special abilities, relics that bend the game's rules to make overpowered builds, and more. The newly available Warhammer 40K Speed Freeks and The Ouroboros King giveaways on the Epic Games Store are set to run until June 11, giving PC gamers seven days to claim the latest offer. Once this closes out, a new freebie will take its place on the same day. Don't forget that mobile gamers can check out the Epic Game Store's weekly giveaways on Android and iOS to grab a freebie there as well.
  • Recent Achievements

    • Week One Done
      FBSPL earned a badge
      Week One Done
    • One Year In
      Jim Dugan earned a badge
      One Year In
    • One Month Later
      Tommi118 earned a badge
      One Month Later
    • One Month Later
      sjbousquet earned a badge
      One Month Later
    • Week One Done
      sjbousquet earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      486
    2. 2
      PsYcHoKiLLa
      197
    3. 3
      +Edouard
      155
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      69
  • Tell a friend

    Love Neowin? Tell a friend!