playMaker

Author Topic: HOTweenFloat (_tweenProxy!=null...)  (Read 2854 times)

hunz

  • Playmaker Newbie
  • *
  • Posts: 35
HOTweenFloat (_tweenProxy!=null...)
« on: March 23, 2015, 07:43:29 PM »
Hey,

I've been optimizing my game using deep profile and noticed this is appearing in the comments.  It's causing a really large spike 30fps / 28ms.

Was wondering if anyone has had this issue?  Or any idea what might be the cause behind it?

Thank you in advance.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: HOTweenFloat (_tweenProxy!=null...)
« Reply #1 on: March 24, 2015, 04:07:49 AM »
Hi,

 I had that the other day and did not pay too much attention. I'll give it a closer look.

 Bye,

 Jean

hunz

  • Playmaker Newbie
  • *
  • Posts: 35
Re: HOTweenFloat (_tweenProxy!=null...)
« Reply #2 on: March 24, 2015, 06:01:55 PM »
Thanks Jean.  I've commented it out in the code for now to stop it's minimal spam to the console.  It also isn't causing the spikes and has taken the weird fps pulsing out of my mobile builds.

The other cause of weird pulsing, as I was deep profiling, was the HotweenPlayById.  the line Debug.log("finished"); was causing it.  I commented that out as well.

Hope I'm not breaking Christmas O_O

Thanks for all your neat work!




jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: HOTweenFloat (_tweenProxy!=null...)
« Reply #3 on: March 25, 2015, 08:12:49 AM »
Hi,

 nice performance improvment session. I'll include these changes int he next update when I'll tackle dotween.

https://trello.com/c/ieSygpiI/111-dotween

Bye,

 Jean

hunz

  • Playmaker Newbie
  • *
  • Posts: 35
Re: HOTweenFloat (_tweenProxy!=null...)
« Reply #4 on: March 30, 2015, 02:44:10 AM »
I AM SO EXCITED ABOUT DOTWEEN.  Yeah, I had to yell that.

psst - Could you put the Shake function in for DOTWEEN as well?  I miss a really good camera shake without having to go to itween.