For Great Justice!

Started by tSwitch, December 18, 2008, 10:03:04 pm

Previous topic - Next topic

tSwitch

December 18, 2008, 10:03:04 pm Last Edit: December 18, 2008, 10:20:45 pm by NAMKCOR
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!

And here is the code:
GameData.h
GameData.cpp
main.cpp

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.


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr

Valcos

Lol the ship thingy doesnt flow well enough xD... Its pretty cool tho
"We are all in the gutter, but some of us are looking at the stars."
-Oscar De La Hoya

tSwitch

December 18, 2008, 10:20:58 pm #2 Last Edit: December 18, 2008, 10:32:35 pm by NAMKCOR
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.


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr

Fantasist

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 :)
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)


The best of freeware reviews: Gizmo's Freeware Reviews




tSwitch

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++


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr