Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

asdasd12345

How much C++ do u have to know to make a game?

This topic is 5367 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello. I am a total computer noob. I know a little Java, and I have bought Object Oriented Programming in C++ which I am in CH.4 (Structures). I am wondering how much information about function, structures, ect, I need to know before I can make simple games like Pac-man, Tetris, ect. Eventually I want to make games to play on a GB Advance.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster

or you can ignore complicated API''s like that and use more simple alternatives like SDL.. Or just do what I do, don''t try to know everything, but keep checking reference materials it''s likely to be more accurate than your memory (if your like me..)

I think they call it RTFM or something read the f''ing manuals if you don''t know something..

Share this post


Link to post
Share on other sites
What about 3D Engines. If you use an engine like fly3d? you should still learn DirectX, or a similar api?

Freaks are everywhere...

Share this post


Link to post
Share on other sites
theres really no limit...you can always learn more...may it not be the syntax but the way it is done thatmakes it quicker and better...so really you need to know as much as possiable to make a game.

Share this post


Link to post
Share on other sites
About half of the book I say. Plain vanilla C will do. It won''t be a pretty design but it''ll work for a small 2D game. I think the 2D part will be dominant, especially art. Pack man will be harder to do than tetris because of more involved ai. You should do tetris or even better a simple pong game. Basically, pick each of the skills(input, sound, 2D gfx) and use them all in a very simple game. I did this with my 2D game and I learned a lot in the process.

Actually, to be honest I would do a text game first. This will build your programming/design skills which you won''t have to sink time into when going thru 2D/3D stuff.

Share this post


Link to post
Share on other sites
quote:
Original post by JD
About half of the book I say. Plain vanilla C will do. It won''t be a pretty design but it''ll work for a small 2D game...


Have you ever saw a commercial game''s source code before? i recommend you looking into Homeworld source code. It really have a sweet design and it''s completly written in C.
Good designs have little to do with programming lenguages, it''s a matter of paradigm. You don''t have to know C++ just to write a game, but a Object oriented programming lenguage may help. I recommend you writting a 2d game first with SDL, it''s pretty straightfoward and powerfull.

Just one thing, do never stop learning.

P.D: sorry about my english (grammar, spelling, etc...etc...)

Share this post


Link to post
Share on other sites
All I said was that it won''t be a pretty design which I think majority of people would agree with me. I didn''t say that design only applies to OO langs like C++ or Java.

>> Good designs have little to do with programming lenguages, it''s a matter of paradigm. <<

This is false, btw. Why do you think Bjarne designed C++? If what you say is true then he could have continued to use C for good designs but he didn''t. He saw that a better design can be achieved with a new lang. C++ was designed primarily to achieve OO design which we learned from previous OO langs. Also, what do you mean "it''s a matter of paradigm"? What is the paradigm you speak of? If I gave you QBasic, could you write a million lines of code app in it and still achieve a good design? Think about this before you reply.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!