Skip to content

Conversation

@ratchetfreak
Copy link

This animation setup is like I described in tsoding/tula#2 and I made true on my threat to make a pull request.

I made a copy of both the squares and the tm animation in the immediate mode style.

You'll see the benefit that it doesn't need to allocate anything to persist across frames other than the assets. For example the tm scene is remade every frame and then play() seeks the animation state it needs to have.

I don't think I fucked up nob.c too much to get it building on operating system for video games, and I won't mind if you revert all that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant