Archive for the ‘Game Development’ Category

Game Maker 6.1 Tutorial   Leave a comment

 

 

Click Add on the tool bar. Click on Add Sprite on the drop down menu.

 

 

On the Sprite Properties Window, click on the Name text box and type Fighter Jet. Then click on Load Sprite and search for a picture of a fighter jet. Once you have found a Fighter Jet picture, click on Open to use that picture then click Ok on the Sprite Properties window.

 

Click Add on the toolbar menu and click on Add Object on the drop down menu. When the Object Properties Window appears, click on the Name text box and type in Fighter Jet. Than click on the Scroll Down Box next to the right side of the Name text box and click on Fighter Jet. Now move on to the next step without closing the Object Properties Window.

 

 

 

Click on Add Event and when the Event Selector menu appears click on keyboard and click on the <Left> button.

 

 

On the right side of the Object Properties Menu is a column called Move. Under that column there is a Red Multi Directional Arrows box. Click on it and drag it to the column called Actions which is left to the Move column. Then a window will appear. Click on the Blue Left Arrow Button and type 4 in the Speed text box. Now repeat these steps for the <Right> Keyboard.

 

 

Click Add on the Tool Bar Menu and click Add Background. Click on the Name text box and name it Sky. Now click Load Background. Look for a picture that looks like a sky, whether it’s a blue sky with white clouds or look for a night sky background.

 

Click on Add on the Tool bar Menu and click on Add Sprite. Click on the Name text box and type Bullet. Click on Load Sprite and search for a picture of a bullet. Open it and Click Ok.

 

Click on Add on the Tool Bar menu and click on Add Object. On the new Object window click on the Name text box and type Bullet. Click on the Sprite Scroll Down Button and Click on the Bullet sprite.

 

 

 

Click on Add Event and click on the sub Menu click on Create. Now drag the Red Directional Arrows to the Actions columns. Click the up direction arrow as shown on the picture above and set the speed to 5.

 

 

To the left of the game maker program you will see mini folders pictures. Under Objects double click on Fighter Jet to open up the Fighter Jet object window. Now click on Add Event and click on Key Press to select <Space>.

 

On the Fighter Jet Object Window, where the Move Column is, to the right of that is a list of tabs. Right now it’s on the Move tab. Click on the Main1 tab. Now your Objects column has turned into the Main1 column. Drag the Create an Instance box(Light Bulb Box), which is the first box on your left and drop it to the Actions column. A Create an Instance of an Object box window will appear. On the Object Text Box, click the box on the right to it and click on bullet. Now select the Relative check box and make sure it’s selected.

 

 

Click Add on the Tool Bar menu and click on Add Sprite. Click the Name Text Box and type Bad Buy in it. Click on Load Sprite and look for a bad guy fighter jet. After you have loaded one, click on the Edit Sprite in the Sprite Properties window. Click on Transform and click on Flip Vertical so that the jet is facing downward.

 

Click on Add on the Tool bar Menu. Click on Add Sound. Click on Load Sound and look for an explosion sound file and click Ok.

 

 

Click on Add on the Tool Bar menu and click Add Object. Click on the Name text box and type Bad Buy. Next to the Sprite text box, click the box that’s there and select Bad Guy. Now click on Add Event and click on Create.

 

Click on and Drag the Red Multi Directional Arrows button and drag it to the Actions column. A window will appear. Click on the Down Arrow Button and change the Speed to 4.

 

Click Add Event again and click on Other and then click on Outside room.

 

 

Click and drag the box that has an x with and Arrow pointing to a light bulb called the Jump button to the Actions column. A window will appear, click Ok.

 

 

Click Add Event again and click on Collision and click on Bullet.

 

Click on the Score tab on the right side of the Move column. Drag the Score box, which looks like 3 coins over to the Actions column. A window will appear and click on the New Score Text box and Type 2. Click on the Relative box and make sure it’s selected. Click ok.

 

Now click on the Main1 tab of the Score column. Drag the Trash Can button over to the Actions column and a Destroy the Instance Window will appear. Click on Ok.

 

Click and drag the Play a Sound box button, which looks like a speaker to the Actions column. A window will open up. Where it the Sound text box is, to the right is a box. Click the box and click on Explosion. Click ok.

 

Click on Add on the Tool bar menu and click Add Room. At the bottom of the Room Properties Window, click on the little box on the right side of the Object text box and click on Fighter Jet. Once you select your Fighter Jet, move your mouse cursor to the right side of the window where the 16×16 boxes are and click once on the bottom of it how it’s shown on the above picture.

 

Click on the Backgrounds tab and click on the little box that is right of the background text box and click on Sky. Click on the Ver. Speed text box and type 2. Click Ok.

 

On the left side of the game maker program, double click room1 under the Rooms folder. When the room window is open, click on the box on the right side of the Object text box and click on Bad Guy. Now move your cursor to the box screen and start clicking where you want the bad guys to appear. Make sure most of them are on top of the screen. Click the green play button to play the game!

 

 

Have fun!

Advertisements

Posted November 27, 2008 by mcecnetwork in Game Development