Closed GoogleCodeExporter closed 8 years ago
Hi Sanguinarity,
thanks for the info. As of now Flash export is not yet compatible with HOTween.
Mainly because Flash doesn't include some basic libraries that are included
with all other Unity builds. The Unity guys say they might include them when
the beta is finished, but they don't know yet, so it's just a matter of waiting
and see what they do.
Original comment by daniele....@gmail.com
on 25 Jul 2012 at 12:41
sad...this is really unfortunate cause i really wanted to use HOTween because
it's so much better then iTween.
sadly we're definitely targeting flash export.
will you just be waiting for the flash export to finish?
Original comment by ke...@kixeye.com
on 26 Jul 2012 at 1:21
Yup, I'm sad about that too, but I'm gonna wait for Flash export to be out of
beta. Mainly because I need Reflection to emit some fast property/field
accessors when the tween is created (except than with Transforms), and the
Unity guys said they will probably allow it in the final Flash release. Without
that, there is almost no way to be able to animate any property/field of any
object.
In truth, I found a workaround for that, but it requires a more complex API for
HOTween users, and an almost complete rewrite of HOTween, so I was planning it
for HOTween v2 (for which I made some demo tests, but I won't be able to start
developing it for some months yet).
Original comment by daniele....@gmail.com
on 26 Jul 2012 at 10:27
Original comment by daniele....@gmail.com
on 13 Sep 2012 at 11:38
The *HOTweenMicro* version of HOTween should now, maybe, work with the latest
Flash export release. If anyone could try it out and tell me it would be great
:)
Original comment by daniele....@gmail.com
on 7 Oct 2012 at 2:59
Just tried HOTweenMicro, get less errors but still this stuff in
ABSTweenPlugin.as:
Temp/StagingArea/Data/ConvertedDotNetCode/Holoville/HOTween/Plugins/Core/ABSTwee
nPlugin.as(123): col: 199 Error: Type was not found or was not a compile-time
constant: PropertyInfo.
Temp/StagingArea/Data/ConvertedDotNetCode/Holoville/HOTween/Plugins/Core/ABSTwee
nPlugin.as(123): col: 227 Error: Type was not found or was not a compile-time
constant: FieldInfo.
Original comment by d...@unit9.com
on 1 Nov 2012 at 3:58
Thank for trying Dave. I had read that Unity was adding at least some basic
Reflection, but it seems they still didn't. I'll keep my fingers crossed for
the future.
Original comment by daniele....@gmail.com
on 1 Nov 2012 at 5:38
Are there any work arounds for this? I really want to use HOTween instead of
GOKit or iTween (used all 3 and HOTween is the best by far) but the Flash
support is killing me =(
Like, instead of using reflection could we just have a list of hardcoded
supported properties and how to access them?
Original comment by tst...@gmail.com
on 18 Dec 2012 at 7:54
Sadly, the only way to avoid Reflection would be to restrict the properties
that can be animated to hardcoded known properties, as you mentioned. But that
would nullify the flexibility of HOTween and make it into another engine.
Actually, when animating Transforms and some other things, Reflection is
already avoided, but to generate a fast getter/setter for unknown properties
there is no other way (or better, there is another way, via lambdas, which was
suggested by stfx, and which I was thinking of implementing in HOTween V2, but
it requires more experience from the users, and I'm not sure it would work with
Flash either).
I asked the Unity guys if they'll implement basic Reflection soon, since they
initially said they would, but had no answer as of now. I really think they
will, sooner or later, because Flash itself uses Reflection a lot.
That said, I will make some test to see if I can quickly implement an alternate
version of HOTween, which will work with lambdas instead than Reflection.
Original comment by daniele....@gmail.com
on 19 Dec 2012 at 4:08
Understood. After trying out the other tweening libraries and realizing that
only a hacked up version of iTween runs on Flash I decided to punt on this and
just cross my fingers that Unity starts supporting Reflection soon.
Original comment by tst...@gmail.com
on 19 Dec 2012 at 6:25
Important note: HOTween won't even try to be Flash compatible anymore, since
Unity abandoned Flash export (and I can totally understand them, since Adobe
took a wonderful engine developed by Macromedia and completely wrecked it
thanks to bad choices and an evident "I don't know what to do with it" attitude
- and I'm really sad for this, since I use Flash professionally since more than
a decade). Read Unity's official blog for more infos:
http://blogs.unity3d.com/2013/04/23/sunsetting-flash/
Original comment by daniele....@gmail.com
on 24 Apr 2013 at 9:55
Original issue reported on code.google.com by
Sanguina...@gmail.com
on 25 Jul 2012 at 12:35Attachments: