playMaker

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 - redmotion

Pages: [1]
1
Share New Actions / Re: A* pathfinding (stable 0v841)
« on: January 08, 2014, 06:32:41 AM »
Hi, I'm using a mac.

How do I install this extension?

(Sorry for not reading 21 pages of forum posts, if this has already been answered, it's not on the opening post)

2
Playmaker Help / Re: Sending an event back to Playmaker from NGUI?[SOLVED]
« on: September 30, 2013, 12:34:29 PM »
Hi Jean,

Ok I got it working the right way. What wasn't clear from the steps on the wiki is that the "gameobject target" is actually the NGUI item you want to read events from. I stuck the "NGuiEventsToPlaymakerFsmEvents" script and an FSM onto each button and added the onClick event to the states for each button and everything is working fine.

Cheers.

3
Playmaker Help / Re: Sending an event back to Playmaker from NGUI?
« on: September 29, 2013, 11:49:40 PM »
Cannot find any info on the NGUI site. Just this entry here:

https://hutonggames.fogbugz.com/default.asp?W1111

But this seems to stop just when more detail is needed on how to read NGUI events.

Any chance of a link on the NGUI site?

Thanks

4
Playmaker Help / Re: Sending an event back to Playmaker from NGUI?
« on: September 29, 2013, 03:14:01 AM »
So, to get this working I've gone for complete spaghetti...

I got rid all the scripts I'm supposed to use (which seem to have no comprehensive documentation or forum discussions to learn from) and instead:-

Added an empty gameobject to the scene called"ButtonReceiver" with this script:-
Code: [Select]
using UnityEngine;
using System.Collections;
using HutongGames.PlayMaker;

public class GetButtonMessage : MonoBehaviour {

public PlayMakerFSM the_fsm;

void Start () {

}

void Update () {

}

void ButtonMessageRecieveLeft () {
the_fsm.Fsm.Event("LeftButtonPressed");
}

void ButtonMessageRecieveRight () {
the_fsm.Fsm.Event("RightButtonPressed");
}
}

On the NGUI buttons I'm using called "Left" and "Right", I added standard script "UIButtonMessage"  which targets the "ButtonReceiver" Gameobject and the respective functions (above) called "ButtonMessageRecieveLeft" and "ButtonMessageRecieveRight".

Of course, I then have to drag my Fsm object into the public variable "the_fsm".

So, Is there a way to attach the GetButtonMessage directly to the FSM object and automatically reference the FSM rather than having to use a public variable to make the connection?

(I'm basically not sure of the Csharp syntax to reference the FSM attached to the same object as the script)

PS: I'm happy to revert back to the "correct" way, if someone can explain how it all goes together!

Thanks.

5
Playmaker Help / Sending an event back to Playmaker from NGUI?[SOLVED]
« on: September 28, 2013, 04:37:32 PM »
How is this done?

I have two buttons on my NGUI ui.

I have installed the package from here and done steps 1-4 setting ONCLICK
https://hutonggames.fogbugz.com/default.asp?W1111

Now, I can't work out what I need to do to get the buttons sending events back to Playmaker? Do I need to add a script to each button or is it something simpler?

(NGUI using 2.7.0 - the package has errors with 3.)

Thanks.

6
BlackBerry10 Help / Re: Script missing on BB10 device
« on: September 10, 2013, 12:24:04 AM »
Hi Alex,
Thanks that's worked, I also realised that the Playmaker/Editor folder was also a bad place to put it!
Growing pains!

7
BlackBerry10 Help / Script missing on BB10 device [SOLVED]
« on: September 09, 2013, 01:59:16 PM »
Just did a build with the new BB playmaker extension. The build worked and most of the Playmaker stuff is running as it should, however I had added this custom action:
GetFPS from here
http://hutonggames.com/playmakerforum/index.php?topic=1763.0
Which is resulting in this error (did not appear on Android)
http://www.dropbox.com/s/vbta59fux6jq45q/playmakererrorBB10.png
Quote
"could not create action: maybe script was removed?"
Thanks.

8
General Discussion / Re: Welcome! Please introduce yourself!
« on: June 02, 2013, 05:25:07 PM »
Jason, from London, UK. I've already published one game using ShiVa3d on iOS, Android and Blackberry and I am currently looking at Unity as possible platform for some future projects.

I've also worked on the Black Mesa Half Life 2 mod as a texture artist, prop skinner, 3d modeller (and also did a few spots of animation) since 2006. Been playing, coding, modelling and drawing games since 1995.

I just bought Playmaker as a way to ease myself into Unity (I used version 3 a while ago but decided to go with ShiVa3d at the time.) However, since Unity made Android/iOS publishing free (started the Blackberry beta) and playmaker is on sale :), I couldn't resist taking another look!

Autodesk Softimage is my main 3d application of choice, so I quite like FSM/node-tree-based programming!

So far I'm finding Playmaker great fun. Thanks.

Pages: [1]