I'm currently trying to learn c++ and it's not too hard to understand, but I just want to know when I can start designing and programming my own 2d/3d game.
Referring to [url]http://www.learncpp.com/[/url] I'm basically on chapter 7.
I assume that this is the basics, but what is past the "basics"? Is there more important libraries to know?
I just want to move forward and learn mostly things that apply directly to my goals and hopefully I get directed in the right direction :')
To be brutally honest, at whatever point suits you. I've programmed C++ for the past few years but moved to Haskell simply because C++ was too low level for my personal taste.
As for learning, you're going to be learning as you make anything, and in the end even once you know a good amount of C++, you'll still need to learn how to use specific library APIs.
My first C++ application was a game, as long as you find an easy library to work with it should be doable.
You might not make the best game with the prettiest code, but everyone's gotta start somewhere.
[QUOTE=Jookia;44655876]To be brutally honest, at whatever point suits you. I've programmed C++ for the past few years but moved to Haskell simply because C++ was too low level for my personal taste.
As for learning, you're going to be learning as you make anything, and in the end even once you know a good amount of C++, you'll still need to learn how to use specific library APIs.[/QUOTE]
Sup, you mentioned Haskell, can I ask you what you use it for :D?
You're not going to make a game straight off the bat. Choose a point where you think you're comfortable with the idea of coding, writing simple algorithms and with the idea of Object Oriented Programming (OOP) and get cracking.
Your first game might take a while to finish- so I'll recommend you start small. Cloning atari-era games are a great choice- You'll get the basics of programming a game, which takes some time, but you'll have results in some time. Remember, take small steps, each victory will give you more drive to keep going. Nearly everyone can learn programming games- it takes dedication tho.
I made my first game in C++ after about 3 months of learning it I think. It wasn't very good, in fact, it was pretty fucking awful. I did have experience in Java, which helped with general programming stuff, but I still had to constantly learn bits of C++ as I went. Once you feel confident that you are able to learn the language as you go, that might be a good time to start. Just jumping straight in the deep end when you aren't too confident will only make things harder for you.
(Oh, if anyone is interested, that shit-tier game is available here;
[url]https://bitbucket.org/jwoerner/graphics-1-coursework-not-indy/downloads/Not-Indy.zip[/url]
You can get to the BitBucket repo itself if you really want a laugh)
Thanks guys, I think I am a *FAR* way from actually getting to make my own game.
Since C++ is such a "low level" language, would switching over to java make my life easier? (Referring to learning and coding wise)
[QUOTE=HeatPipe;44658036]Sup, you mentioned Haskell, can I ask you what you use it for :D?[/QUOTE]
Uhh... Off topic, but I guess just Cabal and GHC, with a text editor and terminal as my IDE.
[QUOTE=Viz;44661369]Thanks guys, I think I am a *FAR* way from actually getting to make my own game.
Since C++ is such a "low level" language, would switching over to java make my life easier? (Referring to learning and coding wise)[/QUOTE]
If you want to fairly easily make your own game with an existing library, look into [url=https://love2d.org/]LÖVE[/url]
[QUOTE=Viz;44661369]Thanks guys, I think I am a *FAR* way from actually getting to make my own game.
Since C++ is such a "low level" language, would switching over to java make my life easier? (Referring to learning and coding wise)[/QUOTE]
If you're interested in learning programming in general, Java isn't a bad place to begin, it's high-level enough to hide all the memory related stuff like references and pointers, but enough like C++ for you to apply what you've learned in Java to C++. Though it's a bit janky for games development, it works but it's not the greatest. C#, Lua (using LÖVE as mentioned) are probably better places to begin for game development itself.
make a text adventure game
Just dive into it, also I suggest you to learn coordinate system and vector math :)
Also matrices can come handy too (even for 2D games yes)
I had to use C++ and OpenGL to make a game for my programming module and I managed to make an acceptable clone of breakout in a week.
Sorry, you need to Log In to post a reply to this thread.