Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Starting off


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
7 replies to this topic

#1 aeronml   Members   -  Reputation: 107

Like
0Likes
Like

Posted 13 June 2012 - 10:41 PM

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

Sponsor:

#2 xReflex   Members   -  Reputation: 138

Like
0Likes
Like

Posted 13 June 2012 - 10:43 PM

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.

#3 Smilex   Members   -  Reputation: 118

Like
0Likes
Like

Posted 14 June 2012 - 02:20 AM

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.
Currently trying to contribute to the Desurium project.

Macro, then refine.

#4 Serapth   Members   -  Reputation: 3283

Like
0Likes
Like

Posted 14 June 2012 - 07:09 AM

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.

#5 iLoveGameProgramming   Members   -  Reputation: 135

Like
0Likes
Like

Posted 14 June 2012 - 07:31 AM

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

http://www.youtube.com/watch?v=E4RqHtEAAds

hope that helps :)

#6 sednihp   Members   -  Reputation: 239

Like
2Likes
Like

Posted 14 June 2012 - 12:25 PM

If you want to learn SDL and 2d programming use Lazy Foo's 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, 14 June 2012 - 12:26 PM.


#7 iLoveGameProgramming   Members   -  Reputation: 135

Like
0Likes
Like

Posted 14 June 2012 - 01:59 PM

.

If you want to learn SDL and 2d programming use Lazy Foo's 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.


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, 14 June 2012 - 02:01 PM.


#8 profkelly   Members   -  Reputation: 113

Like
0Likes
Like

Posted 01 July 2012 - 07:34 AM

If I may offer a self-serving plug check out:
http://www.programming2dgames.com

All of the example programs include full source code.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS