#2 Crossbones+ - Reputation: 5152
Posted 11 December 2012 - 07:01 PM
From the sounds of it, you have exactly the experience of reading one book.
Have you actually coded anything?
Can you even make a window in Windows®?
Where do you go from here? To your nearest compiler.
What do you do next? Practice what you have studied. You haven’t even gotten a good feel for the language yet—trying to apply too many new concepts on top of that is just going to burn you out. Don’t be in such a hurry. Everyone learns one step at a time.
L. Spiro
Edited by L. Spiro, 13 December 2012 - 08:11 AM.
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums
#3 Staff - Reputation: 8897
Posted 11 December 2012 - 07:25 PM
I'd agree with L. Spiro though: if you've really just read through the book you need to do some actual programming -- there's absolutely no substitute for real experience. Work through any exercises provided, and experiment with writing small programs, intentionally causing errors, etc. to learn as much as possible, and if you feel like you need to perhaps look at additional books.
Once you feel you're ready to try tackling a game, you'll want to choose and learn an API that provides windowing, graphics, input handling, etc. One such popular choice is SDL, using Lazy Foo's tutorials to get started, but SFML or Allegro are also very popular and capable choices.
Set yourself a goal of some simple game to make -- I normally suggest "Pong" as a first game -- and set about breaking it down into smaller tasks you can approach one at a time. For the example of Pong, a starting set of goals might be:
- Learn to create a window.
- Learn to draw a rectangle (which you will eventually use as the player's paddle).
- Learn to move your rectangle in response to player input...
- ...and so on and so forth...
//EDIT: It's absolutely worth spending the time to try some simple text-based games before moving on to graphics as others have suggested. This is a relevant goal (you get to make some playable games) but can really help to solidify your knowledge before moving on to more complex topics. Only you can decide when you want to move on however, and you can always come back to the basics if you find things too difficult.
Does that help?
Edited by jbadams, 11 December 2012 - 07:30 PM.
- Jason Astle-Adams.
From my blog: 20 ways to advertise your game | What next? Intermediate to advanced C++
How to make games WITHOUT programming | 4 reasons you aren't a successful indie developer
#4 Marketplace Seller - Reputation: 8925
Posted 11 December 2012 - 07:26 PM
Don't search for "text based game tutorial". You'll find plenty, but right now what you probably ought to do is apply the knowledge you already know, without being hand-held by a tutorial. See what you can do on your own.
Think it through and try. Make it a really small scoped game first, with only several features, then build off of there.
Suggested phases:
- Basic world
- Display room description (loaded from file).
- World movement
- Connect multiple rooms together
- Allow movement from room to room ("North" goes north, etc...)
- World interaction
- Add locked doors and keys
- Add NPCs that you can talk with
- Add dialog choices with NPCs in response to their text
- Content creation
- Create rooms and doors and keys and NPCs and put it all together in a tiny game.
Instead of searching for "text game tutorial", try to see what you can do on your own. When you encounter a problem, search for specific tutorials and articles, not general ones. Search for "How to load text files", not "How to read text rpg rooms from files" and not "How to make text games". Break the work down into chunks and pieces, and try to solve the problems on your own, only searching for solutions to individual chunks and pieces when you are stuck.
All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal
#5 Members - Reputation: 1799
Posted 11 December 2012 - 07:26 PM
#6 Members - Reputation: 592
Posted 11 December 2012 - 07:38 PM
Hangman
Tic tac toe
a calculator - you can decide how to implement it and what 'extra' features you want to add. I remember implementing factorial and exponents. That was moderately challenging as a beginner because I had never had to think about implementing even something so simple before. But it helps you think more like a programmer.
If you wanna practice memory management and OOP, make a "database" program, where the user specifies the number of entries in the database, and fills out info. The entries can be an array of objects, and the user fills out info that's put into their member variables. Again, unless you use fstream or i/o redirection in unix, this'll be a little odd, but why not? It's pretty interesting.
#8 Members - Reputation: 151
Posted 12 December 2012 - 12:04 AM
#9 Staff - Reputation: 8897
Posted 12 December 2012 - 01:07 AM
Otherwise you can do as suggested and just set progressively more difficult goals to approach.
- Jason Astle-Adams.
From my blog: 20 ways to advertise your game | What next? Intermediate to advanced C++
How to make games WITHOUT programming | 4 reasons you aren't a successful indie developer
#10 Crossbones+ - Reputation: 264
Posted 12 December 2012 - 08:12 AM
I would like to just add 1 thing to all of the above - As you start coding, also include some game mechanics of simple Table Top games that you all ready know.
For example - Roling dice - 2 dice = 2 sets of random numbers - Programming that and looking at the results ( Individual results as well as combined results ) re-inforces your learing experience if you can apply these newly learned skills to something that interest you.
Doing a text based set of cards - Moving around a virtual Game board combines rolling dice ( Random Numbers ) as well as contrlling location say on a 40 square game board and getting back to the beginning adds data elements.
At least for learning while doing what I wanted greatly helped me. Build from there everytime you turn on the computer, set a new simple goal, acheive it and build more.
Your Brain contains the Best Program Ever Written : Manage Your Data Wisely !!
#11 Members - Reputation: 280
Posted 13 December 2012 - 03:08 PM






