Monday, September 1, 2008

Game Maker Tutorials 1-4

July 10, 2008-
Topic: Game Maker Tutorial 1

Tutorial Number 1: Make a mini video game using the latest version of Game Maker
1. Load a Sprite: Once you open up Game Maker, go to the top and click where it says Add. Scroll down and click on Sprite. A window will appear, click on Load Sprite. Also give it a name like Sprite1 so it’s easier to keep track of characters. Click Okay on the bottom once you have selected a picture you want to use as a Sprite.

Notes: Sprite is another word for picture or an image. When loading a Sprite into Game Maker, all you are really doing is loading an image into Game Maker.

2. Make Object: At the top of the screen click on Add again and this time click on Add an Object. A new window will appear. Where it says Sprite, click the Sprite you choose earlier, which is Sprite1. Also click the Check Box to mark it as solid. Finally, give it a name in the Name Box. Do not close the Object window and go to step 3.

3. Give it Commands: in the middle of the object window close to the bottom there is an Add Event button, click it and a mini window will pop up. To make your new Object move, click on the keyboard selection(down to your left side) now you have a long selection to choose from. To have your object go right, click on the Right selection of the key board commands. Okay now on your right side of the object window at the very top click on Move usually it’s already selected. Now drag the little red mini directional button right below where it says actions(between the right and move selection). A small window will show up, now click on the right arrow key option, than click okay. Now repeat these steps with the left, up, and down keys. Once completed click okay.

4. Make a room: Click add again and select add room. A new window will appear. On the right side of delete(in the middle) there is a little option key that you can press, press it and select your object. Once you have selected your Object left press mouse on the right side where there are lines up and down right to left. That is where you put your objects. Now it’s time to test your character. At the top of the game maker screen there is a red and green play button on your left side. Left click on the green button test your game.

5. Changing the room size: On the room properties click setting and enter higher numbers in the height and width. Remember each square on the right side of the screen is 16 by 16. Once you have chosen the right size on the top right click on views check mark enable use of views and also check mark visible when room starts. This will allow you to not have such a big screen when you test out your game. Now where it says object to follow near the bottom click and select the character you want to follow through out the room. You see if you do not select a character to follow, your character will disappear at the end of each side.




July 15, 2008-
Topic: Game Maker Tutorial 2

Tutorial number 2: How to make a collision:

okay, this will be a little tricky ill be using objects 1 and 2.

1. First select object 2 and click add event, then click collision.

2. Choose the character that you want it to collide with.

3. Now that you selected the object that you wanted to have a collision one with, which in my case is object 1. Now give it a small command like under move on your right side there is an icon called "object", click it.

5. Drag the little mini trash can to action section.

Now try out your game. Whenever object 1 collides with object 2, object 2 is the one that gets destroyed.



July 14, 2008-
Topic: Game Maker Tutorial 3

Tutorial number 3: Make life for an object:

I will be using objects 1 and 2 again.

1. First select object 1.

2. Add Event collision Object 2.

3. Click on Misc. on your right side.

4. Look for the Life box(its in red), drag it to the Actions.

5. A pop up comes up, now where it says "new lives" there will be a 0, put in -1. This will tell it to take away 1 life.

6.check mark relative

Now to actually give the object life.

7.Add event and click "other, then Game start.

8.Now drag the life box to the actions.

9.give it any number of lifes in my case I would give it 5.




July 18, 2008-
Topic: Game Maker Tutorial 4

Tutorial number 4: Create a score.

1. First open up object 1, than click add event.

2. After the window appears click on "collision", than select object 2.

3. Now on your right side of the object 1 screen click on "misc".

4. There should be a mini box in green that says "score", drag that to the actions.

5. Now a new window appeared. Where it says "0" in the box put in any number you want.

6. Click "relative" and last click okay.

7. Try out your video game.

No comments: