-
Graphics help
Hello I am interested in starting to make graphics. I know a little C++ and I want to make simple games like Pong, tetris, mario just to get a feeling for graphics in C++. Direct X and OpenGL is a bit advanced for me now. What do you recommend I use? I use DevC++ as a compiler.
-
-
Umm I get stuck at step 5 http://www.allegro.cc/files/install-devcpp.html. I type in the command C:\Dev-Cpp\allegro>gcc -v and it says " ' C:\Dev-Cpp\allegro' is not recognized as an internal or external command, operable program or batch file."
-
Yeah, I got stuck near that part too, maybe try downloading the binary for Mingw? You should probably ask someone else first though, cause I don't really know very much lol.
-
You're supposed to go to the directory first, and then type in 'gcc -v'.
-
What do you mean go there? I typed in "C:\Dev-Cpp\allegro>gcc -v".
-
Another option is SDL, or if you're using Windows and don't mind a bit of un-intuitive code, Windows GDI.
-
I want to use allegro but can't get to work. Unless someone can tell my step by step what I do I have no clue what im doing. I have XP.
-
First type in "cd C:\Dev-Cpp\allegro", then type in gcc -v filename.cpp
-
I am stuck at step 7: Now, to installing Allegro: type make install at the command prompt. Note that some poeple seem to have trouble at this step. Make sure your MINGDIR has been set. You can manually do it by typing SET MINGDIR=C:\Dev-Cpp before running make install.
Ok, now that Allegro is properly set up and installed, we can create our first Allegro program (yay!)
I get this when I type in make install with dir set to c:\dev-cpp\allegro " 'make'not recognized as an internal or external command, operable program or batch file."
-
Perhaps you should try something that's easier to set up? ;)
-
Like what? i want it simple, but so I can make more than a simple pong game. I want to eventually make a Real Time Strategy Game.
-
Real Time Strategy? As in Warcraft? I was about to suggest GDI since for that you only need to #include <windows.h>, but it's not exactly prime game-making material. Allegro would probably be more suited for that, but you're having trouble setting it up. Other options include:
SDL
DirectX (DirectDraw7 or DirectGraphics a.k.a. Direct3D)
OpenGL (Not sure where you can get a 2D tutorial)
ClanLib (?)
There's probably others, but those are the ones I can think of for the moment.
-
I want something easy. Im just starting off with graphics in c++ and Direct X is a bit hard for me now.
-
GDI isn't intuitive, but is relatively simple once you get the hang of it. Windows is practically built around it so one day you'll probably have to learn to use it anyways. But it's not particularly easy to pick up and learn.
SDL is cross-platform and faster than GDI and is easier to use (or so I hear).
With ClanLib I've only heard the name.
Take your pick, or figure out how to install allegro ;)
-
-