playMaker

Author Topic: Sprite Manager 2 scripts  (Read 6332 times)

yannalaplage

  • 1.2 Beta
  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Sprite Manager 2 scripts
« on: April 23, 2011, 05:47:54 AM »
Hi,
we've been porting Talking Carl to Unity + Playmaker + SpriteManager2 and to thanks Hutong for their incredible FSM here are a few scripts that allows you to pilot SM2 in a playmaker FSM.
Obviously you need both plugins but otherwise I included a small package that shows hot to use one of the script.
Included are also behaviors that works indifferently with a Mouse and iOS gesture, very handy for testing and a few other usefull scripts.
Hope it will help.
yann.
http://dl.dropbox.com/u/2330216/SM2FSM.zip

www.tayasui.com

m_stolley

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Sprite Manager 2 scripts
« Reply #1 on: April 23, 2011, 06:19:02 AM »
Sadly the zip file is not there anymore.
Will you upload it somewhere else?

tobbeo

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 186
    • View Profile
Re: Sprite Manager 2 scripts
« Reply #2 on: April 23, 2011, 12:06:45 PM »
THANK YOU, THANK YOU! :)

The download link works fine for me. Not the attached file, but the dropbox one.

tobbeo

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 186
    • View Profile
Re: Sprite Manager 2 scripts
« Reply #3 on: April 23, 2011, 09:01:29 PM »
Hi,

So I got around to try to use the actions that you made for Sprite Manager and they don't work. They complain about "gkInterpolate" and then when I start Unity Playmaker won't show up anymore. Playmaker shows up again when I remove the actions you provided. I have SM2 installed and use it on several objects.

I was really excited to use these. Any chance you could look into what's happening? Would be very grateful.

Edit: By process of elimination this seems to be the stopping point for the Playmaker actions:

"Assets/PuppetFsm/Scripts/GenericAnimationController.cs(30,51): error CS1061: Type `SuperSprite' does not contain a definition for `CurrentSprite' and no extension method `CurrentSprite' of type `SuperSprite' could be found (are you missing a using directive or an assembly reference?)"

I do have SuperSprite installed...

Tobbe
« Last Edit: April 23, 2011, 09:12:15 PM by tobbeo »

yannalaplage

  • 1.2 Beta
  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Sprite Manager 2 scripts
« Reply #4 on: April 23, 2011, 09:27:33 PM »
Please Install the the GKengine folder provided and try the package to understand how it works.
Also a look at the documentation is recommended.

tobbeo

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 186
    • View Profile
Re: Sprite Manager 2 scripts
« Reply #5 on: April 23, 2011, 10:02:30 PM »
Sorry I should have done that first before posting.

yannalaplage

  • 1.2 Beta
  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Sprite Manager 2 scripts
« Reply #6 on: April 28, 2011, 02:27:28 PM »
and here is the result, still work in progress and soon on the ipad : www.talkingcarl.com

rooster

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: Sprite Manager 2 scripts
« Reply #7 on: July 02, 2011, 08:09:39 AM »
I have the latest versions of Unity, Playmaker and Spritemanager 2. When I import the puppet fsm package I get this error:

"Assets/PuppetFsm/Scripts/GenericAnimation.cs(16,17): error CS0246: The type or namespace name `SuperSpriteAnim' could not be found. Are you missing a using directive or an assembly reference?"

Is this possibly because of a depricated sprite type? Any ideas?

I dragged the GKEngine folder into my project and I'm not getting the GK engine error. Is there anything else that I need to do to ensure that installation is correct?

mike
:8^/
« Last Edit: July 02, 2011, 08:12:58 AM by rooster »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13432
  • Official Playmaker Support
    • View Profile
Re: Sprite Manager 2 scripts
« Reply #8 on: July 04, 2011, 09:48:22 AM »
Hi,

 Very nice. Lots of goodies and interesting approaches in your scripts, thank you for sharing!

 Bye,

 Jean