Showing posts with label IOS programming. Show all posts
Showing posts with label IOS programming. Show all posts

Monday, May 30, 2016

Hammer Head Premium

The fight now start from your garden.

Make the bunny away from your garden by touch on them when they go up.
Face to the boss to protect your garden.

Time Mode: A huge wave of mode is coming. Fight and take away as much as you can before the time is
Quick Touch: Touch at much at you can and get higher score

Note: You will lose your hearth if you touch miss.

Link: Download


More Game and More Fun


Fighting with Cute Animal to Protect your Garden


Faced with the bigger Boss


Race with time to kill more animal


Monday, April 11, 2016

Fighting Number 24 - New Way to improve your mind

Why number is 24?

24 is present for 24 hours a day. With this game, you will good to calculate your time in your day.

Do you know 3 days have 72 hours or you can divide a day to 3 same part with 8 hours a part? You will calculate this math when playing my game.

72 / 3 = 24
3 * 8 = 24

and many more …

Because 24 = 4!. It can divide many number from 1, 2, 3, 4, 6, 8 (6 from 1-9, so many from other) and can make many combination to think.
Just play with this number and you will see how far your mind is improving when play with it.

+ Why you need to play?
With more than 400 combinations, you will get all of case with your time
Each game is so short and help you relax for a little time, you can come and do later.



Time Mode will test your mind

+ Link: Download 




The goal is creating number 24


This is our goal


More than 400 combine of number for you to challenge your mind

Wednesday, March 30, 2016

Input Text with Sprite Kit

Not all the time, player touch on something on the screen. We need to input name or some text to talk. 


This is how you can input the text with the default keyboard in IOS.

In Header File:


Catch Touch Event: 

 Start to Edit Text
 Change Text with Input






Link: Download

Tuesday, March 3, 2015

Create level with pList

With the small game, you need some database to easy create a level map. CoreData is so hard for your little game. So pList is suitable for you to create a small data for your game.

This is easy to change and give more level to your games. It contains all the base information for your game and you can change it very easy.
This is good for Sprite Kit, too. All this come from Apple so they will perfect with other.

So first we should know how to create a Plist File:

+ Just create a new File in your Xcode project and you will see it from


* This time you only need to create your pList to start store your data. This will be constructor like this:
- You have 2 types of collection data to store an data with have many properties: Dictionary and Array
+ Dictionary to store the different type of property
+ Array to store to similar property for your object

- The other types is used to store  the data for you to use this:
+ Boolean
+ Data
+ Date
+ Number
+ String

- This will very easy to get your data from pList:

    NSString* lkPath = [[NSBundle mainBundle] bundlePath];
    NSString* lkFinalPath = [lkPath stringByAppendingPathComponent:@"LKGameData.plist"];
    NSDictionary *lkPlistData = [NSDictionary dictionaryWithContentsOfFile:lkFinalPath];

=> This code will get all the data from pList for ready to create your level.
- You can check all the property in this pList by using:

    NSLog(@"The property list contains: %@", lkPlistData);

=> This code will show all your property list in this pList and you can check them for right input 

Wednesday, January 29, 2014

Sprite Kit: Introduction to new century

Sprite Kit is the new engine from Apple

It is the way that you can choose to go. Apple have a lot of plan to the future that you can join in.

With Sprite Kit, you can:
- Develop game for iPhone, iPad
- Develop game for Mac OS
+ With all new function of iOS and Mac OS

In future, you can:
- Develop game for Apple TV
- Develop game for Big iPad (12.9 inches)
- Develop game for iWatch (Apple Watch)

=> This engine is belong and main tool of Apple, so you will make your game before any tools.

Just choose right engine for your process and you never regret.

Saturday, January 18, 2014

How can I start programming game on Mobile?

What do you do when starting programming game?


First of all, I saw all people (not only programmer) think making a game is very easy. They only see what happen in a top game and see certain feature, they think it is easy because many feature are in a lot of game.

And here is my advices, this is not easy. All of feature you must do or find them on Internet. You won't know anything about game, you will be very hard to find stuff to do this. So try a small game and you will see how much you must do to finish a game.

There are many things you must do to create a game (not good game) that is accepted by Apple (not the users). You must do step by step to collect experience and stuff to do game. It is simple if you like playing game, but harder if you only want to create game for commercial. Try to get some developer that like game and they do it because of their hoppy.


There are 5 level of games:

+ Tutorial game: Game that only created by some programer to test or teach you do something. It is lack of feature. Normally, it only have game play scene and no more (sometime only 1 scene). It is used only for learning not for publish. Apple won't accept these game in AppStore.

+ Simple game: Game that be accepted by Apple. It is a game because this have all feature to call a game:
- A gameplay
- Menu
- Conclusion
=> However, these game is not keep user long. They will become boring very fast and never come back to your game. It only use for learning and testing your game. But this is what you need to do when you begin programming. Try to publish some simple game and you will gain a lot of experience  and stuff to do your next game.

+ Good game: Game is accepted by some of user. Now you game is better, they have some good feature and attractive your user,
This will have some of these feature:
- A good gameplay
- Keep user longer (1 - 3hours advance, this is good to keep user 3 hours)

+ True game: This game is attractive by a lot of user (milestone is 10.000 users). Your game is very good now.
This will have:
- Good gameplay
- Multiple mission
- Addiction
- Suitable with some user (they will play it a lot - 100 hours)

+ Top game: Your game have a unique feature (Facebook connection, Server - Client, ... ). You have huge fans and some of them are crazy because of your game.

* After you done a simple game (level 2) you will get a lot of experience and stuff to do next game. Please don't try to go over this level. You cannot finish a Good game immediate when you just start. Moreover, you will done 30 % your good game after you finish your simple game because most of them can be reuse very easy.