Hey, It's pretty simple to link allegro if you have it installed and are compiling via the command line. Simply:
1)cd to your source location.
2)run gcc -lalleg-4.2.2 sourcefiles.c
Obviously,...
Type: Posts; User: TWIXMIX
Hey, It's pretty simple to link allegro if you have it installed and are compiling via the command line. Simply:
1)cd to your source location.
2)run gcc -lalleg-4.2.2 sourcefiles.c
Obviously,...
I'd probably give a stack of try, read up on it if you don't know how to implement them.
They work on a last in last out basis so just do checks that way. It's actually a pretty simple problem...
Okay, I purchased C++ Programming by Larry Ullman and Beginning Game Programming by Michael Morrison. Hopefully these books are decent, the store didn't have a huge selection.
20 views no replies?
Allegro is a simple choice if you want to begin with that.
THere are some decent tutorials at http://www.loomsoft.net/resources/alltut/alltut_index.htm
I'm looking into buying a few books. Some C/C++ programming books and maybe a few specific to game programming.(2d or 3d)
I was wondering if you guys had any books that you could recommend. These...
I'll help you with some beta testing Bubba. My email address is <<snipped>>
I'll help you out. I've been looking for a programming partner for awhile. We just have to layout what style we're going to program with so we don't get confused.
You can contact me at...
I'm willing to help with the beta test. You can add me to msn at: [email protected]
Yea, I forgot to remove the dAlive before I posted here. I took that out of my code.
Thanks for the advice, I'll look into it.
Hello,
I'm in the process of creating a dog simulation program to see what c++ I remember. I am having a problem, though. When my dog dies, I would like to it go back to the init function. I can do...
There you go.
I had to take some stuff out but it should still work.
they are in the textures folder , which is right off of where the .exe is.
I already tried putting them in the same directory as the executable but I still got nothing.
OKay I have got it all going and I set up a little thing to tell me if the textures are loading correctly.
They're not.
THere is now reason, that I can see, which would cause my textures to not...
oops... I forgot about the whole non-gif thing.
Thanks alot.
I'll test that out again.
Here is the source. It is a basic 2D tile engine.
#include <allegro.h>
#include <string>
#include <fstream>
using namespace std;
void drawMap(BITMAP *b, int sx, int sy);
I'm trying to make a basic 2D tile engine with allegro and I'm getting this error:
SVCRT.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
tileEngine.exe : fatal error...
I really just wanted to do some 2d graphic games.
anyone got any tutorials for any of these?
I'm fairly good ar c++ and I want to move on to something other the the dos window.
I'm trying to figure out which graphics library to use.
Keep in mind that I'm sort of a noob.
Anyone got any...
I don't know how to help you but I have one thing to tell you.
Put your code in the code tags to make it alot easier to read.
Hey, everything works fine for me.
No flickering of the mouse or screen.
Anyway, jverkoey, everything looks good. It's a good start to your idea.
I can't wait until I can program something like...
yea I noticed the playerWin bool.
I forgot I made that :confused:
I know what the problem is now though.
Thx alot guys
I'm having a problem with this line in my code now
playerWin(array, 3, 3);
The error says : "playerWin" cannot be used as a.
thats all it says.
Ive tried ...
playerWin(array, 3, 3);
THere seems to be a problem there
#include <iostream>
#include <time.h>
using namespace std;
void playerTurn(int *playerPickRow, int *playerPickCol);
void compTurn(int *compPickRow, int *compPickCol);
void playGame();
void...