Thanks for the direction. :)
Type: Posts; User: Justin W
Thanks for the direction. :)
He is placing the bitmap in two places.
This has got to be a stupid question, but here's what I'm doing. A parent process gives control to a child process and minimises itself. As the child process runs (which is not limited to programs...
:eek: Oh, hi hun. *cough* Calling ya now. :D
The problem isn't with the switch statement, it is with this:
tilebuffer=load_bitmap("castlefloor.bmp",default_palette);
You do this for each tile and every time is access the hard drive to load...
Might try some Borland sites and user groups for tile engines then. If you do go with Allegro, there are a myriad of those things as well. www.allegro.cc is a good place to start the search - there...
Borland 5.5: http://www.borland.com/bcppbuilder/freecompiler/cppc55steps.html
What are you using as a graphics lib? Often an appropriate tile engine tutorial will be available for specific graphics library.
What version of Borland's compiler do you have? See my sig for a graphcial installer for Allegro with Borland that requires no make or command line at all. ;) Has worked with all versions of...
It sticks to the top of the screen (though you may continue shooting more if you like). Is that what you are trying to get rid of? There are two ways to do this. 1) Send the bullet flying past the...
I horde, especially electronically. I have everything (that hasn't been accidentally wiped out) I've ever done since the 80s, often with multiple copies. Sometimes it is fun to go back with them......
There are as many ways to do this as you can be creative. One way would be to use collision detection with your character and the ground. Possibly by outlining ground objects with a certain special...
OK, I see what's going on.
The biggest problem is this:
void showBuffer ();
{
blit (buffer, screen, 0, 0, 0, 0, 640, 480);
}
Does not declare a function because of the semicolon after...
Well, I will disagree because refreshing the map on a console looks awful. gotoxy() will be good experience because it resembles dirty rectangles in "regular" games.
OK, what exactly do is happening now? Or, rather, what do you want to happen? Does left and right still work the way you want it to? But not up and down? If so, then there must be a difference...
This actually works quite well if the typical machine is vastly overpowering your game. In this case, they all run at equal speeds. However, if there is a chance the game will run on older...
for(int w=0;w<50;w--)
w is always less than 50, thus it is an infinite loop. (Actually, it would eventually overflow the integer and thus become greater than 50, but with screen refresh times,...
Patch XP. As much as possible. If you got an OEM, then you can get a blue screen of death from something as insignificant as adding RAM, so for a new computer I would recommend reinstalling before...
Hence the registry installer. When you install your program, then your installer can remove a previous version..
Yeah I use Gnome for my XP... ;)
...
.... classic though. And get that "Bliss" background away from me! :p
If it is 5.5 from the command line, be sure you have:
-Ic:\bcc55\include -Lc:\bcc55\lib
as switches for the compiler, where bcc55 is wherever you put the compiler. I'd write a batch file to...
Typically speaking, one loop through the "game loop" usually represents a "frame" in the animation of the game.
start_loop:
Update game logic (where is everyone and why).
Write picture to...
Here's some rough code to do the trick. Mind you this has the opposite effect that once it starts moving, it doesn't stop. Not difficult to see how to modify it to stop after a while though, or...
LOL :D
Yay! I have top posts in 6 places right now! I should be fired! Back to work!
Making it require an installer could help for a single drive, as the registry entries would have to be particular to where it's been put. Then make them register the program with the code as...