• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
Motoky

How do I know what code to put into creating certain programs?

7 posts in this topic

Hey, I'm currently studying DirectX, I did learn some of the basics of C++ before this and a bit about DirectX.

Sometimes I'm not really too sure what the best method is to learning, besides actually programming. The way I do it is I read from the books, take the examples from the CD's, look through it and actually understand what it's doing, write out a very simple step by step on how to create this, I try not to mention any names of function's, structures, datatypes, etc. So when I get to a certain step I have to search for the information myself and I think it helps me remember the functions and such.

The only problem I am having with this is knowing what I need to put into programs. Say if I have read through an example program, I know what it's doing, what it accomplishes in the end, but then I want to write it from scratch, I just have no idea what steps I need to take, the order of the code. My mind just goes blank.


I've been taking my studying seriously for 2 years I would say, so it's not a very long time. I'm learning from books and have a huge list of books to work through on C++, DirectX, Computer Science, etc.

I just want to know if I am doing something wrong for me to just not know what needs to go into a program. I will give you an example, I'm currently working through an example program that takes the directional arrows on the keyboard as input and displays an image corresponding to that arrow. I'm working with Direct3D Input at the moment, so it's all based on keyboard, mice and gamepad input, but I'm starting the very first and basic program. I know how to do the basic Windows programming, like displaying windows, etc.
0

Share this post


Link to post
Share on other sites
The more you program, the more you are able to predict what kind of code you need to create something and how to organize everything. You should start small, creating programs you are able to make and then aim to more difficult ones. You should try to break your programs in smaller incremental steps you are able to make.
0

Share this post


Link to post
Share on other sites
Do it the way we all did it in the beginning: just start hacking code together. If you realize that your current architecture doesn't do the job, then think about a better one and rewrite the whole thing. Repeat this until you finished the project.
After a while you will get a feeling for it so you don't have to rewrite every project ten times, so just keep practicing.
0

Share this post


Link to post
Share on other sites
Would you recommend to just keep getting as many books as possible and maybe get different programmers perspectives? I know programming is all down to practice and doing it yourself, but sometimes I find certain books go into to much detail and don't just get to the point whereas others don't explain something enough. The internet can also be a pain at times to find information if you don't put in the right combination of words lol.

I mainly want to program video games, I have an idea in my head already and I think with enough practice I might be able to get something basic up and running without looking at examples and such.
0

Share this post


Link to post
Share on other sites
Yeah you need to get more practice. Books are good, but at one point you have to start doing some actual programming. Pick a simple task, and code it yourself without the help of books.
Also, if your goal is to make games, DirectX is definitely not the way to go. It takes way too long to get anything done, and it will just confuse a beginner. Grab SFML for 2D games.
0

Share this post


Link to post
Share on other sites
[quote]Sometimes I'm not really too sure what the best method is to learning, besides actually programming.[/quote]Since the best method of learning is programming, why not program?
0

Share this post


Link to post
Share on other sites
This is the dilemma in learning programming. Unfortunately, you just have to code away. Start small. Even printing a series of characters from a - z, or every other character, will get you somewhere.
0

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  
Followers 0