playMaker

Author Topic: HOTween playmaker custom actions  (Read 33915 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: HOTween playmaker custom actions
« Reply #60 on: August 04, 2014, 05:43:13 AM »
Hi,

 ok, it's done, can you redownload from the first post on that thread. You have now HotweenKill and HotweenKillById to even choose what hotween to kill as opposed to kill All.

 Bye,

 Jean

jess84

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
Re: HOTween playmaker custom actions
« Reply #61 on: August 04, 2014, 08:33:23 AM »
Thanks Jean! That is awesome.

(I can now quit my scene while tweens are happening, without it breaking my game  :) )

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
    • KZ Development
Re: HOTween playmaker custom actions
« Reply #62 on: September 08, 2014, 05:38:02 PM »
fantastic work !!!

FritsLyn

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Re: HOTween playmaker custom actions
« Reply #63 on: October 14, 2014, 01:15:50 PM »
I still cannot get my head around how you have made this interface..

Let's say I want to make a prefab that in situation A should set [ROTATION TO 0,180,0] and in situation B set [ROTATION TO 0,0,0]..

How would you do this? I can see several ways it could be done in principle (calling ID, using PlayMaker Action Hotween TO etc), but I cannot manage to make anything work like that :)

I can even make it work via normal C# scripting, yet I'm unable to make the PlayMaker actions work :) ?!?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: HOTween playmaker custom actions
« Reply #64 on: October 21, 2014, 01:27:14 AM »
Hi,

Either you set your tween using the Hotween component with the visual editor and then call "Hotween play by id" or you use "HOTween Vector3" and you tween a vector 3 that you then inject in your rotation using "set rotation" for example.

 Bye,

 Jean

FritsLyn

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Re: HOTween playmaker custom actions
« Reply #65 on: October 21, 2014, 01:37:23 AM »
Yes, OK, thanks - so let me rephrase then: How would you use the interface on the attached screen shot - is it possible to show any examples of this at work?

Thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: HOTween playmaker custom actions
« Reply #66 on: October 21, 2014, 11:46:14 PM »
Hi,

 Yes. I have attached one. It will animate the FieldOfView of the camera.

1: drop the camera component ( exactly, not just the gameobject, it's like "set property", it targets the component itself).
2: set "fieldOfView" in the PropName
3: set duration to whatever ( 2 on our case)
4: set "Value type" to Fsmfloat
5: set the Float data in the value section to 100.

To get the list of available prop name, you need to study the component api you want to control using Unity script reference.

Nested props may be supported, but you need to enquire to HOTween directly for this.

Bye,

 Jean

FritsLyn

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Re: HOTween playmaker custom actions
« Reply #67 on: October 28, 2014, 04:06:09 AM »
OK, Wow - complex interface with lot's of room for mistakes, but I understand how this must be difficult to do any different, I see what you mean, and it was a great help with the example!

You might want to include that example in the custom actions package - it's hard to understand without an example.

Thank you for doing such an awesome and amazing job always :)

PlayMaker is by far the best supported piece of software in the entire asset store!!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: HOTween playmaker custom actions
« Reply #68 on: November 04, 2014, 12:50:08 AM »
Hi,

 Thanks :) Alex indeed applies a very agressive strategy so that you guys get what you need. So keep bumping threads that went off our radar, the task is big indeed!

 As for HOTween, I need to revamp everything, since the coming release of PlayMaker will have a lot of new things helping improving actions and setup for Hotween, and yes I'll include the demos :)

 Bye,

 Jean

kyy921

  • Junior Playmaker
  • **
  • Posts: 50
    • View Profile
    • 上海杉蔓数字科技
Re: HOTween playmaker custom actions
« Reply #69 on: January 12, 2015, 06:23:00 AM »
Hotween2  , dotween has been released http://dotween.demigiant.com/download.php ,will playmaker support it?

FritsLyn

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Re: HOTween playmaker custom actions
« Reply #70 on: January 12, 2015, 06:26:27 AM »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4380
    • View Profile
    • jinxtergames
Re: HOTween playmaker custom actions
« Reply #71 on: May 20, 2015, 05:58:40 AM »
just for your information , HOTween seems to have been discontinued it can still be downloaded from the asset store but the website is no more (domain expired)
FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: HOTween playmaker custom actions
« Reply #72 on: May 21, 2015, 01:51:48 AM »
Hi,

 yeah, but doTween is now available and outperforms hotween ( maybe why the author choose to concentrate on dotween).

 also, check out this thread, it provide initial support for dotween in PlayMaker.

http://hutonggames.com/playmakerforum/index.php?topic=10303.msg48897#msg48897

 Bye,

 Jean