Sign in to follow this  
skulldrudgery

Next

Recommended Posts

skulldrudgery    253
I have finished my beginners books in C++. I understand the concepts of classes, inheritance and polymorphism, etc., even though I don't have the required experience to know when to apply them. I've tried making games while learning, but after some difficulties I decided to learn as much about how to program before I even approached games. Anyway, I am learning independently, so I don't have a prof I can get assignments and exercises from. Could anyone reccommend some "projects" for me that require these sort of techniques? I could also use some links for reading on intermediate topics. I am not really interested in the mechanics of the language anymore. I need something more about implementing the techniques and concepts, rather than the syntax or the language features. I feel like completing some projects/"assignments" is my top priority right now, but I can be persuaded by the more experienced. Thanks in advance.

Share this post


Link to post
Share on other sites
caseyd    276
Try this site. It shows how to create some of the most foundational games in an easy to understand manner.
What you don't want to do, and I'm guilty of it, is to spend too much time designing and worrying about your design. Just code and try and complete a few projects. Afterwards, look at them and think about what was easy, hard, what you would do differently next time and what really worked.

I find it also helps to keep a development journal of stuff your working on. I use Livejournal's private posting options for mine. It's all setup so all I have to do is post something. When I get stuck I just make an entry on what I'm stuck on or just a few thoughts and sometimes it helps me make sense of what I'm doing.


Sorry for the shameless Livejournal plug. I plan on becoming a GDNet+ member very soon.

Share this post


Link to post
Share on other sites
Illumini    205
Might I suggest Pong?

Some names of classes to get you started thinking (obviously overkill for Pong, but you are trying to implement C++ concepts mainly)

Renderable
Renderer
Paddle IS A Renderable
Ball IS A Renderable
Scoreboard IS A Renderable
Player HAS A Paddle
Game HAS A Renderer, Scoreboard, Ball, Players

Just some ideas that should make a little bit of sense if you understand the basics of OO design (ie inheritance and composition).

EDIT: Would like to point out my suggestion is the exact opposite of caseyd's. I feel both are valid methods (infact I learned mostly the way caseyd suggested), its just approaching the problem from two different angles. Depending on the type of learner you are one may suit you better than the other. Good luck :)

Share this post


Link to post
Share on other sites
skulldrudgery    253
Quote:
Might I suggest Pong?

Some names of classes to get you started thinking (obviously overkill for Pong, but you are trying to implement C++ concepts mainly)

Renderable
Renderer
Paddle IS A Renderable
Ball IS A Renderable
Scoreboard IS A Renderable
Player HAS A Paddle
Game HAS A Renderer, Scoreboard, Ball, Players

Just some ideas that should make a little bit of sense if you understand the basics of OO design (ie inheritance and composition).

EDIT: Would like to point out my suggestion is the exact opposite of caseyd's. I feel both are valid methods (infact I learned mostly the way caseyd suggested), its just approaching the problem from two different angles. Depending on the type of learner you are one may suit you better than the other. Good luck :)
I'm looking for something a little less game-related. I really want to know programming before I take a stab at games again.

But, the allure...of game making. Too strong. Losing will to...learn boring stuff......

I like the dev journal idea a lot. Thanks for the suggestions.

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