You are viewing our Forum Archives. To view or take place in current topics click here.

Did this tut help?

Yes
7.69% (1 vote)
No
30.77% (4 votes)
Sticky
61.54% (8 votes)

Total Votes: 13

How to create real computer games.! }TuT{
Posted:

How to create real computer games.! }TuT{Posted:

DeadSoldier
  • TTG Senior
Status: Offline
Joined: Feb 21, 201113Year Member
Posts: 1,751
Reputation Power: 0
Status: Offline
Joined: Feb 21, 201113Year Member
Posts: 1,751
Reputation Power: 0
How To Make Your Own Computer Game Tutorial


Hey this project will show you how to make games!!! real games for computers and it dosent require you to know any confusing codes. when you complete this project you will know some of the basics of game creating and you can make as many as you want.

[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
Here's where the credit for this post ends: [ Register or Signin to view external links. ]


Step 1: this is the main interface of the game software
OK this is only the first bit but the full project will be on a power point for you to download this week so please dont be leaving comments saying this instructable is rubbish or saying there is no information on it. it takes a few hours to make the game and even longer for me to explain it. i will try to finish it as soon as possible.

THE NEXT STEP WILL SHOW YOU HOW TO MAKE A VERY SIMPLE GAME.''
[ Register or Signin to view external links. ]


Step 2: a very simple game
First we have to add sprites( these are images that will appear in the game) to add a sprite
1.right click on the sprite folder and click add.
2.a box will appear and you need to click on load.
3.chose an image for the game bored. (a gray block looks best for this game)

do the same again only instead of adding a gray block add a picture of a ball or another picture that you want. the ones you get free with game maker are best. i used a small football in one of the sprite folders.
1. right click on sprites again and click add.
2.load another image of a ball
3.now there should be 2 images in the sprites folder.
[ Register or Signin to view external links. ]


Step 3: adding a background
Now we are going to chose a background for our game level. this game is only going to have one level so using a simple background is best. to add a background it is the same as a sprite.
1.right click on the background folder and click add
2.load a background and press ok
[ Register or Signin to view external links. ]

Step 4: Adding an object
Now it is the harder bit of game making..... we have to give each sprite a command to follow, only if you use game maker 6.1 you dont need to know any sort of codes. on game maker there is simple buttons that you can use instead of commands. first right click on objects and click add, then a box will appear, where it says "" click the tiny blue button beside it and a drop down menu will appear with all the sprites you loaded in them. chose the one that you want to be the level ball(or the object you chose instead). then click "add event" then another box with multiple options will appear. click "create" there will be a little bulb beside it. when you click this there will be other options on the right side of the objects box. look for one that is alot of red arrows pointing in different directions. it is the first button on the move tab on the right side.
when another box opens with arrows that you can click on, click on them all and put the speed to 3 and click relative at the bottom and click ok.DONT CLICK ON THE MIDDLE STOP BUTTON it should look like my image below.
[ Register or Signin to view external links. ]


Step 5: adding the next object ( the wall)
again right click on the objects and click add , this time when you are choosing a sprite choose the wall (the gray block). below where the sprite name is click on solid, so now it should be solid and visible now click ok and move onto the next step.
[ Register or Signin to view external links. ]


Step 6: making different objects interact (make the ball bounce off the wall)
now double click on the ball object to open its properties again. click add event and select "collision" and pick the wall sprite then on the side menu chose the movement again click all the arrows apart from the stop middle button, change the speed to 0 and tick the relative box then click ok
[ Register or Signin to view external links. ]


Step 7: collision with mouse
Now click on add event on the same object, click on mouse, a drop down menu will appear, click "left button". in the side menu click on the movement command we have been using, click all the boxes again apart from the stop button, in speen type +2 and tick the relative box and click ok, it should look like my screen shot. this means when you click on the ball it will gain more speed.

If you want to add a score board follow these instructions:
1.add a new event
2.click "other" in the event menu
3.click "game start" in the "other" event menu
4.in the tabs at the side of the object box that says move, main1 ,main2 etc.. click score
5.look at the second pictures on this instructable and find both the commands, one that is a small white box saying "slh" and drag that into the menu
6.add the first command in that tab and set the score to 0 and tick the relative box, it is a small gray box with 3 yellow circles in it.
[ Register or Signin to view external links. ]


Step 8: score board and point system
now we need to command the points.
1. goto the mouse command you made earlier in the ball object(left button)
2.click on the score tab and the first command button again, it is the square with the yellow circles in it.
3. type in the box that appears +10 and then tick relative and click ok.

now when you click on the ball it will get faster and also add 10 to the score.

You may notice when you play the game that when the ball gets too fast it can some times fly out of the room. to prevent this add a new event and click "key pressed" then click on "" and when you do this click on the move tab then find a button called "jump to start" look at my second screen shot. this means if the ball goes out of the level press space bar and it will return to the middle of the level.
[ Register or Signin to view external links. ]


Step 9: ROOMS(the level)
Ok now the very easy bit, making the level, first right click on the rooms folder, click add room, the level editing box will appear,
click the background tab
look down the screen for a box saying "foreground image"
do not change that, look below it and click and it should show your background you choose
then go back to the first tab on the rooms folder (the tab is called objects)
then select the wall, cover the whole border of the level with it like mine in the screen shot
place the ball in the middle of the map
press ok
save the file
press F5 to start the game

IF YOU HAVE ANY QUESTIONS AT ALL LEAVE ME COMMENTS OR MESSAGES,'' I WILL BE HAPPY TO HELP,
P.S SORRY IF THE GUIDE IS HARD TO UNDERSTAND BUT IT IS CONFUSING TO EXPLAIN
[ Register or Signin to view external links. ]


Step 10: APRIL FOOLS PART contest (THIS BIT IS ONLY OPTIONAL TO SCARE PEOPLE THAT ARE PLAYING THE GAME)
If you want to scare(funny more than scary) people with this game you could add in a scary voice and image to appear when the score is equal to 30 by right clicking on the ball object and adding a new event called step and in it copy what i have in my print screen.
Next get a scream sound and add it to the sounds folder and get another scary image sprite.
make a new object and chose the scary image sprite and add and event called create and in that use the "play sound" command and chose the scary sound.

RESULTS
this means when the game score is 30 a scary image will appear and scream. it is more funny than scary.



PLEASE RATE THIS
[ Register or Signin to view external links. ]

It took a long while to do this so please comment, thank and lemme know how you liked the TuT

~Khronic


Last edited by DeadSoldier ; edited 6 times in total

The following 5 users thanked DeadSoldier for this useful post:

PBJ (07-04-2011), nblz (07-03-2011), Bossy-Lobbys (07-03-2011), GarrettHD (07-03-2011), SCOOTER_FINATO (07-03-2011)
#2. Posted:
aVoStorm
  • Powerhouse
Status: Offline
Joined: Sep 24, 201014Year Member
Posts: 499
Reputation Power: 22
Status: Offline
Joined: Sep 24, 201014Year Member
Posts: 499
Reputation Power: 22
Thanks man now I can make the game I've been wanting to make!!!!
#3. Posted:
DeadSoldier
  • TTG Senior
Status: Offline
Joined: Feb 21, 201113Year Member
Posts: 1,751
Reputation Power: 0
Status: Offline
Joined: Feb 21, 201113Year Member
Posts: 1,751
Reputation Power: 0
angryfaic78 wrote Thanks man now I can make the game I've been wanting to make!!!!
Everybody don't forget to thank comment and well idk just enjoy lol
#4. Posted:
SCOOTER_FINATO
  • TTG Senior
Status: Offline
Joined: Sep 02, 201014Year Member
Posts: 1,431
Reputation Power: 61
Status: Offline
Joined: Sep 02, 201014Year Member
Posts: 1,431
Reputation Power: 61
Looks like you put real time into this! You deserve a thanks;)
#5. Posted:
DeadSoldier
  • TTG Senior
Status: Offline
Joined: Feb 21, 201113Year Member
Posts: 1,751
Reputation Power: 0
Status: Offline
Joined: Feb 21, 201113Year Member
Posts: 1,751
Reputation Power: 0
SCOOTER_FINATO wrote Looks like you put real time into this! You deserve a thanks;)
Yeah man took about 45 mins +
#6. Posted:
WZRD
  • TTG Senior
Status: Offline
Joined: May 16, 201113Year Member
Posts: 1,260
Reputation Power: 58
Status: Offline
Joined: May 16, 201113Year Member
Posts: 1,260
Reputation Power: 58
Nice tutorial, Very detailed, Must of taken you a while to type it up
#7. Posted:
DeadSoldier
  • TTG Senior
Status: Offline
Joined: Feb 21, 201113Year Member
Posts: 1,751
Reputation Power: 0
Status: Offline
Joined: Feb 21, 201113Year Member
Posts: 1,751
Reputation Power: 0
Plays wrote Nice tutorial, Very detailed, Must of taken you a while to type it up
Just about an hour tops now only if people will read the post and get to stepping on they new game
#8. Posted:
XBL-AB
  • TTG Fanatic
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 4,557
Reputation Power: 207
Status: Offline
Joined: Feb 13, 201014Year Member
Posts: 4,557
Reputation Power: 207
link broken....
it gives me a .TMP file

heres a link to everyone who cant download the other:
[ Register or Signin to view external links. ]
#9. Posted:
DeadSoldier
  • TTG Senior
Status: Offline
Joined: Feb 21, 201113Year Member
Posts: 1,751
Reputation Power: 0
Status: Offline
Joined: Feb 21, 201113Year Member
Posts: 1,751
Reputation Power: 0
Hollywood_Undead wrote link broken....
it gives me a .TMP file

heres a link to everyone who cant download the other:
[ Register or Signin to view external links. ]
Thank you man lol sorry bout that just tired out today but still successful post came out looking okay
#10. Posted:
nblz
  • TTG Contender
Status: Offline
Joined: Jul 06, 201014Year Member
Posts: 3,862
Reputation Power: 148
Status: Offline
Joined: Jul 06, 201014Year Member
Posts: 3,862
Reputation Power: 148
looks to hard but really nice post
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.