behavior-tree

Best Practice for Transitioning From Nested State to Nested State (see diagram)

别等时光非礼了梦想. 提交于 2019-12-04 08:01:05
问题 I am trying to wrap my mind around the best way to implement nested state transitions in a single threaded programming language (Actionscript). Say I have a structure like this behavior tree: Now imagine that each leaf node is a destination point on a website, like an image in a gallery, or a comment nested in a post view nested in a page view... And the goal is to be able to run animated transitions from leaf node to leaf node, by animating out the previous tree (from bottom to top), and