Skip to content

Actions does not run if update is overridden? #2059

Answered by eonarheim
nilskj asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @nilskj apologies for the pitfall, this is indeed the case in the current version of Excalibur that the super.update() must be called to preserve the action behavior.

Actions is one of the last things to be refactored out of the Actor.update(), the plan is to implement the Actions API with an ECS Component/System in the next version removing the need to call the super.update().

I've added a couple updates to the documentation to note this requirement

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nilskj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants