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.
14 lines
332 B
Go
14 lines
332 B
Go
package motion2d
|
|
|
|
import (
|
|
"aego/core/mathx"
|
|
"aego/scene"
|
|
)
|
|
|
|
const ServiceID = "motion2d.receiver"
|
|
|
|
// Receiver moves a character by a world-space offset on its next motion step, through its collisions; false means the node has no controller.
|
|
type Receiver interface {
|
|
AddDisplacement(node scene.NodeHandle, d mathx.Vec2) bool
|
|
}
|