• So.. a good 2d thing to get started on?
    17 replies, posted
Hey guys, i know a bit C, a bit C++(They are essentially the same, though) and i know ALOT of DreamMaker. However the only reason why i am using DreamMaker, the language SS13 is made in, is because i found 2d graphics and net code too daunting for my then quite limited abilities. I got hang of making a game. Now i want to make a game from scratch, as a side project to Ameripain(An unannounced game i am working on with a friend in NC) just to get a taste of how that feels. I just want to make that Retro 2d sidescroller thing with modern gimmicks such as pixel destruction, gore and such, will start off simple with just the retro graphics and sidescrolling, pixel physics and shit can come later. Im trying to move away from the slow interpreted languages, to faster, lower level languages such as C and C++ and such. I know Mr. Google, but Mr. Google aint got no programming 'sperience, i just want to hear some words from the mouths of a living person that has tried making that kinda stuf before.
[QUOTE=Holy-Smokes;33763578]Hey guys, i know a bit C, a bit C++([b]They are essentially the same, though[/b])[/QUOTE] Clearly you don't know enough. [QUOTE=Holy-Smokes;33763578]However the only reason why i am using DreamMaker, the language SS13 is made in, is because i found 2d graphics and net code too daunting for my then quite limited abilities. I got hang of making a game. Now i want to make a game from scratch, as a side project to Ameripain(An unannounced game i am working on with a friend in NC) just to get a taste of how that feels. I just want to make that Retro 2d sidescroller thing with modern gimmicks such as pixel destruction, gore and such, will start off simple with just the retro graphics and sidescrolling, pixel physics and shit can come later. Im trying to move away from the slow interpreted languages, to faster, lower level languages such as C and C++ and such. I know Mr. Google, but Mr. Google aint got no programming 'sperience, i just want to hear some words from the mouths of a living person that has tried making that kinda stuf before.[/QUOTE] If you want simple, [url=http://love2d.org/]LÖVE[/url] is a good start. It uses Lua for the scripts, which is a good and fast (exceptionally so with LuaJIT) language. The API is simple, you have pretty much everything you'd need for a 2D game. The physics library uses Box2D, which should be enough for you; I'd stay away from pixel physics for a while. There's no networking library though. If you insist on C++, although I don't have much experience with 2D graphics, I recommend [url=http://www.sfml-dev.org/]SFML[/url]. It provides you with a good API with support for windowing, 2D graphics, audio and networking. Physics you'll have to add yourself (Box2D is good), but I don't know of any pixel physics libraries. For C there's [url=http://www.libsdl.org/]SDL[/url], which I believe is the inspiration for SFML. I've never used it though, so I can't comment on it.
I know theres a difference between C and C++ but their philosophy remains the same, the only difference is the other being object oriented along with a few extra things, i actually read alot about both languages so its not like i dont know enough. But thanks.
[QUOTE=Holy-Smokes;33765246]I know theres a difference between C and C++ but their philosophy remains the same, the only difference is the other being object oriented along with a few extra things, i actually read alot about both languages so its not like i dont know enough.[/QUOTE] Always keep C++ separated from C, it's better if you just think of them as two separate languages. I've seen too many people learn C and assume C++ is just a superset of C and so they can apply their C knowledge there. That only leads to code that is horrible to read and maintain. If you're one of those people, please don't write C++.
[QUOTE=raBBish;33764086]For C there's [url=http://www.libsdl.org/]SDL[/url], which I believe is the inspiration for SFML. I've never used it though, so I can't comment on it.[/QUOTE] SDL is really good for simple 2D games, with a few caveats. First, don't use 1.3. It's not done yet. Second, SDL does not provide a lot of transformation routines. I'd say it focuses more on just providing [i]cross-platform interfaces[/i] to windowing, networking, sound, image loading, etc. although it does provide routines for blitting and whatnot. This is sort of in-line with its original purpose, as it was written by a dev (slouken) at Loki Software which used to port Windows games to Linux. [QUOTE=raBBish;33765340]Always keep C++ separated from C, it's better if you just think of them as two separate languages. I've seen too many people learn C and assume C++ is just a superset of C and so they can apply their C knowledge there. That only leads to code that is horrible to read and maintain. If you're one of those people, please don't write C++.[/QUOTE] This goes both ways :\ Keep the C++ heathens outta mah C code. Also I think you're being a little harsh when you say that people "can [not] apply their C knowledge there". You're saying [i]nothing[/i] carries over? I mean you could write in a hardware description language or some such thing and some basic principles are still going to carry over.
[QUOTE=ROBO_DONUT;33765565]SDL is really good for simple 2D games, with a few caveats. First, don't use 1.3. It's not done yet. Second, SDL does not provide a lot of transformation routines. I'd say it focuses more on just providing [i]cross-platform interfaces[/i] to windowing, networking, sound, image loading, etc. although it does provide routines for blitting and whatnot. This is sort of in-line with its original purpose, as it was written by a dev (slouken) at Loki Software which used to port Windows games to Linux.[/QUOTE] Oh cool i guess. Thanks.
I generally don't recommend C++ ( without good reason) , but if you know a bit of C++ and want to make 2d games, [URL="http://gamefromscratch.com/page/Game-From-Scratch-CPP-Edition.aspx"]this C++ with SFML tutorial is about perfect.[/URL] It goes into detail about making the worlds most over-engineered pong game, already at 9 chapters and counting. Along the way it goes into more detail than most tutorials about how to actually lay out non-trivial code in classes across multiple files and hopefully teaches you a bit about C++. It covers common game tasks like an entity manager, game state, menus, etc. You need to know a bit about C±± going in though. Oh and hi all, first post.
[QUOTE=Serapth;33775978]I generally don't recommend C++ ( without good reason) , but if you know a bit of C++ and want to make 2d games, [URL="http://gamefromscratch.com/page/Game-From-Scratch-CPP-Edition.aspx"]this C++ with SFML tutorial is about perfect.[/URL] It goes into detail about making the worlds most over-engineered pong game, already at 9 chapters and counting. Along the way it goes into more detail than most tutorials about how to actually lay out non-trivial code in classes across multiple files and hopefully teaches you a bit about C++. It covers common game tasks like an entity manager, game state, menus, etc. You need to know a bit about C±± going in though. Oh and hi all, first post.[/QUOTE] Thanks, i already know a bit C++, went through learncpp.com once.. :P Might need a refresher but hell, just a refresher.
Top-down zombie shooter. It's your rite of passage.
[QUOTE=Yogurt;33794516]Top-down zombie shooter. It's your rite of passage.[/QUOTE] I never, ever, ever, thought I would say this, but... I'm so sick of zombies.
[QUOTE=Serapth;33796326]I never, ever, ever, thought I would say this, but... I'm so sick of zombies.[/QUOTE] That's kinda the joke. New game programmers making top-down zombie shooters is so common that it's almost obligatory now.
I have already made a top down zombie shooter, long ago when i was a homophobic tween :( Instead of zombies, it was gay pride flags with swastikas on, yes i was that kinda piece of shit. It was named "WTFlags" or "What the Flags?"
[QUOTE=Holy-Smokes;33799996]I have already made a top down zombie shooter, long ago when i was a homophobic tween :( Instead of zombies, it was gay pride flags with swastikas on, yes i was that kinda piece of shit. It was named "WTFlags" or "What the Flags?"[/QUOTE] Generally in life, there are things about you that you should share with other people... This... is not one of those things.
[QUOTE=Serapth;33800481]Generally in life, there are things about you that you should share with other people... This... is not one of those things.[/QUOTE] Its Facepunch who cares? Im going to get rated boxes nontheless anyway :) Also i was a different person back then. I was like "lol hitler" "lol fags" "lol im so /b/" Then i stopped when i saw Jewdozer :P
Dreammaker is horrible.
[QUOTE=reevezy67;33914586]Dreammaker is horrible.[/QUOTE] Wow! You added so much to this thread, especially after nobody has posted in it for a week. The author of this thread will find your comment very useful and it is probably the best thing he will get out of this thread.
[QUOTE=Bumrang;33916084]Wow! You added so much to this thread, especially after nobody has posted in it for a week. The author of this thread will find your comment very useful and it is probably the best thing he will get out of this thread.[/QUOTE] Didn't realize it had been a week. But you're right, my bad.
[QUOTE=reevezy67;33916390]Didn't realize it had been a week. But you're right, my bad.[/QUOTE] its ok, i got banned for accidentally replying to a month old thread [editline]27th December 2011[/editline] make that 5 months
Sorry, you need to Log In to post a reply to this thread.