Skip to content

Conversation

@nogginly
Copy link
Contributor

Fixes #232

  • Fix clears @done_proc before making the proc call, which allows subsequent calls to play to set a done proc which doesn't get clobbered.
  • Test has a nested play/do call when user hits the "space" bar to make hero climb up/down/up/down and then walk right.

@nogginly
Copy link
Contributor Author

@blacktm, @mariovisic, may I request a review? Apologies if I'm being too pushy; this one thing is blocking a project I'm working on so I'm unabashedly keen. :)

Copy link
Contributor

@mariovisic mariovisic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really neat, well done 👍

@nogginly
Copy link
Contributor Author

nogginly commented Mar 1, 2022

Cheers, @mariovisic. What's the merge protocol, will you do it or is this something you would like me to do?

@mariovisic mariovisic merged commit ce84776 into ruby2d:main Mar 6, 2022
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.

Nesting Sprite play/do calls does not work beyond the first block

2 participants