Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animate #12

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Animate #12

wants to merge 2 commits into from

Conversation

wasnotrice
Copy link
Member

Here's a re-implementation of Shoes::Animate that accepts a Hash argument. The old syntax is still valid (this is similar to other methods like #oval that have multiple signatures). Use in the old way like:

animate 24 do
  # animation code
end

or with a hash:

animate :framerate => 17 do
  #animation code
end

At this point, no other options are implemented, so only :framerate makes any difference.

The merge commit here is really messy. Something bad happened in previous merges. The merge replaces the Rakefile (important!), the Gemfile, and some miscellaneous style work that I think was pulled into shoes/master???

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