Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - dennisli168

Pages: [1]
Action Requests / Re: gamecenter actions
« on: July 23, 2012, 02:37:15 PM »

Words cannot express how much I appreciate your work!!!!
Cant wait to try those gamecenter acitons!

reimported 2dtk and playmaker, problem solved!

where is the updated 2dtk action package? just downloaded the one from here:

still has the same error for 1.76 and none of the actions are working.

Action Requests / gamecenter actions
« on: July 21, 2012, 01:36:15 PM »
I have already finished my game and I'm desperately looking for help in gamecenter integration.
I purchased the Gamecenter plugin from unity asset store and I need help turning the scripts into unity actions.
This is the sample script that came with the plugin, which demonstrates what the plugin is supposed to do:

using UnityEngine;
using System.Collections;

public class Test : MonoBehaviour {

   // Use this for initialization
   void Start ()
      // configure all events
      GameCenter.ConnectionState += new GameCenter.ConnectionStateDelegate(GameCenter_ConnectionState);
      // begin authenification
      GameCenter.Authenticate(true, true);
   void OnGUI()
      if (GUI.Button(new Rect(10,10,200,200), "Report achievement"))
      if (GUI.Button(new Rect(10,220,200,200), "Show achievements"))
      if (GUI.Button(new Rect(10,430,200,200), "Show leaderboard"))
      if (GUI.Button(new Rect(220,10,200,200), "Post 100 scores to leaderbaord"))
         GameCenter.ReportScore(100, "you leaderboard id");      
      if (GUI.Button(new Rect(220,220,200,200), "Get all scores"))
         ShowScores("you leaderboard id");
   void GameCenter_ConnectionState(bool _online)
      Debug.Log(System.String.Format("{0} player is {1}", GameCenter.PlayerAlias, _online ? "online" : "offline"));
   void ShowScores(string _categoryID)
      Debug.Log(System.String.Format("{0} player have {1} scores in {2} table", GameCenter.PlayerAlias, GameCenter.GetScore(_categoryID), _categoryID));

I have no experience in c# coding and I am not sure what I can do to get things started. Is there a tutorial for making custom actions? I know theres a custom action wizard, but I have no idea what to do with it. These methods dont look too complicated, is it possible for me to find similar actions already in playmaker, substitute their codes with these new methods and create new actions?

PlayMaker Help / find inactive gameObject
« on: June 09, 2012, 10:56:28 AM »
I'm setting up a preloaded pool of gameObejcts using playmaker.

Is there another way to get inactive gameObjects besides using getRandomChild?

So far that is the only action that worked for me, none of the other get child or find object actions works on inactive gameObejcts. This one works but it is not very efficient, since you can't define the name of the gameObject.

Also, getRandomChild gets gameObjects that are already detached from their original parents. Is this a bug? I would think that since a gameObject is detached from its parent, logically it would no longer be one of its child.
Thank you!

PlayMaker Help / InvalidOperationException
« on: May 30, 2012, 11:22:11 PM »
i keep getting this error after upgrading to playmaker 1.41

InvalidOperationException: Collection was modified; enumeration operation may not execute.
System.Collections.Generic.List`1+Enumerator[PlayMakerFSM].VerifyState ()
System.Collections.Generic.List`1+Enumerator[PlayMakerFSM].MoveNext ()
HutongGames.PlayMakerEditor.FsmEditor.ResyncFsmSelection ()
HutongGames.PlayMakerEditor.FsmEditor.PlaymodeChanged ()
UnityEditor.EditorApplication.Internal_PlaymodeStateChanged ()

i am not that good with programming so i dont quite understand what is going on. now it happens every time i run my game after making some changes. it goes away after i reimport playmaker, but comes back again when i change something in playmaker. it doesnt seem to have any visible impact on my game. yet i think i should still try to get rid of it. anybody knows how to solve this problem? thank you!!!!! :)

PlayMaker Help / Re: help!!!!error after upgrading to 3.5
« on: February 15, 2012, 01:04:00 PM »

PlayMaker Help / help!!!!error after upgrading to 3.5 [SOLVED]
« on: February 15, 2012, 09:58:40 AM »
i'm getting these on my console after upgrading to unity 3.5(see attachment).
anyone can tell me what is going on and how can i solve it?

Pages: [1]