George Jennison

Members
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

200 Neutral

About George Jennison

  • Rank
    Newbie
  1. Allegro & C++

    You can use allegro for things like key presses to move an ascii character across the console. But wouldn't it be better if you used allegro's built in window functions, and move from a console to a window and use Bitmaps?
  2. Allegro 5 vs Cocos2d-X

    Allegro is one of my favorite API's. I prefer Allegro 4.2, I have tried 5, but with unfavorable results. I tried Cocos2dx, but It didn't install properly. In conclusion: I suggest Allegro 4.2 or SDL or SFML. But that is my personal opinion, try both and see which one you prefer. Also think about what kind of game you would like to make, and what platform you would like to make it on. If you are using Mac, If you want you will be able to make games on the app store.
  3. ERROR: R6010

    [font=Verdana, sans-serif]I created a simple program in in C++ and allegro in Visual C++ 2010 Express.[/font] [font=Verdana, sans-serif]It works fine; I get no compiler errors. BUT, when I try to run the program I get a Message Box that says:[/font] [font=Verdana, sans-serif](Window Caption) "Microsoft Visual C++ Debug Library"[/font] [font=Verdana, sans-serif](error) "Debug Error![/font] [font=Verdana, sans-serif]Program: ...e\Desktop\programming\c++\visual\2010\BlockZ\Debug\BlockZ.exe[/font] [font=Verdana, sans-serif]R6010[/font] [font=Verdana, sans-serif]- abort() has been called[/font] [font=Verdana, sans-serif](Press Retry to debug the application)"[/font] [font=Verdana, sans-serif]That's what it says![/font] [font=Verdana, sans-serif]HERE'S MY CODE:[/font] [font=Verdana, sans-serif][CODE] #include <allegro.h> int main() { allegro_init(); install_keyboard(); set_color_depth(16); set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640, 480, 0, 0); BITMAP* buffer = create_bitmap(640, 480); BITMAP* bg = load_bitmap("bg.bmp", NULL); while(!key[KEY_ESC]) { blit(bg, buffer, 0, 0, 0, 0, 640, 480); blit(buffer, screen, 0, 0, 0, 0, 640, 480); } destroy_bitmap(buffer); destroy_bitmap(bg); return 0; } END_OF_MAIN();[/CODE][/font]