I want to load a bmp(enemy) on top of a background bmp. Then the user has to shoot the enemy before the enemy shoots them. I can't figure out how to make this work correctly. I couldnt include the...
Type: Posts; User: Jontay
I want to load a bmp(enemy) on top of a background bmp. Then the user has to shoot the enemy before the enemy shoots them. I can't figure out how to make this work correctly. I couldnt include the...
I'm using visual c++ 6 so I can't run the program to my knowledge without an executable because I don't know what lib file to include.
But instead of
if (GetKeyState(VK_RIGHT) < 0)
try...
Thank you for your help.
Win32. Using GDI.
I am making a simple 2D FPS that displays a background structure that enemies will use for cover and randomly an enemy will lean around a corner (a bmp displayed of them leaning) and you have to...
I tried that, but it only talks about line numbers in the .obj file not in the compiler.
I dont see it there but thanks for trying to help.
I think I'm jsut going to do the item system with a bunch of if thens and then if I come across anything better I'll change it.
I have one final question about my compiler.
Is it possible to make...
I have another question. How do I delete everything in a file so I can write to it again?
So it should look like this?
#include <iostream>
#include <fstream>
using namespace std;
int main()
I am attempting to make a console rpg to get some practice before I move any farther in the book I have. I want to know how I can store variables in files and also how I could use an array to store...
Stan, Army Operations is a shortcut to the game America's Army produced by the U.S.
It is an online tactical fps. It free and has good graphics.
www.americasarmy.com
Thanks for all the input. I really appreciate it. I learned a lot of things from all this. It may seem weird, but I like to work out the errors in the code sometimes. I thought that this program was...
I took it straight from this in the FAQ. I assume it was a typo.
I got it working now. Thanks for the help. Now I'll just make the code easier to understand from here on out. I really appreciate it.
Thanks for all that. I'll correct everything you pointed out and see if it runs. About calling main() again, I didn't know if was considered bad coding practice or not, but I thought it would be...
I just started programming in c++. I wanted to make a BlackJack game this morning. I used the random number generator shown in the faq, yet I still get some errors that I dont know how to fix. I am...