I need to learn a way, using a bitmap, to display an array of tiles (for a map) as colored squares. What is the easiest way this can be done and how can it be done?
I need to learn a way, using a bitmap, to display an array of tiles (for a map) as colored squares. What is the easiest way this can be done and how can it be done?
Well your going to need to use a graphics libary, I myself am a big fan of allegro.
Woop?
Is there anything I need to install to use a graphics library?
Yes you are going to need to install the headers and lib files for a library. This depends on your compiler.
Woop?
Check to see if your version of Dev-C++ has an update feature. It might be under help or tools. I know with the current version it not only lists updates put development packs as well. One of them should be Allegro.
Alright, I downloaded and installed the Allegro Dev-pack. Should that be it before I can use it?
Allegro For Dev:
http://devpaks.org/show.php?devpak=2
Tutorial:
http://www.loomsoft.net/resources/al...ltut_index.htm
Good Resource
http://www.allegro.cc
Woop?
Everything should work fine start a new project. It will in multimedia
Woop?
I'm getting some error messages when I try to compile the program in the first tutorial: It's not telling me that the file <allegro.h> is undefined but it is telling me that there are undefined references to all of the functions in the tutorial. They are all classified as linker errors.
A random guess is that you aren't including all of the libs in project settings, the specific errors would help
Actually, scratch that. I did what prog-bman said about the projects and now there is only one error: 'no new line at end of file'. What is that supposed to mean?