Languages C / C++ Games  

A 2D Shooting Game Editor

download download  
important code information
author:
Brenton Andrew Saunders
minimum requirements:
A 2D Shooting Game Editor description

I originally created this program so that some friends of mine who didn't feel like learning any program languages could create simple 2D shooting games. While it has a very low level of customizability it does allow you to create simple 2D shooting games. The players you create for your games could run, jump and shoot their weapons when the keys you choose are pressed. I am looking forward to any comments you have about this program.


To create a game using this program:

1. Create a new folder in "My Documents" named the title of your game

2. Create two more folders inside that folder named "Player 1" and "Player 2"

3. Using Microsoft (R) Paint or any other graphics software, draw the background for the game and save the file as "background.bmp" inside the folder you created on step #1.

4. a. Using Microsoft (R) Paint or any other graphics software, draw player 1 standing still with his/her weapon in his/her hand facing the right. Make sure the image is 64 x 64 pixels.
Also make sure to leave the empty space surrounding your player white (Red: 255, Green: 255, Blue: 255).
Save the file as "standing still.bmp" and save it in the folder you created name "Player 1"

b. Using Microsoft (R) Paint or any other graphics software, draw player 1 in a mid-running position with his/her weapon in his/her hand facing the right. Make sure the image is 64 x 64 pixels.
Also make sure to leave the empty space surrounding your player white (Red: 255, Green: 255, Blue: 255).
Save the file as "running.bmp" and save it in the folder you created name "Player 1"

c. Using Microsoft (R) Paint or any other graphics software, draw player 1 jumping with his/her weapon in his/her hand facing the right. Make sure the image is 64 x 64 pixels. Also make sure to leave the empty space surrounding your player white (Red: 255, Green: 255, Blue: 255). Save the file as "jumping.bmp" and save it in the folder you created name "Player 1"

d. Using Microsoft (R) Paint or any other graphics software, draw player 1 shooting his/her weapon. Do not draw the bullet. Make sure the image is 64 x 64 pixels. Also make sure to leave the empty space surrounding your player white (Red: 255, Green: 255, Blue: 255). Save the file as "shooting.bmp" and save it in the folder you created name "Player 1"

e. Using Microsoft (R) Paint or any other graphics software, draw player 1 getting hit with a bullet. Do not draw the bullet. Make sure the image is 64 x 64 pixels. Also make sure to leave the empty space surrounding your player white (Red: 255, Green: 255, Blue: 255). Save the file as "taking a hit.bmp" and save it in the folder you created name "Player 1"

f. Using Microsoft (R) Paint or any other graphics software, draw player 1 dead. Make sure the image is 64 x 64 pixels.
Also make sure to leave the empty space surrounding your player white (Red: 255, Green: 255, Blue: 255)
Save the file as "dead.bmp" and save it in the folder you created name "Player 1"

g. Using Microsoft (R) Paint or any other graphics software, draw the screen that will appear if player 1 were to win the game. Save this file as "won.bmp" and save it in the folder you created name "Player 1"

5. Repeat step 4 this time drawing player 2 and save it in the folder named "Player 2"

6. Create a next text file inside the "Player 1" folder and save it as "Player 1.txt". On the first line of that file, type in the key code of the key that must be pressed in order for player 1 to run to the left. All key codes can be retrieved using the "Key Code Retriever" program included in this submission. On the second line of that file, type in the key code of the key that must be pressed in order for player 1 to run to the right. On the third line of the file, type in the key code of the key that must be pressed in order for player 1 to jump. And finally, on the fourth line, type in the key code of the key that must be pressed in order for player 1 to shoot his or her weapon.
In order to get the correct key code for character keys, hold the shift key down in the "Key Code Retriever" program.

6. Create a next text file inside the "Player 2" folder and save it as "Player 2.txt". On the first line of that file, type in the key code of the key that must be pressed in order for player 2 to run to the left. All key codes can be retrieved using the "Key Code Retriever" program included in this submission. On the second line of that file, type in the key code of the key that must be pressed in order for player 2 to run to the right. On the third line of the file, type in the key code of the key that must be pressed in order for player 2 to jump. And finally, on the fourth line, type in the key code of the key that must be pressed in order for player 2 to shoot his or her weapon.
In order to get the correct key code for character keys, hold the shift key down in the "Key Code Retriever" program.

7. Run the 2D Shooting Game Runner program and type in the name of the game you want to run.


File List:
2D Shooting Runner/0b
2D Shooting Runner/2D Shooting Game Runner.dsp4Kb
2D Shooting Runner/2D Shooting Game Runner.dsw1Kb
2D Shooting Runner/ReadMe.txt5Kb
2D Shooting Runner/desc.txt444b
2D Shooting Runner/main.cpp24Kb
2D Shooting Runner/res.rc2Kb
2D Shooting Runner/resource.h1Kb
Key Code Retriever/0b
Key Code Retriever/Key Code Retriever.dsp4Kb
Key Code Retriever/Key Code Retriever.dsw1Kb
Key Code Retriever/main.cpp1Kb
Key Code Retriever/res.rc2Kb
Key Code Retriever/resource.h1Kb

Similar code
The Sky Is Falling (Popularity: ) : The point of the game is to catch the apples as the fall from the sky. Catch 10 to win. ...
Johnny Appleseed (Popularity: ) : A fun little game with GDI graphics. Try to catch the apples as they fall from the sky. See screeshot. ...
SQUARES (Popularity: ) : A traditional puzzle game for kids where you have to arrange squares in order. There are 3 levels in this ...
A cool Tetris game (Popularity: ) : A cool Tetris game were you can make your own bricks .PLEASE Rate...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 6
version
size in Kb 13
popularity   348/5995045
user rating 0/10
ad


New Code
Popular Code