Files
aego/examples/topdown/assets/anim/hero.aectrl
sanspie 515f4ca1b3 Stage 11a: animation (D333–D340, D344, D354–D357)
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.
2026-10-25 15:31:22 +03:00

19 lines
600 B
Plaintext

controller version=1 {
entry="Idle"
param "Speed" kind=float {}
param "Attack" kind=trigger {}
state "Idle" clip=asset("70a10000000000000000000000000001") {}
state "Run" clip=asset("70a10000000000000000000000000002") {}
state "Attack" clip=asset("70a10000000000000000000000000003") {}
transition "any" to="Attack" interrupt=true {
cond "Attack" {}
}
transition "Idle" to="Run" duration=0.1 {
cond "Speed" op=gt value=0.1 {}
}
transition "Run" to="Idle" duration=0.1 {
cond "Speed" op=le value=0.1 {}
}
transition "Attack" to="Idle" exitTime=1 duration=0.05 {}
}