Gamesalad T002 actor

I came back with the second Tutorial on Gamesalad. Today we speak now the essential ingredient of our program, namely the Actor, say once that if we want to do something to our game we have to turn it into Actor. We start right away, there are two ways to create our Actor, may look the same but have small differences, we start with the simplest solution and with immediate effect.

Let’s get into our scene, where we bring into play our actor. To the left of our screen, we have three keys “Actor, Attributes, Devices”, click on andaimo Actor, immediately below we have a little key + and -, we click the + button and immediately get our white square, this is our actor , we say that we saw in this first tutorial, but we repeat to complete the explanation.

next to our actor in the left hand side we have a button “Edit Prototype,” here is if you click here, we will screen customization of our Actor “prototype”, and the changes will be made there will be for all the Actor “House” that will be placed in the scene, of course, everything can always be changed individually.
Under our Actor, in the same screen, find the area of Attributes “Attrubutes”. In this list we have many settings that you can do, even if we consider the fact that already many settings are already set by default.
We are going to analyze some of these:
Name: The name of the Actor
Position: x and y are the references of our actor, placed in the scene. The starting point of the scene is at the bottom left, if we take our position the actor and his center, the center of the square, we will go into the lower edge to detect the position x = 0 and y = 0. While in its extreme, ie at the top right we are going to detect x and y = 480 = 320. This is because we have the mode “iphone landscape”.
Size: They are the size of our Actor, at this moment we do not care that much, but then when we’re going to put an image in our actor, from here we set the aspect ratio.
Color: From here we set RGB with Alpha, for the uninitiated, Alpha corrispnde transparency and opacity of our Actor, or the parameter goes to 1. When we have our image inserted nell’Actor, Alpha will set the parameter to 0 to obtain the transparency of our square. But as for the color, we can also make changes by sticking little white square, so we can mix colors without bleeding too much.
For the moment we do tests to become familiar with these parameters, in the next tutorial we’ll cover the other for the moment, we must leave out.
Until next time ……

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: