pmndrs / directed

A flexible, minimal scheduler written in TypeScript
MIT License
25 stars 1 forks source link

Clarify scheduling by tag #2

Open krispya opened 3 months ago

krispya commented 3 months ago

I had been using this example as how to do a quick game loop with the usual stages:

image

And then to complicate things I add an update camera system that gets the default tag and a new camera tag. I explicitly schedule it before render but the expectation was that I don't have to. Since moveBody is scheduler before render and it also has the default tag I expect the tag to inherit this requirement

image

Is that correct?