#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Posts
    5
    Rep Power
    0

    Learning the trade


    Hi new here and generally new to the art of game making. I really want to focus on learning how to make 2d online games. I have come up with an easy and hopefully painless way to teach me step by step.

    Here is the plan.

    Make a really simple game.
    I just want to make a 100x100 pixel game. The goal is to move a red circle or "Ball" to a green circle or "ball". The controls would just be the arrow keys.

    Here is what the game would look like (The "WINNER!" would only appear after you won the game)

    i113.photobucket . com /albums/n238/Blakeeboo/Compileationw.jpg

    KK I think the first step would be getting the Background to show up so how would i get to that point?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2006
    Posts
    2,270
    Rep Power
    1737
    What is your programming knowledge and experience so far?
    When you ask a question, be prepared to tell us: what have you tried? If you think you don't need to try anything, we will never be interested in helping you. If you agree with the link, and you refuse to answer that question, you are being a hypocrite.

    Need help with broken code? Your question should be like a good bug report: (1) It has the smallest number of steps to reproduce the problem you see (2) It tells us precisely what you expected to see and (3) It tells us what you saw and how it differed from what you expected. We need all three to help you.
    Want better answers? Tell us what you Googled for and what steps you took to answer your own question.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Posts
    5
    Rep Power
    0
    I have made a lot of levels and basic coding that goes along with that but i don't know what kind of coding it takes to make a online game.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2006
    Posts
    2,270
    Rep Power
    1737
    I have made a lot of levels and basic coding that goes along with that
    Iím not certain how to interpret this statement. Am I correct in saying that your experience has been almost entirely that of level editors?

    but i don't know what kind of coding it takes to make a online game.
    Pretty significant. Making something is more than putting code together though. You have to make design choices, and that is the difficult part. Youíre an architect, only building virtual structures, and no one can tell you how to do something. All you can do is learn principles. For networking, this would be something like how computer communicate, udp/tcp, protocols, sockets. And more concepts that build on top of that.

    So Iíll give you the same advice I give to any beginner who wants to make games, but doesnít know where to begin. The first thing you need to do is become reasonably proficient in a programming language. You canít learn to program, if you donít have a language to use. There are a number of languages out there, and you can find out a sizable list with a few minutes in Google. There is no one best language, just as much as a carpenter does not favor a hammer over a screwdriver.

    But you should look at Python and C# first, as there is a lot of popular support for those two, for beginners. On the other side, you should avoid C or C++. If you are looking at other languages, and have questions Google wonít answer, continue to ask here.
    When you ask a question, be prepared to tell us: what have you tried? If you think you don't need to try anything, we will never be interested in helping you. If you agree with the link, and you refuse to answer that question, you are being a hypocrite.

    Need help with broken code? Your question should be like a good bug report: (1) It has the smallest number of steps to reproduce the problem you see (2) It tells us precisely what you expected to see and (3) It tells us what you saw and how it differed from what you expected. We need all three to help you.
    Want better answers? Tell us what you Googled for and what steps you took to answer your own question.
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Posts
    5
    Rep Power
    0
    With game editors you have to code all the enemy movement basically any thing that happens but controlling the character. Each game has it's own commands based on the engine. I understand what you mean by the design choices in stuff. I want to learn C++. How do you recommend going about that?
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jan 2004
    Posts
    1,014
    Rep Power
    788
    BlakeeBoo, there are several very good books, a nice list (IMO) here: http://www.artima.com/cppsource/top_cpp_books.html read the descriptions before purchasing any of them. If you're patient, you can wait for this book to come out (http://www.research.att.com/~bs/programming.html) which will probably be the authoritarian book for beginner C++ programmers.

    Beware that C++ will be tough to learn if you have no programming experience.

    I believe Microsoft has released several books on beginning programming by making a simple game. The type of "programming" you've worked with is most probably Lua, a scripting language heavily used in video games.
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Posts
    5
    Rep Power
    0
    Thanks for the books. I definitely want to learn the C++ language and i don't want to learn anything else first. My uncle told me specifically not to do that. He is a computer specialist and he said that the older language messes you up when you learn the new one.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2006
    Posts
    2,270
    Rep Power
    1737
    He is a computer specialist and he said that the older language messes you up when you learn the new one.
    Most likely he was referring to C versus C++. C++ shares a subset of C, but learning C before C++ is detrimental in teaching you C++.

    I definitely want to learn the C++ language and i don't want to learn anything else first
    That's unfortunate, I believe. But I'll still tell you what to do if you want to start with C++.

    Get the following: Visual Studio 2008, or Visual C++ 2008 Express (free). The books: Accelerated C++ by Koenig, C++ Primer, 4th Edition, by Stanley Lippman. If you have cash to spare (or waste, if you move away from C++), The C++ Standard Library by Josuttis. AC++ is designed like a course to teach you how to use C++ in a modern fashion. C++ Primer is like a reference book on C++. The C++ SL book doesn't teach you C++. It's purely a reference for the library, and online free references are pretty poor.

    Go through the AC++ book and you'll be in a better position than most beginners.
    When you ask a question, be prepared to tell us: what have you tried? If you think you don't need to try anything, we will never be interested in helping you. If you agree with the link, and you refuse to answer that question, you are being a hypocrite.

    Need help with broken code? Your question should be like a good bug report: (1) It has the smallest number of steps to reproduce the problem you see (2) It tells us precisely what you expected to see and (3) It tells us what you saw and how it differed from what you expected. We need all three to help you.
    Want better answers? Tell us what you Googled for and what steps you took to answer your own question.
  16. #9
  17. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Posts
    5
    Rep Power
    0
    Thanks for all the good info! I have Visual studios a pressent from the same uncle it is an older version that he doesn't use anymore (even used it is a pretty darn good present). I played around with it some did the "Hello World!" tutorial but couldn't find a another tutorial to get me going and then i found here.

IMN logo majestic logo threadwatch logo seochat tools logo