Sign in to follow this  
Aeron Mayo

Starting off

Recommended Posts

Aeron Mayo    107
Hey i have never tryed game development before and iv been learning c++ and just wonderd if makeing small text based games was a god way to learn and help me move on to making 2d games? i have a lot of fun codeing small text based games sorry that about the lack of info just looking for a good way to start programming 2d games. thx

Share this post


Link to post
Share on other sites
xReflex    138
Jumping from text to 2d games wasn't very hard for me. Its mostly just storing positions of objects and updating them based on input and such.

Share this post


Link to post
Share on other sites
Smilex    119
All practise is good practise. But I would argue that although coding is the funny part, you should also try to put some effort and time into reading stuff. Doesn't have to be a book, but articles here and there and try to use what you learn, in your text based games. Either way, when you feel like it, you can just pick up a 2D engine and code tic tac toe and so forth. My first 2D engine was HGE if you are interested in that.

Share this post


Link to post
Share on other sites
Serapth    6671
The biggest problem with moving past console games isn't really code related. Its the fact you have to deal with the POS C++ linker. This is where most new developers fall on their face.

Share this post


Link to post
Share on other sites
You should try SDL library with C++, it allows you to create window, then put images into it. Therefor you can make 2d games with it. Also then u can add SDL_TTF and SDL_MIXER for text and sound. Heres a good tutorial on starting out on it :P

[url="http://www.youtube.com/watch?v=E4RqHtEAAds"]http://www.youtube.com/watch?v=E4RqHtEAAds[/url]

hope that helps :)

Share this post


Link to post
Share on other sites
sednihp    241
If you want to learn SDL and 2d programming use[url="http://lazyfoo.net/SDL_tutorials/"] Lazy Foo's[/url] website. His tutorials are the best I've seen on the net, they explain how to get everything up and running perfectly. The way he breaks up his tutorials makes it really easy to understand how each bit works. They're not particularly well coded (globals everywhere and all in one file) but they get the idea across. Edited by sednihp

Share this post


Link to post
Share on other sites
.[quote name='sednihp' timestamp='1339698344' post='4949229']
If you want to learn SDL and 2d programming use[url="http://lazyfoo.net/SDL_tutorials/"] Lazy Foo's[/url] website. His tutorials are the best I've seen on the net, they explain how to get everything up and running perfectly. The way he breaks up his tutorials makes it really easy to understand how each bit works. They're not particularly well coded (globals everywhere and all in one file) but they get the idea across.
[/quote]

Agreed with Sednihp, Lazy Foo's got really good tutorials on SDL, just make sure when u add linker, you dont mess up lower case L's and upper case i's with eachother. I remember lazy foo got that wrong. Took me couple hours to figure out whats wrong since i copy and pasted from his web. Unless he changed that back by now :P Edited by iLoveGameProgramming

Share this post


Link to post
Share on other sites
profkelly    120
If I may offer a self-serving plug check out:
[url="http://www.programming2dgames.com"]http://www.programming2dgames.com[/url]

All of the example programs include full source code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this