Home Installing Game Maker     Examples & Requests Tutorials Libraries & DLLs
    My Blogs             Download Game Maker                                                                                                            
         

Thursday, September 23, 2010

LoRDMeO's Game Maker Lessons - 1 - Your first game.

ATTENTION:

After you have finished downloading, please run an anti-virus scan for files. I do not take any responsibility about anything.


We are about going to make our first game. I am going to make it easier with screenshot so you can get it without any problems.

You can download this lesson and example source code of game that i have made in pictures. Download links are below.


Free Image Hosting at www.ImageShack.us
<<< File > New.
Free Image Hosting at www.ImageShack.us

Every game has graphics. In Game Maker We usually use Sprites to make them. So Resources > Create Sprite will let us to do.
Free Image Hosting at www.ImageShack.us

Edit Sprite.
Free Image Hosting at www.ImageShack.us

File > New.
Free Image Hosting at www.ImageShack.us

You can resize image frames in this dialog. We do not need to change in this example.
Free Image Hosting at www.ImageShack.us

Double click to change the image frame
Free Image Hosting at www.ImageShack.us

This panel lets you to edit the frame. We are usually going to create animated graphics frame by frame with this editor.
Free Image Hosting at www.ImageShack.us

File > Open. We are going to open an existing image.
Free Image Hosting at www.ImageShack.us

Select and open it.
Free Image Hosting at www.ImageShack.us

File > Close Saving Changes.
Free Image Hosting at www.ImageShack.us

File > Close Saving Changes.
Free Image Hosting at www.ImageShack.us

OK
Free Image Hosting at www.ImageShack.us

Create a new sprite and Click Load Sprite Button. This is faster way to load image and animations. I have shown you to long way because i had wanted to show you the how to edit image and image panel.
Free Image Hosting at www.ImageShack.us

Select Open etc.
Free Image Hosting at www.ImageShack.us

OK.
Free Image Hosting at www.ImageShack.us

Resources > Create object.
Free Image Hosting at www.ImageShack.us

Etc.
Free Image Hosting at www.ImageShack.us

Select sprite0 from list shown in screenshot.
Free Image Hosting at www.ImageShack.us

OK.
Free Image Hosting at www.ImageShack.us

Create an another object and set its sprite to sprite1. Then Click Add Event button.
Free Image Hosting at www.ImageShack.us

A Dialog Box Appears with menu that has many alternatives. Click Mouse Button and Select "Left Released" item.
Free Image Hosting at www.ImageShack.us

Select Score tab from the right corner of window then Drag & Drop item that has shown in screenshot to blank place under Actions label.
Free Image Hosting at www.ImageShack.us

A Dialog box appears and wants you to do some options. Set new score to 1 and do not forget to check relative.

-What have we done?

We have wanted to do, when someone clicks our object we want score to increase by 1.

Free Image Hosting at www.ImageShack.us

Select main1 tab and drag & drop item that shown in screenshot
Free Image Hosting at www.ImageShack.us

When you are done, your settings should be like this.
Free Image Hosting at www.ImageShack.us

Every game has levels / rooms. We are about going to create them. Resources > Create room.
Free Image Hosting at www.ImageShack.us

Select object0 from list.
Free Image Hosting at www.ImageShack.us

Select Object0 and do commands that has shown in screenshot
Free Image Hosting at www.ImageShack.us

When you are done, your room should be like this.
Free Image Hosting at www.ImageShack.us

Add a few object1 to your room.
Free Image Hosting at www.ImageShack.us

Ok
Free Image Hosting at www.ImageShack.us

Create a new object and add a create event then go to score tab drag & drop item that shown in screenshot to blank place.
Free Image Hosting at www.ImageShack.us

Edit settings on your own.
Free Image Hosting at www.ImageShack.us

OK
Free Image Hosting at www.ImageShack.us

Double click room0, select object2, click the place which has shown in screenshot then press OK.
Free Image Hosting at www.ImageShack.us

Yes.
Free Image Hosting at www.ImageShack.us

Lets run our game and see what it will look like.
Free Image Hosting at www.ImageShack.us

Loading..
Free Image Hosting at www.ImageShack.us

Yes. YOU MADE IT!. Click the hamburgers like crazy. And get score! Hahaha XD
Free Image Hosting at www.ImageShack.us
Lets save our game because maybe the electricity will have cut.
Free Image Hosting at www.ImageShack.us

Set file name to My First Game for the Glory and honor!! Congratulations!!

You can download this lesson and example source code of game that i have made in pictures. Download links are below.

LoRDMeO's Game Maker Lessons - 1 - Your First Game
We are about going to make our first game.
I am going to make it easier with screenshot
so you can get it without any problems.


Please, feel free to contact me. You can request questions, lessons, help etc.

No comments:

Post a Comment