Kap Engine Wiki
  • KapEngine
    • Getting Started
    • Changelog
      • Release 1.2
      • Release 1.1
      • Release 1.0
    • Tests
    • How it works ?
    • On what are we work on ?
  • USER MANUAL
    • Transform
      • Position
      • Rotation
      • Scale
      • Parents
    • Component
      • What is it ?
      • Create new one
      • checkComponentValidity
      • onAwake
      • onStart
      • onUpdate
      • onFixedUpdate
      • onDisplay
      • onDestroy [EVENT]
      • onGameQuit [EVENT]
      • onDisable [EVENT]
      • onEnable [EVENT]
      • onMouseEnter [EVENT]
      • onMouseStay [EVENT]
      • onMouseExit [EVENT]
      • onTriggerEnter [EVENT]
      • onTriggerStay [EVENT]
      • onTriggerExit [EVENT]
      • onSceneChanged [EVENT]
    • GameObject
      • What is it ?
      • Create new one
      • Useful functions
    • Scene
      • Getting started
      • Create new one
      • Add new GameObject
    • Graphical libraries
      • What is it ?
    • Input
      • Keys
      • Axis
      • getInput
    • Mouse
      • getMouse
    • Animations
      • Animator
        • What is it?
        • Create Animator
        • Add Aniation
        • Links
      • Animation
        • System
        • Functions
    • UI
      • Canvas
      • Image
      • Text
      • UiFactory
    • Debug
      • Macros
      • Class Debug
    • Tools
      • Color
      • Rectangle
      • Vectors
    • Utils
      • Dictionary
      • Type
      • Platform
    • Versioning
  • Game Example
    • Game
      • How directory is composed ?
  • Community
    • FAQ
    • KapMirror
    • KapUI
    • KapRaylib
Powered by GitBook
On this page

Was this helpful?

  1. USER MANUAL
  2. Animations
  3. Animator

Add Aniation

Animator without animations is useless. So let's add some animations.

The first animation you gonna add will the begin animation. The begin animation is the first animation played in your animator.

Next animations added will be not play without links. So be careful with addAnim in your animator.

Code example :

animator->addAnim(animation, "My unique animation name for animator");
PreviousCreate AnimatorNextLinks

Last updated 2 years ago

Was this helpful?