Author Topic: For Great Justice!  (Read 2139 times)

Offline tSwitch

  • The Haunting
  • Chaos User
  • ******
  • Posts: 1448
  • LV: 1046
  • Gender: Female
  • formerly NAMKCOR
    • View Profile
For Great Justice!
« on: December 19, 2008, 05:03:04 AM »
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.
« Last Edit: December 19, 2008, 05:20:45 AM by NAMKCOR »

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

Offline Valcos

  • Chaos User
  • ******
  • Posts: 1318
  • LV: 47
  • Gender: Female
  • Posts: 1337
    • View Profile
Re: For Great Justice!
« Reply #1 on: December 19, 2008, 05:17:28 AM »
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

Offline tSwitch

  • The Haunting
  • Chaos User
  • ******
  • Posts: 1448
  • LV: 1046
  • Gender: Female
  • formerly NAMKCOR
    • View Profile
Re: For Great Justice!
« Reply #2 on: December 19, 2008, 05:20:58 AM »
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.
« Last Edit: December 19, 2008, 05:32:35 AM by NAMKCOR »

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

Offline Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2222
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: For Great Justice!
« Reply #3 on: December 19, 2008, 02:08:26 PM »
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



Offline tSwitch

  • The Haunting
  • Chaos User
  • ******
  • Posts: 1448
  • LV: 1046
  • Gender: Female
  • formerly NAMKCOR
    • View Profile
Re: For Great Justice!
« Reply #4 on: December 19, 2008, 03:38:27 PM »
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