Skip to content

Instantly share code, notes, and snippets.

@igkuz
Last active December 17, 2015 13:39
Show Gist options
  • Save igkuz/5618223 to your computer and use it in GitHub Desktop.
Save igkuz/5618223 to your computer and use it in GitHub Desktop.
@corner_group.props.rotation = [ { "z-axis" => [ 0.0, [ 960, 540 ] ] } ]
add_timer(0.1) do
@logo_start.animate(duration: 800, opacity: 0).on_complete do
@corner_lt.animate(duration: 700, left: 850, top: 427)
@corner_rt.animate(duration: 700, right: 792, top: 427)
@corner_lb.animate(duration: 700, left: 850, bottom: 370)
@corner_rb.animate(duration: 700, right: 792, bottom: 370).on_complete do
@corner_group.animate(duration: 800, rotation_angle_z: -180.0).on_complete do
@corner_lt.animate(duration: 700, left: 25, top: 27)
@corner_rt.animate(duration: 700, right: -33, top: 27)
@corner_lb.animate(duration: 700, left: 25, bottom: -30)
@corner_rb.animate(duration: 700, right: -33, bottom: -30).on_complete do
app.statechart.send_action(:goto_authorization_form)
end
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment