Files
aego/examples/topdown/assets/anim/grunt.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

20 lines
595 B
Plaintext

controller version=1 {
entry="Patrol"
param "Chasing" kind=bool {}
param "Die" kind=trigger {}
state "Patrol" clip=asset("70a10000000000000000000000000004") {}
state "Chase" clip=asset("70a10000000000000000000000000005") {}
state "Die" clip=asset("70a10000000000000000000000000006") {}
state "Gone" {}
transition "any" to="Die" interrupt=true {
cond "Die" {}
}
transition "Patrol" to="Chase" duration=0.15 {
cond "Chasing" {}
}
transition "Chase" to="Patrol" duration=0.3 {
cond "Chasing" op=eq value=false {}
}
transition "Die" to="Gone" exitTime=1 {}
}