• Advertisement
Sign in to follow this  

I leraned C++ ,where do i go now?

This topic is 4768 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

I learned C++ and want to start makin my Tetrislike game (or just me lines apear on the screan :P ) where do i go now? i've looked everywhere and i found that i need DX or OGL or other DX/OGL open-source engines that will help me draw strange lines:) i even read the beginning of a few books - but it was too much for me... DX/OGL are so complicated ,i found out that in DX to make a 2D game is makin a 3D engine write in 2D which is even more complicated for me... so ...where do i start? if you can direct me to some good books would be helpfull- or some tuts... BTW- where can i get the Directx SDK ? ,i've dled what i thought was the SDK but the installer just installed the DX itself with no SDK .... Thanks alot Roy

Share this post


Link to post
Share on other sites
Advertisement
THis was a helpful article when I was about your "level" (not that Im way up rite now...:))

A good site for start would be The almost Mythical NEHE (this is for opengl).
For directx, dunno, there used to be an excellent website, Game Tutorials, but now most of the tuts there are not free, that said, this seems to be a pretty good website Ultimate Game Programming

Sorry I cannot be of any much help rite now but Ive fogotten about other links
cheers and good luck


/edit

Heres the link to the directx sdk
Click Me, and its ~158 Mb


If you wanna try an engine, this is a pretty good open source one
Irrlicht

Share this post


Link to post
Share on other sites
Quote:
Original post by RainbowInBlack
I learned C++ and want to start makin my Tetrislike game (or just me lines apear on the screan :P )


omg! almost everytime I do a decent size project or explore some new avenue I find myself learning new stuff about C++ and its standard library and you've already learnt it all :( darn!

I would say that nehe is a decent starting point for OGL though and there's loads of tutorials on diffrent aspects of doing games.

For 2D i strongly advice you to use SDL easy well documented and shouldn't be a problem finding tutorials for it.

Share this post


Link to post
Share on other sites
DrunkenHyena [he's in the DirectX forum] as some relatively fantastic tutorials pertaining specifically to DirectX 9 in 2d, and doing the simple stuff.

And as Rhaal suggests, you'd be doing yourself a favor if you learn the language in greater depth before moving on.

Share this post


Link to post
Share on other sites
:)
cant:P

i've read some books since than,i'm know alot about it (not all for sure, but i'll catch it up as i go)
before i leanred C++ i tried lookin over some OPENGL books (didnt rlly know where to start) and still i figured stuff out -like what was every second line :P
now i think i can handle a simple examples of DX i just didnt find any -simple- ones....

do you guys know where can i get started - even a syntex of drawin a line would help;)

should i learn DX7 DirectDraw first? or what?

oh, btw- until now i found only DX8 tuts on Direct3D ,shouldnt i learn from DX9 examples ?

Roy

Edit- wow, i saw only 1 post
well

Quote:
Quote:Original post by RainbowInBlack
I learned C++ and want to start makin my Tetrislike game (or just me lines apear on the screan :P )




omg! almost everytime I do a decent size project or explore some new avenue I find myself learning new stuff about C++ and its standard library and you've already learnt it all :( darn!

I would say that nehe is a decent starting point for OGL though and there's loads of tutorials on diffrent aspects of doing games.

For 2D i strongly advice you to use SDL easy well documented and shouldn't be a problem finding tutorials for it.



i'm learning as i go:) i'm tryin to pace my self but its sooo hard:P


PS
Thx guys for all ur time and stuff;P

Share this post


Link to post
Share on other sites
Judging from your knowledge shown in the thread Rhaal posted, I strongly advise against you trying to do your own game right now. If you feel strongly enough that you can do it, though, by all means download SDL or Allegro and have a go at it. We're here to help you through it, but we can't teach you the entire language and write your game for you.

Good luck, getting past the stage of learning the core language is a boring and tedious task sometimes, but it pays off when you can have a complete artistic license to code anything you'd like.

Share this post


Link to post
Share on other sites
Hi!

I don't know about your programming abilities, but for some parts I disagree with the guys above. However, I think that you should not think that you are a programmer when you know a programming language. And I think that you don't know C++, because there's so much in it. C++ is a bit like Einstein's theorem of relativity. There can only be a dozen of people in the world who (fully) understand it.

Before you jump into the wonderful world of game programming, you should be able to write some "simple" programs, such as converting numbers into roman numerals or roman numerals into numbers, or something similar to that. Being able to solve problems with the programming language you have learned.

I don't agree with these guys that knowing each aspect of C++ is required to make games. I have written a half a dozen games with C before I even touched C++. If you feel that you can (up to some extent) do what you want to do, then you're good to go.

After you can do that, you can do games. I very strongly suggest you stay out of the Win32 API and DirectX. Programming with them is awful. I personally like SDL and I can recommend it to you too. Allegro has a long history and the fact that it's been around since the DOS days makes it a bit slow these days. It's got a lot of nice features, but it's also kinda slow. There are others too, like Clanlib, but they're not as popular and I don't really know much about them. I also suggest you don't use OpenGL for your first few projects, but learn the basics of 2d sprite/pixel-based graphics instead.

Don't jump into too complex projects either. Your tetrislike-idea was great! Tetris has all the basic elements of a game and you always know what you're supposed to work yourself to.

BTW. The article someone posted (http://www.gamedev.net/reference/articles/article1229.asp) is nothing but a mere summary of Andre LaMothe's INSIDE Game Programming-book's first few chapters. I do not find that article very helpful either.

I look forward to playing your tetris clone.
-Richardo

Share this post


Link to post
Share on other sites
Note that I'm not recommending to learn every nook and cranny of the language. I'm just saying that it's beneficial to really be sure you've got a good practical knowledge of all the bits you -do- intend to use [or are pre-requisites to learning SDL or DirectX] before venturing into a biggish project, even like Tetris.

Depth of knowledge rather than breadth. It's better to really get that depth of knowledge in smaller, more focused bits than while you're trying to patch together a game. Not that breadth won't hurt either. Having a good working knowledge of inheritance, or the STL for example isn't required for Tetris, but it'll make your life a whole lot easier.

Share this post


Link to post
Share on other sites
Thanks ppl
i'll get on with it (learning more i mean :P )


DrunkenHyena [he's in the DirectX forum] as some relatively fantastic tutorials pertaining specifically to DirectX 9 in 2d, and doing the simple stuff.

And as Rhaal suggests, you'd be doing yourself a favor if you learn the language in greater depth before moving on.
[/Quote]

cant wait to explore more forums:P
that'll be when i'll stop considerin my self as a begginer;)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement