• Content count

  • Joined

  • Last visited

Community Reputation

87 Neutral

About makronik

  • Rank
  1. Define loop?

    [quote name='Inuyashakagome16' timestamp='1343929491' post='4965602'] Congrats [img][/img] I enjoy Python! it's pretty sweet [img][/img] To me, a loop is obviously doing the same tasks over and over till a certain condition is met. [CODE] while count < 5: Display "hotdogballoon" Display "This is out of the loop" [/CODE] You could look at it as a teenager as well. [CODE] While age < 18: Display "You can't buy cigs" Display "Out of the loop" [/CODE] You are looping till a condition is met no matter what it is. [/quote] thanks
  2. Define loop?

    [quote name='arkane7' timestamp='1343929605' post='4965604'] in basic terms a loop is a conditional setting for code within in the loop to continue to repeat execution. say you want to count the number of 1's in an array (an array is just a simple "list" of data in successive memory) int [50] myNum = { 1,2, 1, 3 1, ..... //fill in the rest with whatever you want}' now lets count the number of 1's int numOf1 = 0; int indexOfArray = 0; while (indexOfArray != 50) // this is a condition to stop the loop. when indexOfArray equals 50, the repeition of the following will stop //everything in the brackets will be repeated as long as the above condition is true { if (myNum[indexOfArray] == 1) numOf1++; //this counts the number of 1s indexOfArray++; //this allows you to go to the next element in the array; } now it will first start off with both variables at 0; then it will run the code in the middle. indexOfArray will only be at 1 after the first run through, so indexOfArray !=50 will be true. this will repeat the inner code 50 times, updating the variable everyloop; indexOfArray increments EVERY loop. while numOf1 only increments when it finds a 1 inside the array if you just did this while (true) {} this will run FOREVER because it is always true. while (false) {...} this will NEVER run becuase it is always false another example index = 0; while (myNum [index] != 1) { index++;} now it will only stop when you find a 1 inside the myNum array. if there is no 1 it will run forever sorry for not knowing python this is in C++ [/quote] I'll start this once I done couple of tuts etc ;) at the moment I am just printing and use if , else statements . thanks for the info
  3. Define loop?

    Hello. I recently started learning c++, though I decided to start python first in order to understand what is programming etc. in order to do that, can someone briefly explain with is a "loop" and give a situation and a example so that I understand it in basic terms. thanks
  4. Games Programmer

    So Unreal Engine 3, CryEngine 3 are coded engines that give a other organisation a easy step to do a game, and they use scripting so that they make their OWN kind of game , like an example would be the gamemaker engine, instead it is not drag and drop, everything in that engine is in place, only it need tweaking and own graphics?- that is the way I understood this or am I wrong? And other question is that can what is the difference between scripting langauges dynamic languages and traditional languages such as c++ and C# Is c++ is like html and lua or programming scripts are like javascript or something? I would understand it more if you explain the situation to webdesign ^^
  5. Games Programmer

    Hello, I am new to the forum and also to the games development industry. In a business situation where a team is developing the game there are different departments of people that is designing different things for the game, like sound, editing , graphics, right? For programmers department, are there few people coding the game with different type of coding language or do one individual needs to know like C++ java and C# to develop the game? And the second question is what effective langauges I can learn in order to be a "Games Programmer" thanks