Ivan "KaiSD" Korystin 06e25ca6c7 | 10 anni fa | |
---|---|---|
src | 10 anni fa | |
README.md | 10 anni fa |
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.
Just put the src folder into your assets folder. Then attach the Actor.cs script to the object you want. See the examples folder, there's a sample script there.
You can also subclass the Actor and add all the actions you want to the Start() method.
All actions are capable to work both in 3D (use Vector3) and 2D (use Vector2) scenes.
Base actions
Interval actions
Instant 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.