A very simple game made in C++.
runs in the DOS window.For Great Justice!
Controls:
W - move up
A - move left
S - move down
D - move right
I - shoot up
J - shoot left
K - shoot down
L - shoot right
Q - Quit Game
when you are hit, you lose points. when your score is 0 you lose the game.
you get 250 points per successful hit with your projectile.
kill all the enemies to win the game.
exe download: HERE! (http://www.sendspace.com/file/rm05wa)
And here is the code:
GameData.h (http://www.freewebs.com/focusprod/GameData.txt)
GameData.cpp (http://www.freewebs.com/focusprod/GameDataCPP.txt)
main.cpp (http://www.freewebs.com/focusprod/main.txt)
If you know or are learning C++ and want to use my code as a reference, by all means do. However do NOT under ANY circumstances, steal my code for your own use. Especially for school projects.
Also, if you can find any bugs, leaks, or inefficiencies, by all means let me know, I'm still learning too.
Lol the ship thingy doesnt flow well enough xD... Its pretty cool tho
what?
edit: as I said in chat, your keyboard's repeat delay is what affects the character's movement. I am using rather basic keyboard input, so it is affected by how quickly the key-holding is captured by your OS.
HECK YEAH! Namk, you're building quite an admirer out of me. *powers up*
I'm learning too and it'll be a great chance to learn, not to mention, fun. I'll be back with comments :)
thanks, I'm glad you like it :)
I'm hoping to figure out how to do graphics soon, so that I could make a real game in C++