phetsims / twixt

Animation library for interactive HTML5 graphics
MIT License
1 stars 3 forks source link

"dissolve" transition for games #6

Closed pixelzoom closed 6 years ago

pixelzoom commented 6 years ago

In phetsims/vegas#65 (comment), we identified scenarios where we want to use a "dissolved" transition to go from a challenge back to the level-selection screen. This is used in games with a finite number of challenges per level and a "Start Over" button in the bar at the top of the screen.

Assigning to @jonathanolson to implement, since this is required for Area Model.

jonathanolson commented 6 years ago

Implemented with Transition/TransitionNode. Assigning @samreid for collaboration/review.

samreid commented 6 years ago

I created #11 for a more specific review issue. @jonathanolson can/should we close this one?

jonathanolson commented 6 years ago

Review in https://github.com/phetsims/twixt/issues/11 sounds good. @pixelzoom, is "Use TransitionNode for main game animations" sufficient? Is there anywhere it should be documented?

pixelzoom commented 6 years ago

@pixelzoom, is "Use TransitionNode for main game animations" sufficient? Is there anywhere it should be documented?

I'm not clear on what you're asking here. Please clarify/elaborate.

jonathanolson commented 6 years ago

I'm not clear on what you're asking here. Please clarify/elaborate.

What is the purpose of this issue? Since I implemented dissolving and used it in area-model, can this be closed?

pixelzoom commented 6 years ago

Yes, seems like this can be closed.