Sunday, 11 November 2012

How to Make Games with Game Maker: Strip Processing Images and Creating Script (4)



Having previously listened article How to Make Games with Game Maker on the Event processing, it will continue tutorial how to create your own game for all Android devices favorite. Let's follow and refer to the tutorial below carefully and step by step!
Rework Strip Images

The next steps for how to create your own game using gamemaker is tapap image processing strips on gamemaker. Strips itself is a set of sprites that contains movements or actions where the sprites are related to one another. Stripes are generally used to create object animations, such as the animated character motion and action. To process the strips, you have to do is right-click menu "Sprites", then select "Create Sprite". After that, click on "Edit Sprite" menu select "File" and go to "Create From Strips". If you have entered the "Create From Strips", then simply pick the picture strips where you want, then you will be taken to a page of image processing strips. On page image processing strips, there are several menu parameters you need to understand. Below is an explanation of each of the parameters menu.

Number Per Row

This parameter has the function of determining the number of pictures you want to take it vertically. Image Height determines the height image will you take from the strips, while Image Width to determine the width of the image that will grab you from the strips.

Number of Images

In this parameter, used to specify the number of images to be retrieved from stripts it. Typically, this parameter is used to image that has a uniform length and width.

Horizontal & Vertical Separator Separator

Both of these parameters are used to create a blank area / space between the images to be taken. Generally, the parameter is used when images on the strips have a blank area or distance.

Horizontal & Vertical Cell Cell Offset Offset

Used to pass images of strips of Image Height and Image Width. However, this parameter is rarely used.
If you've got the right images from the strips, then please select "OK". So the images you selected will be converted into a sprite. If you enter more than one sprites, it will form the image animation of sprites as you want.
Creating Script

In Phase I create own games for Androi, Script is the most important component in a game. Without a script, any game would not be viable. At this stage, you need to master the script to be able to compose scripts that will be used in the game that you designed. For how to create a script in gamemaker, some things you have to do is select the object you want to use, then right-click the object and select "Properties". Once you get to the Properties page, please select the event you need. For a description of each event, please see the tutorial earlier in the manufacturing phase event. Next, select "Control" and right click "Execute Code". It will appear white window box that says "Execute Code" at the top. In the window box, attached some menus where you need to understand the function of each menu. Below is an explanation of the menu - a menu that is in the window box.

Applies To Other

It has a function to give a command, the script that you create should run the other attractions, such as bumping or touching objects.

Applies To Self

In this menu, it has the function to instruct the script that you create should be administered by the relevant attractions.

Applies To Object

It has a function to instruct attractions, that you make the script to be executed by other attractions that you have previously defined.

Check The Script for The Syntax Error

It is very important to use the menu, where the menu serves to detect and locate faults in the code of a script that you created, giving rise to errors in the script.

Go To Particular Line

Used to go or switch to a line that you set. In general, this menu is used when the developers know the error messages in the debug mode.

For this tutorial might get here first. Please you practice appropriate steps tutorial above. As for the continuation tutorial how to create your own game, will be continued in the next article.

No comments:

Post a Comment