Just released a new version that includes the first implementation of animation (sliding cards in Solitaire, Pyramid and Golf). So far all card movements have been one-shot "snaps" to the new location. This can be distracting when trying to follow the flow of the game. Card animation is the last feature that the native Windows version of Quick Solitaire has that the web version does not. Well that is about to end.
Implementing animation is different in a web application than in Windows so it took some time to get familiar with the techniques in JavaScript. Turns out my web implementation is actually better than my Windows implementation since I needed to re-architect how the animation works resulting in more flexible and scalable code.
Animation also helps you better understand the rules of the game since where the cards come from and where they go becomes more obvious.
There is more animation work to do so watch for updates.
No comments:
Post a Comment