You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Ivan KaiSD Korystin 441fa25a19 initial 10 jaren geleden
src initial 10 jaren geleden
README.md initial 10 jaren geleden

README.md

coa4u

Cocos2d-like Actions for Unity3d

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.

Included actions (ready and WIP)

Base actions

  • Sequence
  • Parallel
  • Repeat and Loop implemented in one action
  • Reverse

Interval actions

  • MoveTo
  • MoveBy
  • RotateTo
  • RotateBy
  • ScaleTo
  • ScaleBy
  • TintBy
  • Delay and RandomDelay implemented in one action
  • TintTo
  • FadeOut
  • FadeIn
  • FadeTo
  • JumpTo
  • JumpBy
  • Bezier
  • Blink

Instant actions

  • Place renamed to SetPlace
  • CallFunc renamed to SendMessage
  • Hide
  • Show
  • ToggleVisibility

Some additional actions

Interval actions

  • SkewBy
  • SkewTo

Instant actions

  • SetRotation
  • SetTint

Future plans

After completing these actions, i'm going to add some more to the list.

License

Just like Cocos2D, this code licensed under the MIT License

Help and donations

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.