playMaker

Author Topic: Can't play 2D sprite animation by using playmaker  (Read 4038 times)

Weknd

  • Playmaker Newbie
  • *
  • Posts: 3
Can't play 2D sprite animation by using playmaker
« on: January 14, 2014, 04:07:57 AM »
Hi,I'm new here and I'm not good at English,sorry for that :p

Here is my problem:I creat an 2D sprite animation cilp by the new 2D system in Unity4.3,and I add an Action “Play Animation”to my FSM object,I can see my animation clip in "Anim Name" and I've already selected,but when I run my demo,there is a log in below:"PlayAnimation:Missing animation:XXXXX",and the animation is not playing too.

Is that 2D sprite animation still unavailable in playmaker?
THX
PS:I've already import PlayMakerUnity2D.unitypackage
« Last Edit: January 14, 2014, 09:19:04 PM by Weknd »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Can't play 2D sprite animation by using playmaker
« Reply #1 on: January 14, 2014, 07:15:42 AM »
Hi,

 Can you paste the exact error? XXX doesn't really help finding the problem.

bye,

 Jean

Weknd

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Can't play 2D sprite animation by using playmaker
« Reply #2 on: January 14, 2014, 09:42:08 PM »
XXX is a name of my animation clip,I named it "le_idle",The clip can play in Dope Sheet

the exact error:
player : FSM : standing : PlayAnimation : Missing animation: le_idle
UnityEngine.Debug:LogWarning(Object)
HutongGames.PlayMaker.FsmLog:AddEntry(FsmLogEntry)
HutongGames.PlayMaker.FsmLog:LogAction(FsmLogType, String)
HutongGames.PlayMaker.FsmStateAction:LogWarning(String)
HutongGames.PlayMaker.Actions.PlayAnimation:DoPlayAnimation() (at Assets/PlayMaker/Actions/PlayAnimation.cs:83)
HutongGames.PlayMaker.Actions.PlayAnimation:OnEnter() (at Assets/PlayMaker/Actions/PlayAnimation.cs:53)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32)
HutongGames.PlayMaker.FsmState:OnEnter()
HutongGames.PlayMaker.Fsm:EnterState(FsmState)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState)
HutongGames.PlayMaker.Fsm:UpdateStateChanges()
HutongGames.PlayMaker.Fsm:UpdateState(FsmState)
HutongGames.PlayMaker.Fsm:Update()
PlayMakerFSM:Update()
« Last Edit: January 15, 2014, 01:18:28 AM by Weknd »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Can't play 2D sprite animation by using playmaker
« Reply #3 on: January 15, 2014, 08:20:33 AM »
I could be wrong as I haven't messed with 2D but if the new 2D system uses a different animation system then it makes sense that actions for the legacy system wouldn't work. I think Play Animation is a legacy animation action and it doesn't directly translate to the new 2D system.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Weknd

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Can't play 2D sprite animation by using playmaker
« Reply #4 on: January 15, 2014, 09:17:02 PM »
Thanks for responding:)
So we couldn't deal with this new 2D animation system by PM at this time?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Can't play 2D sprite animation by using playmaker
« Reply #5 on: January 23, 2014, 02:51:36 AM »
Hi,

  Can you package this animation as a prefab and send it to me? I will look at this and how to play it.

bye,

 Jean

Saputo

  • Full Member
  • ***
  • Posts: 107
Re: Can't play 2D sprite animation by using playmaker
« Reply #6 on: February 13, 2014, 06:32:18 PM »
Any luck Jean?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Can't play 2D sprite animation by using playmaker
« Reply #7 on: February 13, 2014, 11:59:10 PM »
Hi,

 I can't seem to trace where you sent me the package. Can you send it again reference that post? Sorry about the delay,

 Bye,

 Jean

hofik001

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Can't play 2D sprite animation by using playmaker
« Reply #8 on: March 14, 2014, 07:15:24 PM »
I do it using a script and developing links with Playmaker
That's going to play and create any animation when some action.