23 Topics
|
|
Hey guys! Im having problems with a snippit of code ive written. I know this is basic C++ so its a little embarasing that i cant work it out myself. Ive googled the run time error message but im not 100% sure i understand what it means. Unhandeled exeption, access … |
|
Hiya! Im not new to programming but sometimes i can be really noobie so im sure this is probably really silly. I have an undecleared indentifier that only shows up in the main but is fine in the header and cpp files. I thought it might be an include loop … |
|
I originally asked this question at cplusplus.com but got no responses. In my program I have the main player and enemy tanks. When using the shotgun weapon it works fine for the main player but it kills the bad guy when they use the weapon. I don't understand how this … |
|
So, I'm using allegro game programming library. Before I move on to bigger and better things I wnat to get a handle on pointers. Specifically with things like structs, linked lists and maybe binary trees in the future. I posted a program that uses a linked list to keep tracks … |
|
Background, I want to install allegro on the iMac 10.6.8 after my macbook crapped out. It didn't compilers installed whatsoever, so I had to find Xcode at a seedy 3rd party site because apple no longer supports Xcode for 10.6. It came as a binary, simple install didn't give me … |
|
Hello do you know whats wrong with this code? #include <stdio.h> #include <allegro5\allegro5.h> #include <allegro5\allegro_primitives.h> #include <allegro5\allegro_image.h> int main() { al_init(); FILE* pFile; return 0; } If I compile it, it fails and output is: main.c 1>c:\users\beda\documents\visual studio 2010\projects\c allegro\c allegro\main.c(9): error C2143: syntax error : missing ';' before 'type' … |
|
Hi, I am trying to figure out allegro, and so far, so good. But I ran into this one snag in this code [CODE]const float FPS = 60;[/CODE] Does this set FPS? Someone on another forum said no, but it seems like that it is a predefined function that changes … |
|
Hi, I am trying to figure out allegro, and so far, so good. But I ran into this one snag in this code: [CODE]const float FPS = 60;[/CODE]Does this set FPS? Someone on another forum said no, but it seems like that it is a predefined function that changes the … |
|
Hello, I am trying to use the allegro game library (5.05) and I came across an error. It involved not being able to find -lgcc_eh so I switched it to static-lgcc_eh and it worked fine, that is until I got an error for not finding allegro-5.0.5-mt.dll . I looked in … |
|
I tried this once before on my laptop 10.5.8 but I couldn't get that to work despite online help: [url]http://forums.macrumors.com/showthread.php?t=1233494[/url] everything I tried is detailed in that thread I decided I want to try this again, using the same method perhaps on the iMac 10.6.8 I was just wondering if … |
|
Running: Windows 7 Home Premium. I am not sure if I am posting this in the correct board, so please move this if I am incorrect in my post placement. I am trying to set Allegro up, for programming a 2D game in C (which is why I chose this … |
|
Hi! I'm running the latest OpenSuse 11.4. I have knowledge of C++ programming and I think I'm ready to start using graphics. I have downloaded [URL="http://sourceforge.net/projects/alleg/files/allegro/5.0.4/allegro-5.0.4.tar.gz/download"]allegro-5.0.4.tar.gz[/URL], extracted it and tried to include allegro.h file in my C++ code. Here is my testing file for allegro. [CODE]#include <iostream> #include "/Documents/Allegro/include/allegro5/allegro.h" int … |
|
When I was surfing on an internet I have found four c++ multimedia libraries, which can create games and GUI aplications (SDL, ClanLib, SFML, Allegro). I would like to learn one of them, but i don't have any experience with it. Can you recommend me one of them? I have … |
|
first off i have a game in the making, its pretty simple but im just getting the feel of making the game before i get into depth with it. I'm wondering how i can run my game without needing to open up visual c++ 2010 and running it from there... … |
|
Hello all Currently i am developing my first game using Allegro 4.2.3 in C++. but i have got few problems/confusions 1.i want to use different font from that available by default. I have read there wiki and articles but i could not figure out any simple way. Specifically i would … |
|
Hello I am developing my first game in Allegro. Till now i found it easy to use. But now i read that for running a game allegro.dll is required on computer. Tell me if it is correct. Also many people say that SFML is better than Allegro, since the latter … |
|
i have a major error whenever i run my code... im using visual studio c++ 2010 express. here's the code: [CODE]# include <allegro.h> # include <iostream> # include <cmath> #define down 0 #define left 32 #define right 64 #define up 96 int main(){ allegro_init(); install_keyboard(); install_mouse(); set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640, 480, 0, … |
|
Talk about C++ & Allegro here, any problems and ideas are welcome! |
|
Hi, I want to draw some rectangles with the same size and different colors by using an array but don´t know exactly how to do it in the for-loop. Thanks for help! [CODE]class Figure { private: int **figur; int row,col; public: Figure() : row(5), col(20){ } void allocate_place(int r, int … |
|
Hi, I want to draw some rectangles with the same size and different colors by using an array but don´t know exactly how to do it in the for-loop. [CODE]class Figure { private: int **figur; int row,col; public: Figure() : row(5), col(20){ } void allocate_place(int r, int c) { this->figur … |
|
Hi all, So, I'm a real newbie at this, and I don't even know where to start really. I'd appreciate some help. I've downloaded Allegro 4.9 onto my computer (running Windows Vista), and I want to use it with Code::Blocks IDE. I've tried many a google search, but none of … |
|
So, as a project for funzies, I decided to make a basic game where you run around the screen and get into fights when you encounter skeletons. However, I'm nowhere near the fighting parts yet. So far, the main character only appears when he moves (no idle animation), erases rocks … |
|
I'm working on an animated sprite program. It animates an asteroid sprite and bounces the asteroid around the screen. When I compile, I am having trouble with 4 particular lines. I am getting the same three errors for each of the 4 lines. These are the errors (obviously for line … |
The End.