Skip to content

Animate#12

Open
wasnotrice wants to merge 2 commits into
shoes:developfrom
wasnotrice:animate
Open

Animate#12
wasnotrice wants to merge 2 commits into
shoes:developfrom
wasnotrice:animate

Conversation

@wasnotrice

Copy link
Copy Markdown
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