Clips (.aeanim) and controllers (.aectrl) with importers, AnimationPlayer and Animator with crossfades, root motion and events on fixed steps, rewind support. Editor: Animation panel (dope sheet, curves, record, preview, trajectory), Animator panel, sprite sheet slicer and flipbooks, Programming workspace, export panel redesign. Motion 2D ledge climb. 11c: the component and Create palette.
20 lines
406 B
Go
20 lines
406 B
Go
//go:build !aego_runtime && !js
|
|
|
|
package animation
|
|
|
|
import (
|
|
"aego/asset/importers/animclip"
|
|
"aego/asset/importers/animctrl"
|
|
"aego/asset/pipeline"
|
|
"aego/engine/module"
|
|
)
|
|
|
|
func registerDev(r *module.Registry) {
|
|
r.Dev(func(imps *pipeline.ImporterRegistry, _ *pipeline.DevEnv) error {
|
|
if err := imps.Register(animclip.New()); err != nil {
|
|
return err
|
|
}
|
|
return imps.Register(animctrl.New())
|
|
})
|
|
}
|