Hi, I'm wonder how I could make a 2D side scrolling Game. It would be really nice if somebody could point me in the right direction. Thanks, I really appreciate it.
Please make it as simplistic as easy. The only requirement is that it runs on PC and you write code for it in C++.
Would you prefer to use graphics, or text in your game?
Text is MUCH simpler than graphics, as graphics would require a knowledge of OpenGL or DirectX. I am trying to learn DirectX, but I find the coding to be far too complex, so I make text games that might be similar to your intrests.
Although, I do believe there are some libraries out there that make graphic games easier to make, such as allegro.
No, it's actually easier with graphics, cause getting a console to display what you want is serious work. You don't have to use something low level like DirectX or OpenGL.
I would go with allegro.h, as Twist177 said. I have been using allegro for a while and it's quite simple. (For me it doesn't work on MinGW Dev Studio, but works with wxDevC++) So that you don't need to enter either DirectX code, or OpenGL. You simply run a easy to learn library.
By the way. Made my first x and 0 game :) Quite cool.
I tried using allegro but I got an error in Dev-C++ when I went to compile and run in the first example listed on the allegro game programming website in the line allegre.init() or some line of code like that. Can you please tell me how to fix this?
Without the actual error message we're just guessing, but I'd guess that you're not including the right headers, or not linking properly to the right libraries, or your compiler is very old and not able to understand the code being used.
He's probably either not linking to allegro (few DevC++ users know there's such a thing as linking from my experience), or he's trying to use Allegro 4.
Also Moschops is right in that we would only be guessing at the cause of your issue but if it says that "allegre.init()" is undefined then you did not load the header. If it says you have unresolved symbols then you did not link the library, or you linked to them in the wrong order. A copy paste of the error will tell us for sure what your problem is.