Coffeehouse Thread

21 posts

So if I want to make a basic 2D game, where do I start?

Back to Forum: Coffeehouse
  • Scaramoosh

    I have no experience with programming or anything, my only experience is mapping in Source which wont help. It's very hard to know where to start as there is so much information out there but no real definitive guidelines on what you need to do. I'd really appreciate if someone helped me in knowing what I have to learn and what the best way is to go about it, where I can actively teach myself and not have to go to college.

    Thanx. 

  • cheong

    The first question would be, what kind of game do you want to create?

    For example, if you want to create some RPG style ADV games, you may just buy one of the many scripting engine available in the world (some of them is even free and cross platform, you may need to buy or find your way to get the compiler though, and the one I point to is good for e-novel style of game. You need some other for building RPG like ones. I've seen some fans group made awesome game with these engines, but can't remember the name) and just focus on storyboard and arts.

    Recent Achievement unlocked: Code Avenger Tier 4/6: You see dead program. A lot!
    Last modified
  • magicalclick
    Leaving WM on 5/2018 if no apps, no dedicated billboards where I drive, no Store name.
    Last modified
  • Scaramoosh

    I wanna learn C from scratch, my friend went to uni and he said start there, don't bother with stuff like Python or Java as they suck and it all comes from C, so learn that. The problem is however I'm struggling to find any good guides for it, I feel like all the ones I've seen that exist, throw a dictionary at me and tell me to learn the language. There is never any context to any of it, what relevance it has to my end goal and where I even input it or how to get started. 

     

    Edit:

     

    Wont let me post?

     

    http://www.amazon.co.uk/Sams-Teach-Yourself-21-Days/dp/0672324482

    Well my mate said the first book her ever read while starting Uni was this so I'm borrowing his. I'm not interested in college as I've never learnt much from school or college in the past. 

    I thought I'd try watching these

     http://channel9.msdn.com/Series/Windows-Phone-7-Development-for-Absolute-Beginners 

    Sadly Visual Studio 2010 doesn't work on Windows 8 :\ Might have to upgrade to Windows 7 Big Smile Hate all this Metro crap anyways. 

  • figuerres

    Knowing C will be a good thing but given that you have no background in software it's a rough place to start from.  Honestly  I would see if you can do some part time college stuff to get a good set of basic things covered.

    learning on your own can be done but it's not fast or easy.

    a local community college will give you teachers and other students to talk to and learn from / with that will make some of the stuff much better to get started.

     

  • Proton2

    There is no easy answer for you. C was the third or fourth language that I studied. I read a book from cover to cover. That is a good start. It probably took me 6 months to learn C, then 6 months to learn how to program for windows, using the Windows SDK, then another 6 months to learn C++.

    But the learning, the studying went on for years, seemingly never ending. New technologies come along: OLE / COM, C# and .NET, additions to C# such as lambda's and Linq. There was also WPF, Internet programming such as ASP. Direct X.

    I read Microsoft System Journal articles, several years of monthly issues. Books such as "Algorithms and Data Structures in C++" , Object Orientated Programming, Code Complete, Writing Solid Code. Learning UML, Design Patterns.

    Much of all this started for me when I started using the programming language built into Microsoft Access.

    If you don't understand say for example what the "static" key word is used for, you may find as I did that you spend a lot of time just hacking your code just to get it to compile.

    You are fortunate that the tooling is highly advanced compared to when I started. It took me a month before I found out what "DWORD" was. Today you can type that into the editor and find out in a matter of seconds.

  • magicalclick

    Learn C++ or C# or Java, whatever it is, learn how to speak to computer first. Otherwise, you go with Unreal Engine middleware, which is while different world. My advice, making game can wait, learn how to speak first.

    Leaving WM on 5/2018 if no apps, no dedicated billboards where I drive, no Store name.
    Last modified
  • evildictait​or

    Never learn C or C++ first. For mainstream programs, learn either Java or C# first - they help you out by making the code about the what you are trying to program rather than the mechanics of how data moves around in the program. Once you understand Java or C# it's easier to move into C and C++.

    If you start off in C or C++ you will find it difficult because there are lots of gotchas that they introduce (like pointers) are really unhelpful to battle if you're not entirely sure on your feet.

  • figuerres

    , evildictait​or wrote

    Never learn C or C++ first. For mainstream programs, learn either Java or C# first - they help you out by making the code about the what you are trying to program rather than the mechanics of how data moves around in the program. Once you understand Java or C# it's easier to move into C and C++.

    If you start off in C or C++ you will find it difficult because there are lots of gotchas that they introduce (like pointers) are really unhelpful to battle if you're not entirely sure on your feet.

    I recall in the time of DOS having C code that did video buffer writes and such to make the app display fast and such ... and if you got the pointers wrong or the index on an array wrong....

    WHAM!  lockup the whole machine!!!!  them were the days ...  Smiley

     

  • evildictait​or

    @figurres:

    while(TRUE)
    {
      ((char*)(0xb8000)) ++;
    }

    Spinning character in the top left Smiley 

     
  • Scaramoosh

    Man people say learning programming is like learning a language... it's not, it is like learning every single language along with maths. I had no idea it would be this in depth, I thought it was like html or something, that * was easy lol. Reading this book on C, it's 957 pages long and giving me a headache. 

    I think I'll start with the C# stuff once I figure out how to install Visual Studio 2010 to Windows 8 as it says the Os isn't compatible. 

    Oh you have to install the useless GFWL....... makes sense lol.

  • evildictait​or

    , Scaramoosh wrote

    Man people say learning programming is like learning a language... it's not, it is like learning every single language along with maths. I had no idea it would be this in depth, I thought it was like html or something, that * was easy lol. Reading this book on C, it's 957 pages long and giving me a headache. 

    I think I'll start with the C# stuff once I figure out how to install Visual Studio 2010 to Windows 8 as it says the Os isn't compatible. 

    On Windows8 use Visual Studio 2012. You can get a free express edition on the web to get you started.

    Also without GFWL how do you expect Visual Studio achievements to turn into Xbox cheevos?

  • Bass

    Making a basic 2D game is pretty complicated for someone without programming experience. I'd recommend you try a text based game first.

  • magicalclick

    @Scaramoosh: Is there a reason why you don't take a class? You can't really learn English without a teacher. You end up getting worse for lack of basics and level progression. Self learning is great when you learn the basics

    BTW, try Unreal Engine and CryEngine for free. If you are serious about making games, the industry is mostly center around those two engines, and that's where the jobs are at.

    Leaving WM on 5/2018 if no apps, no dedicated billboards where I drive, no Store name.
    Last modified
  • Scaramoosh

    Yeh I know how to use Hammer and UDK, I like developing maps and stuff, I haven't really gotten into Kismet as I prefer Source over UDK. I've stopped making maps for the past few years though as I've been busy with life but why I'm looking to get back into it all, I'd just like to learn how to program this time around, which I'm doing now with this book I got.

    I'm not in it to make money or join some developer, just want to do it as a hobby. I already have a job and am fine where I am in life, just see this as a side thing to do for a bit of fun. I'm not going to start spending money on college or wasting my time doing some college course as it will wear me down and I wont find it fun. Like do move at my own pace in my spare time.

  • cbae

    @Scaramoosh: But will you do the fandango?

  • magicalclick

    @Scaramoosh: ahhh... Now that makes a lot of sense. I recommend getting a 50 pages C# starter book. For fun, I think C# is easier to get started, and eventually you can use XNA to make games that you typically see on the Xbox Indie channel. Mostly get a C# starter book because you don't know how to program yet. After that, get a XNA book. That's what I would do.

    Leaving WM on 5/2018 if no apps, no dedicated billboards where I drive, no Store name.
    Last modified
  • Minh

    it's not too bad, if you pick a good platform to start with... let me dig around, I'm due for some more game dev work

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.