Category Archives: Game

Pepero, The Adorable Pet is Released!

pepero banner

So here it is…

Please, welcome…. (drumroll)

PEPERO, THE ADORABLE PET!

(spreading confetti)

Yes, that’s what we promised to tell you about the bird-shaped shadow last week.  It’s Pepero, the adorable pet, that we were talking ’bout. A simple game about a yellow wide-eyed bird. You can download it on google play and enjoy the joyful music and the fun experience playing with Pepero on your smartphone and tablet!

By installing this apps, you can get both adorable pet and a lovely friend at once. You can see how Pepero dance joyfully, feed it with foods  falling out of the sky (but beware of the rocks! they will hurt pretty bad), and play tic tac toe together with Octope. You can also give time for Pepero to take rest by letting it sleep.

This is our first game released on google play and we reallly happy and proud about it. Well, this first apps may not fulfill your expectations, but we really did try to create and develop a game that brings joy and happiness for everyone. We really wish this game will spread a little sunshine on your day. So, what are you waiting for? just download it at Google Playstore for free and let us know what you’re saying. Feel free to tell us  what’s your thought about this game.

Have a nice day, fellas!

xoxo, Gulali’s Army

Tagged , , , , , , , , , , , , , , , , , , , , , ,

Get Ready For Gulali Production First Game

coming soon - gulali production game

Is that a bird?

a chick?

or an alien?

is that even a creature?

Well well well, you’d better save your question before that picture of ‘something’ haunts your dream, fellas! And get ready to try our latest stuff. Because THIS cool stuff would be our first game released on Play Store! Yaaiy!

So grab a pen and mark on your calendar!

June 2013, on Gulali’s blog and Google Play Store!

Don’t miss it, or you’ll regret it!

Tagged , , , , , ,

Learning Class Programming on Flash – Setter and Getter

In this section we will discuss about how to set value into a class and get the value from it. After we learned about Accessibility of Class, we know that we can’t directly access attributes and methods from some class if it set as private. To solved this problem we need public method for set value and get value from the class, and its called setter and getter. For a sample here is two variable that we want to set and get the value.

Setter Method :

This is public function for send one or more values into class and update the private atributes. Sample of this code such as object.setMoveSpeed(value), object.setBackgroundImage(value, value), and object.setOnClickListener(value). This image below is a sample code for setter method.

And if you also want to send parameter, you can use ‘changeColor(param:String)’ and then use ‘color = param;’ to set the color value.

Getter Method :

This is public function for get private variables value from some class. Sample for this code like object.getPosition(), object.getChildNum(), and object.getIndex(value). This image below is a sample code for getter method.

You can send parameter with this method too and depend on what the parameter is use for.

Next Step – Event Listener

Tagged , , , , , , , , , , , ,

Learning Class Programming on Flash – Accessibility of Class

Class have 3 ways to access it properties, private, protected, and public. When you read sample class code in this blog or sample code from other tutorials, you will notice this access type there.

Private

With this access rule, all private attributes and all methods can only be accessible from the class it self.

Protected

This is a default type of accessibility in actionscript when you don’t define its type. With this type all attributes and all methods can only be accessible from its class and its inheritance class.

Public

While you set as public, it is accessible from anywhere.

Now set all attributes and method using this accessibility type and update the class. For this step, I put images of my class for a sample.

For attribute, you can set as public or private. In this image I didn’t put public since it’s a default type.

For private method, you can do the same thing like attribute.

When you want to set a method as public you can either define it as public or just leave it without a type. And then this is for the complete code.

Next Step – Setter and Getter

Tagged , , , , , , , , , , , ,

Learning Class Programming on Flash – Structure of Class

In section 2, will contain about class structure. As we learn about class in previous part, every class have attribute and method and a constructor with the same name with it class name. This is example code for class Car.

Sample class

Every class have structure or a several code that contain two parts, attribute and method. As you see in this code there are two variables as attribute and two functions as method. The part that you need to concern is first function, it has the same name as it class and its called constructor. The constructor will be run when ever it class is defined. Let’s try create new class in flash. In this article i will use actionscript 3.0 for tutorial.

The package is about where you place the class and its using relative path from your main fla file. I just write ‘package’ since i put this class with the same path with my fla.

You need import another class when you want to use other class feature.

extends in this line is like inheritance (we will talk about this later) so your class have attribute and function from class that you extend. In my class, its extends from movieclip so my class will have movieclip method such as for set height, width, and other methods.

Some variable as attribute in this class. You can add another attributes for your class if you need it.

Constructor with eventListener that will run when you create new object from your class. And function moving while the object enter the frame.

And two methods for moving your car later and set the car’s color.  And this is image for the whole code.

Next Step – Accessibility of class

xoxo

The Gulali’s Army

Tagged , , , , , , , , , , ,

Learning Class Programming On Flash

In this section i just want to share something about actionscript 3 from flash. I hope this article can help someone there to solve their problems or just curious about object oriented programming with flash. But sometimes maybe i make some mistake, so its free for you to correct me. On the first post it will contain about what class is and how it help you create flash game easier.

Class is concept that represent everything in this world into object. For example we have class to represent a car. Every class have attribute and method or the object specifiation.  This class have attribute (something that class have) such as color, wheel numbers, and engine power. This class also have method (something that this class can do) such as move, break, and shifting gear.

When you defined the class it will called object, in this case from class car we can create object name ferarri, porsche, or audy. For example, check this image.

Sample class - Car

Define new car

At the second picture you will notice that you can create more object with one class. With this method you can create a lot of objects without write code as much as you create that objects. So you can make game easier and faster than using basic code.

Next Step – structure of class

xoxo

The Gulali’s Army

Tagged , , , , , , , , , ,