Ivan "KaiSD" Korystin d5bed01a78 | преди 10 години | |
---|---|---|
Assets | преди 10 години | |
.gitignore | преди 10 години | |
Assembly-CSharp-vs.csproj | преди 10 години | |
Assembly-CSharp.csproj | преди 10 години | |
README.md | преди 10 години | |
coa4u-csharp.sln | преди 10 години | |
coa4u.sln | преди 10 години |
Unity3d is a very good game engine. It's almost perfect for quick prototyping. After switching from Cocos2D to Unity3d, i'm still missing just one cocos's feature - actions. It's a great combination of simplicity and flexibility, and i haven't found the suitable replacement for it. Since actions are quite simple, i implemented them myself.
You can also add actions on the fly, by using the AttachAction method of the Actor class.
All actions are capable to work both in 3D (use Vector3) and 2D (use Vector2) scenes.
Base actions
Every reversable action has a reverse() method. So, no plans for Reverse action right now.
Interval actions
if you want to manipulate alpha with the following actions, your material should support transparency (i.e. use Transparent shader)
Instant actions
There's no plans for 3DGrid actions. You can use the 3D actions instead.
Base actions
Interval actions
Instant actions
After completing these actions, i'm going to add some more to the list.
Just like Cocos2D, this code licensed under the MIT License
I'm not doing it to make profit, but if you want, you can send me a couple of bucks via PayPal.
Also, if you'll write some action based on mine, feel free to send it to me, if you want me to add it to the library. I'll put your name on this page.