Thread: Problem Loading Bitmaps in Allegro

  1. #1
    Registered User LiNeAr's Avatar
    Join Date
    Aug 2005
    Posts
    31

    Problem Loading Bitmaps in Allegro

    Ok, so I am finally starting to learn 2D graphics, and I went with Allegro. So I am following a tutorial on this site, when I run into a problem. When it came to loading bitmaps, I downloaded the source code from the site, then compiled it. It came up with a black screen, then after ten seconds it came up with a "error report". So the program crashed...and I don't know how to load it. Here is the tutorial I was using, tell me if it works for you: HERE It comes with a bitmap to load, but doesn't load
    I got other tuts to work, such as making primatives, i\o, double buffering, except loading bitmaps.
    IDE: Microsoft Visual C++ .net Standard 2003

  2. #2
    Registered User LiNeAr's Avatar
    Join Date
    Aug 2005
    Posts
    31
    Do I have to include the .bmp into my project? Such as, do I have to drag the pick, and add it to my project. Or can it be in a folder on my desktop?
    IDE: Microsoft Visual C++ .net Standard 2003

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  2. Problem with loading a file
    By ManiacBR in forum C++ Programming
    Replies: 2
    Last Post: 12-11-2006, 04:55 PM
  3. Loading Bitmaps
    By Neandrake in forum Windows Programming
    Replies: 4
    Last Post: 12-17-2001, 01:50 AM
  4. loading Bitmaps
    By Stealth in forum C++ Programming
    Replies: 2
    Last Post: 10-24-2001, 09:01 PM
  5. Allegro Problem
    By Xterria in forum Game Programming
    Replies: 6
    Last Post: 08-30-2001, 02:32 PM