animation-principles

Implement Disney's 12 Principles of Animation in UrhoX Lua games.

Updated May 16, 2026
One-click install
npx skills add https://github.com/haitao2016/--Skill --skill animation-principles-haitao2016
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: animation-principles
Source: https://github.com/haitao2016/--Skill/tree/main/animation-principles
Command: npx skills add https://github.com/haitao2016/--Skill --skill animation-principles-haitao2016

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill equips game developers with Disney's 12 Principles of Animation, enabling them to create lifelike, polished animations for UrhoX Lua games.

Core Features & Use Cases

  • 12 Principles Coverage: Comprehensive guide and implementation patterns for all 12 principles.
  • Mathematical Formulas: Provides formulas for squash-and-stretch, anticipation, follow-through, arcs, and more.
  • Lua Implementation Patterns: Offers practical code snippets for procedural animation and easing curves.
  • Use Case: A developer can use this Skill to add squash-and-stretch to a character's landing animation, enhancing its realism and appeal.

Quick Start

Apply the 'Squash & Stretch' principle to a character's landing animation using the 'applySquashStretch' function.

Frequently Asked Questions about animation-principles

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Disney's 12 principles of animation in UrhoX Lua games?

To implement Disney's 12 principles of animation in UrhoX Lua, this Skill provides mathematical formulas and Lua code patterns for procedural animation. It covers techniques like squash-and-stretch, anticipation, and follow-through to create lifelike character movements.

What mathematical formulas are used for squash and stretch in procedural animation?

For squash and stretch in procedural animation, this Skill provides specific mathematical formulas alongside Lua implementation patterns. These formulas dynamically deform character meshes during actions like landing, enhancing realism and physical appeal.

Can I use these animation principles without prior game mechanics knowledge?

You cannot effectively use these animation principles without basic knowledge of game mechanics. The Skill requires an UrhoX Lua environment and assumes foundational understanding of game development to apply the provided code snippets and formulas correctly.

How do I add anticipation and follow-through to character movements using Lua?

To add anticipation and follow-through to character movements using Lua, the Skill offers practical code snippets and easing curves. These procedural animation patterns help simulate realistic physical reactions before and after main actions.

Does this Skill provide code snippets for procedural animation easing curves?

Yes, this Skill provides practical Lua code snippets for procedural animation easing curves. These patterns allow developers to apply Disney principles like arcs and slow-in-slow-out directly within their UrhoX Lua environment.

When should I use procedural animation over keyframe animation in UrhoX Lua?

You should use procedural animation in UrhoX Lua when you need dynamic, mathematically driven movements like squash-and-stretch or follow-through. This approach calculates deformations in real-time using Lua patterns, offering flexibility over static keyframes.