Does AniMate work with iPhone unity? I cant seem to get it working…
I’ve not tested it yet, so a general guideline until then: It depends on what it does
- iPhone Unity is .NET 1.1 (-> no generics or alike in script or assemblies)
- You can not use “Plugins”
- JavaScript must be #pragma strict
- No XML
if those four things are met, there is a pretty good chance it works
AniMate is Boo, and as far as I know Boo doesn’t work on iPhone Unity. You could re-write it in Javascript or C#.
–Eric
Does anyone converted AniMate to javascript?
If not I’ll give it a try this weekend.
Hi,
want to ask if somebody converted Ani.mate for using it in unity iphone already?
Would be nice to share it with the community… Thanks a lot
[edit] this is all in C#
Check 6th post here http://forum.unity3d.com/viewtopic.php?t=19438 . I converted it to C# and been using it on iPhone.
and if you want to use yield, check this post http://forum.unity3d.com/viewtopic.php?t=29173 for more info as I don’t think the way I did it actualy worked so you might need to make some changes to the C# code.
Oh nice, thanks for that information.
Great to have such an active community.
That’s AniMate 1.0.1, right? There’s a later version, I believe, that was ported as part of the GUIManager project.
And there’s an even later version of AniMate 2 that hasn’t been ported as near as I can tell. I attempted to port it, but not knowing boo made it near impossible.
I wish the core AniMate project would switch over to C# so everyone could use it.
oh yes, GuiManager is using a different version from the straight conversion - also version done by me, but that one support even less features from the original BOO conversion, for example I removed the yield stuff as I was not using it.
Here is the AniMate.cs class I use these days in my iPhone dev. It really ony have the ability to animate position and color on an object its attached to (as component) but you could use the AniMator class (in same file) directly to do more.
256502–9228–$animate_180.cs (12.8 KB)
@xyber:
Hi, could you please write me the syntax for using it? Think it differs from the original Ani.Mate-class, right? Would be great.
Thx
Hello all,
I have taken the time to convert Ani.Mate from Boo to C#. I have put it up on Github at: GitHub - bfowle/Ani.Mate: C# port of the Ani.Mate Unity3D tweening library
Hope this helps anyone in the future,
Cheers~
Thank you bfowle