Comments (11)
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 [email protected]
on 25 Jul 2012 at 12:41
- Changed title: HOTween not compatible with current beta of Unity Flash export
- Changed state: Accepted
- Added labels: Priority-Low
- Removed labels: Priority-Medium
from hotween.
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 [email protected]
on 26 Jul 2012 at 1:21
from hotween.
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 [email protected]
on 26 Jul 2012 at 10:27
from hotween.
Original comment by [email protected]
on 13 Sep 2012 at 11:38
- Removed labels: Priority-Low
from hotween.
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 [email protected]
on 7 Oct 2012 at 2:59
- Changed state: DataNeeded
from hotween.
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 [email protected]
on 1 Nov 2012 at 3:58
from hotween.
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 [email protected]
on 1 Nov 2012 at 5:38
- Changed state: Accepted
from hotween.
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 [email protected]
on 18 Dec 2012 at 7:54
from hotween.
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 [email protected]
on 19 Dec 2012 at 4:08
from hotween.
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 [email protected]
on 19 Dec 2012 at 6:25
from hotween.
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 [email protected]
on 24 Apr 2013 at 9:55
- Changed title: HOTween not compatible with Unity Flash export (anyway, Unity is abandoning Flash)
- Changed state: WontFix
from hotween.
Related Issues (20)
- Add loop delay for simple Tweeners
- Fails Supported API test for Windows Store HOT 1
- Visual Editor: wrong DLL referenced with HOTweenMicro and Windows 8 Store HOT 3
- Please add "_TintColor" to material color tweening HOT 4
- Null Reference Exception HOT 2
- PlugVector3Path OrientToPath2D HOT 12
- ABSTweenPlugin is allocating 20B each frame (base on Unity Profiler). Maybe, I have a way to avoid this. HOT 4
- Tween inside sequence have wrong from value HOT 1
- Building for Windows Store 8.1 with Micro produces many errors HOT 39
- HOTween OnComplete after the object is destroyed HOT 3
- Bug identified as #75 closed today has been closed but not fixed. HOT 1
- Does not show Visual Editor HOT 3
- Fail when running on Windows Store App HOT 30
- HoTween not moving objects after reloading the scene from another scene. HOT 2
- SpeedBased tween has innacurate timing HOT 5
- SetValue cause garbage allocation every frame HOT 4
- HOTween.TimeScaleIndependentUpdate is allocating 9B every frame HOT 1
- A bug about HOTween Reverse HOT 8
- Tweens playing automatically, even when 'Auto' turned off HOT 5
- Animate multiple properties with the same Tweener HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotween.