Sel94 Posted May 6, 2010 Share Posted May 6, 2010 Hey, so I wanted to learn a little programming. I'll start easy and say I want to either make a simple little game or put a skin on a plane in lock on. So where do I start? I am currently learning C++. Thanks! Link to comment Share on other sites More sharing options...
GGTharos Posted May 6, 2010 Share Posted May 6, 2010 Definitely not by putting a skin on a plane. There's plenty of projects you could do - just think of one and do it. [sIGPIC][/sIGPIC] Reminder: SAM = Speed Bump :D I used to play flight sims like you, but then I took a slammer to the knee - Yoda Link to comment Share on other sites More sharing options...
Bearitall Posted May 6, 2010 Share Posted May 6, 2010 Hey, so I wanted to learn a little programming. I'll start easy and say I want to either make a simple little game or put a skin on a plane in lock on. So where do I start? I am currently learning C++. Thanks! If you even want to start easier and get the real basic's...start with the old dinosaur of code " Basic " it is a sort of bat files...hmm now you got me going ...time to pull out all my old code books again...:thumbup::smartass: :pilotfly: www.virtualtuskegeeairmen.com Link to comment Share on other sites More sharing options...
Sel94 Posted May 6, 2010 Author Share Posted May 6, 2010 Definitely not by putting a skin on a plane. There's plenty of projects you could do - just think of one and do it. Oh, is that against the rules or something? I'v seen a lot of skin mods on mod man so a thought it would be cool. Link to comment Share on other sites More sharing options...
GGTharos Posted May 6, 2010 Share Posted May 6, 2010 Adding skins doesn't teach you programming ;) That's what I mean. [sIGPIC][/sIGPIC] Reminder: SAM = Speed Bump :D I used to play flight sims like you, but then I took a slammer to the knee - Yoda Link to comment Share on other sites More sharing options...
Sel94 Posted May 6, 2010 Author Share Posted May 6, 2010 Oh, O.K. I still have a ton to learn, thanks.(But still, who would shoot me down if I had a picture of a super cute puppy on my plane!?):) Link to comment Share on other sites More sharing options...
GGTharos Posted May 7, 2010 Share Posted May 7, 2010 (edited) Oh, I dunno, some jerk ... / /--------------------------------------- / \ \--------------------------------------- \ Edited May 7, 2010 by GGTharos [sIGPIC][/sIGPIC] Reminder: SAM = Speed Bump :D I used to play flight sims like you, but then I took a slammer to the knee - Yoda Link to comment Share on other sites More sharing options...
Sel94 Posted May 7, 2010 Author Share Posted May 7, 2010 Yes...I will have to resort to your true weakness, CATS! Link to comment Share on other sites More sharing options...
Sel94 Posted May 7, 2010 Author Share Posted May 7, 2010 I'm invinsible now, right? Link to comment Share on other sites More sharing options...
GGTharos Posted May 7, 2010 Share Posted May 7, 2010 http://forums.eagle.ru/album.php?albumid=10 You tell me ;) 1 [sIGPIC][/sIGPIC] Reminder: SAM = Speed Bump :D I used to play flight sims like you, but then I took a slammer to the knee - Yoda Link to comment Share on other sites More sharing options...
Sel94 Posted May 7, 2010 Author Share Posted May 7, 2010 (edited) I'm scared.. Looking for more cat pictures to defeat you, I practicaly laughed mt head off, can't do it any longer! You win. Gotta get a few more! Bet those scare you! Edited May 7, 2010 by Sel94 1 Link to comment Share on other sites More sharing options...
kebeq Posted May 7, 2010 Share Posted May 7, 2010 Hello, you should know one thing about game programming, that learning the programming language(C++) is the least problem. Because you're going to have to learn lots of stuff about computer graphics - APIs(DirectX,OpenGL), mathematics(linear algebra,matrices), how the HW inside of a graphic card works, shader units (one more language to learn). And sound, physics, (network code) and of course how to put it well all together ;) If I didn't discourage you, you can start with something simple like a spinning cube: http://www.swiftless.com/tutorials/opengl/rotation.html Link to comment Share on other sites More sharing options...
EtherealN Posted May 7, 2010 Share Posted May 7, 2010 Sel, if you want to have a project to cut your teeth on C++, I'd recommend calculators. That's how I started (though I'm not actually a programmer, but it was interesting to learn it a bit). Unfortunately Windows doesn't have the same handy text-command interface that you can get with Linux, but what I did was basically a calculator that allowed me to type things like add 2 and 5 in the command prompt and it would come back with 7. Similar for divide 5 by 3 and multiply 10 and 23 and so on. The programs themselves (sadly I don't have them anymore) were only like 20 lines of code each, if that, but it gives you a taste of working with compilers and starts you thinking about syntax and basic function structures. [sIGPIC][/sIGPIC] Daniel "EtherealN" Agorander | Даниэль "эфирныйн" Агорандер Intel i7 2600K @ 4.4GHz, ASUS Sabertooth P67, 8GB Corsair Vengeance @ 1600MHz, ASUS GTX 560Ti DirectCU II 1GB, Samsung 830series 512GB SSD, Corsair AX850w, two BENQ screens and TM HOTAS Warthog DCS: A-10C Warthog FAQ | DCS: P-51D FAQ | Remember to read the Forum Rules | | | Life of a Game Tester Link to comment Share on other sites More sharing options...
Sel94 Posted May 7, 2010 Author Share Posted May 7, 2010 Great Thanks! Link to comment Share on other sites More sharing options...
RvEYoda Posted May 7, 2010 Share Posted May 7, 2010 C/C++ is the best choice for starting to program imo :). If you know cpp, you can understand many "simpler" languages so much better. S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse' Link to comment Share on other sites More sharing options...
EtherealN Posted May 7, 2010 Share Posted May 7, 2010 Aye, and so often the languages touted as being "easier to learn" fail pretty dramatically - take good old QBASIC as an example; the syntax is slightly easier to learn, but it's not really "easier" to learn how to structure a program with it. Once programs got beyond the basic (heheh) goto line command thing and started either using subs (like QBASIC) or proper functions (like C), things are pretty much equal in the one thing that is actually really complex. A good alternative otherwise might be to use a C-esque language like php or whatever to learn the syntax (no compiling or libraries and such stuff to distract you), and once you have the syntax down you can easily step into more "proper" programming. ...or you could just learn C but do so with small programs. :) EDIT: As a fun anecdote to entertain those who are of a geek strain: back in elementary my older brother wrote a raytracing FPS engine in QBASIC, but ended up having major parts of it in straight assembler to boost FPS. :D [sIGPIC][/sIGPIC] Daniel "EtherealN" Agorander | Даниэль "эфирныйн" Агорандер Intel i7 2600K @ 4.4GHz, ASUS Sabertooth P67, 8GB Corsair Vengeance @ 1600MHz, ASUS GTX 560Ti DirectCU II 1GB, Samsung 830series 512GB SSD, Corsair AX850w, two BENQ screens and TM HOTAS Warthog DCS: A-10C Warthog FAQ | DCS: P-51D FAQ | Remember to read the Forum Rules | | | Life of a Game Tester Link to comment Share on other sites More sharing options...
kebeq Posted May 8, 2010 Share Posted May 8, 2010 (edited) A good alternative otherwise might be to use a C-esque language like php or whatever to learn the syntax (no compiling or libraries and such stuff to distract you), and once you have the syntax down you can easily step into more "proper" programming. C# :) No worries with memory allocation, easy work with strings, lots of useful classes. EDIT: and it's very similar to C++ ;) But only a low level language like C++ is good for games in the end. Edited May 8, 2010 by kebeq Link to comment Share on other sites More sharing options...
thereminqblank Posted May 8, 2010 Share Posted May 8, 2010 Maybe grab a book (Amazon reviews are usually pretty helpful in picking out a good one). It doesn't matter what language you learn, start with the basic principles of programming: syntax, string and numerical operations, variables, literals, loops, decisions, etc. Most 'beginners' books will start off with procedural programming, but then you can work your way up to object-oriented programming, which is where things get a little....interesting. "Unholy Roller" [sIGPIC]http://www.digitalcombatsimulator.com/images/userbars/A-10C_UserBar_01.gif[/sIGPIC] Link to comment Share on other sites More sharing options...
Sel94 Posted May 12, 2010 Author Share Posted May 12, 2010 Hey guys, just wanted to inform you that I made my first program!Thanks for the help! Link to comment Share on other sites More sharing options...
EtherealN Posted May 12, 2010 Share Posted May 12, 2010 Awesome. What was it? [sIGPIC][/sIGPIC] Daniel "EtherealN" Agorander | Даниэль "эфирныйн" Агорандер Intel i7 2600K @ 4.4GHz, ASUS Sabertooth P67, 8GB Corsair Vengeance @ 1600MHz, ASUS GTX 560Ti DirectCU II 1GB, Samsung 830series 512GB SSD, Corsair AX850w, two BENQ screens and TM HOTAS Warthog DCS: A-10C Warthog FAQ | DCS: P-51D FAQ | Remember to read the Forum Rules | | | Life of a Game Tester Link to comment Share on other sites More sharing options...
Sel94 Posted May 12, 2010 Author Share Posted May 12, 2010 Well, the very first program was just displaying words but the first one that does something is converting feet to meters. You can type in any measure you want and it will convert. Pretty cool, right? It's a start and I can't wait to make more complex stuff! Link to comment Share on other sites More sharing options...
GGTharos Posted May 12, 2010 Share Posted May 12, 2010 Congratulations :) [sIGPIC][/sIGPIC] Reminder: SAM = Speed Bump :D I used to play flight sims like you, but then I took a slammer to the knee - Yoda Link to comment Share on other sites More sharing options...
Sel94 Posted May 12, 2010 Author Share Posted May 12, 2010 If any of you wanted this....:music_whistling: just ask! (and tell me how to put in on the forum post please! I don't know how). Link to comment Share on other sites More sharing options...
Sel94 Posted May 13, 2010 Author Share Posted May 13, 2010 (edited) Wow, I made a small program off the top of my head without any help. Cool! Now I'm starting on a calculator.Wow what a lot of code!(without instructions, just me!) Edited May 13, 2010 by Sel94 Link to comment Share on other sites More sharing options...
Recommended Posts