Wednesday, May 20, 2015

My newest App: Lazy Cure

So today I launch my latest app "lazy cure"

Lazy Cure is an app designed to kick start you to work

Feature:
1. Easy one button screen with personal coach that ask you to follow his step by step order
2. Personal Coach that yell at you ask you to get off the bed, write down what you want to do now, and force you to work for 1 minutes
3. If you can start your work just for 1 minutes, you can continue your momentum to finish your work
4. The app will keep track how many seconds you have worked and save the high score to Game centre
5. The more you play this app, the more work you can start doing and finished it quickly




Sunday, May 10, 2015

My Newest App: Where is my stuff now

So my dad want to build an app that help people remember where is their stuff, example, you can take a photo of your hat, and then another photo of your bedroom closet, then you can store them inside the app reminding the future you where is the location of the hat

So he spend couple of month learning how to code, and code it from beginning to the end without my help, the only thing I help is to publish it for him

check it out at
https://itunes.apple.com/us/app/where-is-my-stuff-now/id990926443?ls=1&mt=8

Friday, May 8, 2015

Unity Step by Step How to setup Game Center for IOS

Hello,

So I just learned how to setup Game Center for IOS in Unity I will show you how

Step1: Open https://itunesconnect.apple.com

Step2: Create new app

Step3: Under the "Game Center" tab, add a new leaderboard, give a leaderboard ID and leaderboard name, example leaderboard ID "mygame"

Step4: Open Unity

Step5: Create a new C# script "game.cs" and attach to the camera

Step6: put the following code into your script


//////////inside game.cs/////////////////////////////////

using UnityEngine.SocialPlatforms;    
public class game : MonoBehaviour 
{

    int score;

    void Start () 
    {

         score=3;
         Social.localUser.Authenticate (ProcessAuthentication);

    }

    void ProcessAuthentication (bool success
    {
    

        if (success
        {
            Debug.Log ("Authentication successful");
            Social.CreateLeaderboard();
            Social.CreateLeaderboard().id = "mygame";

        }
        else
        {
            Debug.Log ("Failed to authenticate");
        }
    }



    void OnGUI() 
    {

            if(GUI.Button (new Rect (480f,1500f,300f,300f), "<color=white><size=80>SUBMIT</size></color>"))
            {
                Social.ReportScore(score,"mygame",HighScoreCheck);


            }


            if(GUI.Button (new Rect (950f,1500f,300f,300f), "<color=white><size=40>STAT</size></color>"))
            {
                Social.ShowLeaderboardUI();


            }


    }


    static void HighScoreCheck(bool result
    {
        if(result)
            Debug.Log("score submission successful");
        else
            Debug.Log("score submission failed");
    }

}
/////////////////////////////////////////////////

Code Explanation:
1. Under the Start() function, you put Social.localUser.Authenticate (ProcessAuthentication);

- This mean you try to login the user to the game center

2. void ProcessAuthentication (bool success

- This is the function that process the user login, after user login successfully, you create a leaderboard with id "mygame", must match the ID you created on step 3

3. void OnGUI() 
    
- This is the function that show 2 button, button 1 "Submit" let you submit your highscore to the leaderboard, button 2 "Stat" will load the game center showing your highscore

4. static void HighScoreCheck(bool result


- This is the function that tell you if the score submission is successful or not

//////////////////////////////////////////////////////////
Step7: You can run in Unity to test but the "Game Center" leaderboard screen will not appear in Unity

Step8: Build your Unity Project into IOS Xcode

Step9: Open your IOS Xcode in Xcode

Step10: Under XCode, On Capabilities Tab, turn the GameCenter "ON"

Step11: Plug your Iphone to your Mac, and run the XCode program into your Iphone to test it

Step12: It might take a while before the highscore showing, for my case, when i click the "submit" then "stat" , the Game Center leaderboard opened and showed "No Item", after 3 hour, I open my program again and click "stat" I can see my highscore showing on the Game Center Leaderboard

There you go, hopefully it can help you in some way =)



Wednesday, May 6, 2015

Selling My Multiplayer Space Shooter Source Code

Hello everyone, since Unity Asset Store rejected all my submission, I have no choice but to sell my source code on my blog,

so here it is

http://fundurian.binpress.com/product/multiplayer-space-shooter/2952


Games Feature:

  • Player can host room and play with others
  • Up to 4 players per room 
  • Up to 300 level
  • Weapon upgrade and ship upgrade
  • Enemy get stronger every 3 level and give more money
  • Mini boss at every 10 level
  • Reach 100 meter to win the level
  • Player can chat inside the room

Package Includes:

  • Step by step PDF set up guide
  • Source Code
  • One 3D Main Ship with 10 colors
  • Four 3D small enemy ship and 1 boss ship
  • Gold coin and rocks

For $20 only


Friday, May 1, 2015

Unity Asset Store just rejected 2 of my submission

So, I am trying to get some stuff up on Unity Asset Store to see the market data, but they keep rejecting me, so far I have submitted 2 product

1. GUI button layout
- So I created 10 unique GUI button skin and try to sell for $2, Unity Asset Store said "they are not interested"

2. Multiplayer Space Shooter
- So I try to sell my completed project "multiplayer space shooter" on Unity Asset Store, they said " they decided not to publish" without giving me any reason why

So sad, I would just have to find some alternative market to try sell my stuff




I am launching entreprenuer time tracker app

Ok,  so besides games, I would also like to launch some app into the appstore, I just launch "Entrepreneur time tracker" , it is a very simple app where you can specify 5 most important task then you just track how much time you are spending on your important task by pressing 1 button, then it will track, and you press the "stop" button then it will stop, and it will record your statistic through out the year


https://itunes.apple.com/us/app/entrepreneur-time-tracker/id925308960?mt=8