-
Notifications
You must be signed in to change notification settings - Fork 1
Animation
Pavel Kulyov edited this page Jan 16, 2017
·
2 revisions
- Animation is component, that can be dinamically added to game object.
- Keyframe-based animation uses {local time -> attribute value} mapping and interpolation to calculate values between known time borders.
- Game objects has better jobs than managing thier list of animation. I suppose AnimationManager can do the things. Game object now can have field with animation manager, and can add one’s update to it’s update function.
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ - - - | │
│ - - - | │
│ - x^x. - . - | │
│ - X - - | │
│ - * - - | │
│ - - - | │
│ . - . - . - | │
│ - - - | │
│ - - - | │
│ - . . - - | │
│ - - - | │
│ - . - . - | │
│ - - - | │
│ - - - | │
│ - - - | │
│ - - . - | │
│ - . * - - | │
│ - *** . - - | │
│ - ***** - - | │
│ - ***** - - | │
│ - ****** - - | │
│ - . **** - - | │
│ - *** - - | │
│ - ****** - - | │
│ - **** - . - | │
│ . * - - | │
│ - - - | │
│ - - - | │
│ - . - - | │
│ - - . O │
│ - - <=H=> │
│ - - * * │
└─Hull: [██████████]──Shield: [██████████]──Weapon: Blaster | [999/999]─[██████████]─────┘