Showing posts with label animation. Show all posts
Showing posts with label animation. Show all posts

Saturday, October 11, 2014

Beta 27: Animation Speeds

Solitaire Till Dawn BETA 27 is now available from our Beta Program page.

We're getting down to the little stuff now, and I seriously hope that Solitaire Till Dawn will be finished and available for purchase within the next few weeks.

Beta 27 addresses an issue that a number of users have complained about: the feeling that the new Solitaire Till Dawn feels "sluggish" in comparison with the old one. Part of this is due to Apple's Core Animation package, which did not exist when the old version was current. Core Animation is designed to make animations look smooth, rather than to make things happen quickly; and it operates in the background, so that I can't always guarantee that animations will happen promptly.

But mostly, Core Animation uses a different paradigm for expressing how quickly an animation should happen, and that made it difficult for me to translate the old speeds into the new paradigm. I spent some time on it this past week, and I think b27 is a big improvement. Animations are now faster by default than they were in b26 and earlier betas, and it feels much more like the old STD.

But wait, there's more: I have added an Animation pane to the Preferences window. There's now a slider to let you choose your animation speed. The slowest setting is the speed of b26 and before; the second notch is the new, quicker default; and there are two even faster notches that you can experiment with. If you feel that b27 is too quick, go to the Animations pane and select the slowest setting. If you find it's still too leisurely, select a faster setting.

In addition, I've fixed a bug that could display a game's final duration as being one second shorter than it actually was. The bug happens only in rare cases. Suppose, for example, you play a game and win it in just a hair more than 60 seconds. The clock display in the status bar might still be displaying 59 seconds because that display hadn't quite been updated yet, so it would look to you like you finished in just 59 seconds. But your game would be correctly recorded in your statistics as lasting 60 seconds. This made it look as though your 59-second game was not being recorded correctly; but in fact, it really was a 60-second game properly recorded. It just wasn't displayed correctly in the status bar. In b27, care is taken to ensure that the clock display is fully up to date after you win a game.

There are also a number of new menu items, each of which does the same thing as one of the toolbar buttons. This is for Apple's Human Interface guidelines: you don't have to have all those buttons in the toolbar, but there should still be a way to use their functions. The new menu items let you do that.

The Last Beta?

So is b27 the last beta? Probably not, but I am pretty much out of bugs to fix and features to implement for this first release. Unless I hear something significant from one of you, or find some new problem or issue myself, any further betas will not be much different from b27.

I have promised to keep a free beta available until the finished product can be purchased in the App Store, and I will keep that promise. Beta 27 will expire at the end of this month, and if Solitaire Till Dawn is not in the App Store by then, I will put out a beta 28 with a later expiration date.

Sunday, July 20, 2014

Beta 20

Solitaire Till Dawn BETA 20 is now available from our Beta Program page.

What's Not Fixed

There are still a couple of crashing bugs left. Unfortunately I have not been able to reproduce any of them on my own machines yet. If I can't make it happen where I can study it, I probably can't fix it. But I haven't given up yet, and I intend to focus on these issues in the coming week.

There is only one currently-unfixed bug in the public Bug List: Bug ID 82. It's a cosmetic problem that happens only on older systems, and it seems to be an Apple bug. So far I haven't found a workaround for it, but I'll keep after it.

What's Fixed

Bugs 83, 93, and 94 are now fixed. But in addition to the bugs in the public Bug List, I have kept a private, unnumbered list of problems that you testers have mostly not noticed.

A lot of these unnumbered bugs are minor and/or cosmetic issues: it wouldn't be the end of the world if they weren't fixed. But I want Solitaire Till Dawn to be as smooth an experience as possible, so for b20 I put some time in on these little issues. I won't list all the changes here; there's a full list in the Read Me file for b20. Here are a few of the more important and/or noticeable ones:

Baker's Game: Many of you reported that Baker's Game gives a lot of false you-are-stuck notifications. That's fixed; I'm pretty sure now that if Baker's Game thinks you're stuck, you really are.

Readability: In response to quite a few requests, the numbers on the deck are now larger and easier to read.

Timed Games: Your "average time" in the All Statistics window was being calculated incorrectly, and has been fixed. Games that last longer than an hour now display the time in hours, minutes, and seconds instead of just minutes and seconds.

Animations: Wins are now reported after the winning move has finished animating, instead of instantly when you click the winning card. The fade-out-and-in animation on New Game has been improved, and should look more smooth now. Changes in window size are now animated, although I have to say that it isn't too smooth. (This seems to be true for Apple apps as well as for Solitaire Till Dawn, though.) The Game Drawer now slides in and out more smoothly.

Tour: The Solitaire Till Dawn Tour has been reworked. There are a couple of new pages covering preferences and keyboard shortcuts; the images in the Tour window are now larger and more clear; and there are retina versions of all of the images. The Tour window is now located near the upper-right of the game window, to avoid covering or being covered by the All Statistics window, the Game Info panel, or the Game Drawer.

Saturday, May 10, 2014

Beta 16

Solitaire Till Dawn BETA 16 is now available from our Beta Program page.

This release contains some important improvements, along with a list of smaller stuff, as follows:

Snow Leopard Again
With beta 15 I thought I had restored Snow Leopard compatibility, but a lot of you still had serious problems. I've been able to reproduce and study those problems, and I think I have them fixed. Snow Leopard users, please try b15 and let me know how it goes. I wouldn't be surprised if you found some small bugs (I found and fixed a few already) but you should now be able to actually play solitaire again!

"Skip Long Animations" is back
In fact, it's better than before. The Miscellaneous tab in the Preferences window now lets you choose from three levels of animation: Show all animations, Skip long animations, and Skip more animations. The third option not only skips the longer animations when you deal, it also suppresses the "riffle" effect when you're dealing in games like Klondike and Canfield.

Bug 77: Responsiveness
Some games were kind of sluggish in some ways. TriPeaks was one example: after dealing a new card, it was noticeably slow in updating the available-card highlighting. Beta 16 should now be properly responsive.

Bug 76 and 78: Status Bar Stuff
Resizing the status bar tended to make fields overlap, cut them short, and make the font-size buttons stop working correctly. This should now all be fixed. 

Bugs 22, 81, 84: Detecting stuck games, and early wins
The games The Towers and Manx should no longer tell you you're stuck in certain situations when you really aren't stuck. And a long list of games (see the Read Me file in the b16 download for the list) should now correctly report early wins in more situations.

As always, please download, try it out, and let me know how it goes! And remember: when you send me a bug report, please mention which version of Solitaire Till Dawn you are using, and which version of Mac OS X you are running. Thanks!

Thursday, March 6, 2014

BETA 13: No Crashes (we hope)

Solitaire Till Dawn BETA 13 is now available from our Beta Program page.

Important: Some of b12's problems can persist in a saved game. We recommend starting a new game the first time you open b13, instead of trying to play the saved game from b12. Otherwise you may still see crashing or incorrect behavior, even when using b13.

What's New
As you all must know by now, the previous release b12 had serious crashing bugs that affected nearly all users. We believe that b13 will be much more stable. In addition, we believe we have fixed the problem of inappropriately face down cards that many users saw on Lion.

Some of you have reported seeing the same shuffles over and over in b12. This is a side effect of the crashes: if Solitaire Till Dawn does not quit properly, it can't save any information about which shuffles you have already played. If it doesn't crash, you shouldn't see repeated games.

Finally, we have made some subtle adjustments to the pacing of the animations; we hope that this will make them more attractive, and even perhaps more informative by making it more obvious what happens when you deal in some games.

Update: Some of you have found that there are still cases where cards are incorrectly face down, and a few of you have experienced crashes. The face down cards seem to happen when rapidly undoing or redoing, either by repeatedly clicking the Undo or Redo buttons or by repeatedly using their keyboard shortcuts. It doesn't seem to happen if you just click Undo to Snapshot or Redo to Snapshot. The face down cards still work as if they were face up; and you can get them to show correctly by changing the card size (after which you can change it back to the size you were using before).

Update: Also, I have learned that you can cause a crash pretty easily if you click the "New Game" button before your current game is quite through moving cards around. To avoid this crash, always wait a second or so after all the cards have stopped moving before trying to start a new game.

Testing
We tested this release, a lot. So why am I so carefully saying "we believe we have fixed it" instead of just "we fixed it"?

Most of the crashes and face down cards in b12 were due to race conditions in concurrent code. We know that many of you won't know what that buzz phrase means; that's okay. The important thing is that this kind of problem does not always behave exactly the same way every time, nor on every machine, nor under every version of Mac OS X. It can also behave differently simply because one is trying to debug it (the dreaded heisenbug).

As you can imagine, this can make it very difficult to be certain that a problem is really fixed. So while we have done a lot of testing of different games on different Macs with different versions of OS X, all we can really say for sure is that we haven't seen b13 crash or seriously screw up the graphics yet. To be certain (of either success or failure), we need you guys on your hundreds of different Macs, playing hundreds of different games. If you see a problem, do as you've been doing: tell us about it! And if you haven't seen any problems after using b13 for a few days, tell us that too!

What Isn't New
This release still will not run successfully on Snow Leopard (Mac OS X 10.6.8). We intend to try to restore Snow Leopard compatibility in a later release, but for now it was important to fix the serious problems that everyone was seeing, regardless of which OS they use.

A word about bug reports
Recently we've been telling you not to send us any more crash reports for b12, because we already had more than we needed. But now that's over: for b13, we want every crash report you see, thanks!

I'd like to remind you all that when you send us a bug report, please include at least the following information:

  • The beta version you were using
  • The version of Mac OS X you were using
  • The game you were playing (Klondike Familiar, Free Cell, Canfield, or whatever)
  • A careful description of what happened and why you think it was wrong.
You cannot send file attachments using the Bug Report form. If you need to send us an attachment (such as a screen shot), you can send us a description of the problem and mention that you have additional files to send. We'll reply and tell you how to send them to us.

If you experience a crash, your Mac will display a crash report for you, and ask whether to send it to Apple. Here's what to do:

  • Don't send it to Apple. They can't do anything about it, and they will ignore it.
  • Do copy all the text from the window, paste it into out Bug Report form, and send it to us.
Thanks!

Tuesday, March 4, 2014

Beta 13 Progress

In my last post, I said that I wanted to delay releasing beta 13 until it felt really solid and stable: that is, I want it to really work again. It was working well before I rewrote all the animation code; I want to get back to that point.

And I'm close, now. I believe I've got all of b12's nasty crashing bugs fixed (although I'm still testing to try to be more certain). I have the big face-down-cards bug that Lion users have been seeing pretty much fixed, too. And I have been working hard on putting more polish on the animations, especially the timing so that everything will seem to move smoothly, neither too fast nor too slow.

Before I send a beta out to all of you, I usually try to test it myself. The last couple of betas didn't get much testing, for reasons I won't rehash, and the result is what you've seen: lots of serious bugs that I should have found and fixed before you ever saw them. For b13, I have time to be much more careful about my testing, and that is what I'm working on now.

But testing takes time. You are running systems that vary all the way from Snow Leopard to Mavericks: that covers four different major releases of the Mac OS. Solitaire Till Dawn behaves differently on every one of them. So multiply 100 games times 4 Mac OS versions times several plays per game, and you can get a sense of how much testing I have to do to even pretend that I'm being thorough.

I had hoped to get b13 out very soon, perhaps even this evening; it has been running very well on my Mountain Lion system that I use for development. I had hoped that it would run equally well on Lion and Mavericks, but I am testing first to make sure. And guess what: I've found bugs that show up in Lion but not in Mountain Lion or Mavericks, and I've found bugs that show up in Mavericks but not in Mountain Lion or Snow Leopard!

I found those bugs just a little while ago, today. I will spend tomorrow working on them and see what kind of progress I can make. They aren't killer bugs: mainly they are fairly rare occasions when cards show up face down instead of face up like they should. I know I said I had that one fixed, and I mostly have: the bug is now rare instead of common. But "rare" isn't good enough, of course. With a little luck I can get them fixed in just a day or two. If I can't, I will put out b13 anyway, since it is a huge improvement over b12; so either way you won't have to wait too long.

In the meantime, please don't send me any more bug reports about b12. I already know it's very buggy and crashy. I already have far more crash reports than I need or can use. Wait for the next beta, please, and then you can start sending me reports again. Right now they'd just be wasting your time and mine. Thanks!

A quick word about Snow Leopard (Mac OS X 10.6): beta 13, like beta 12, will have serious problems on Snow Leopard. I know about them, I intend to fix them, but not in this release. Maintaining compatibility with Snow Leopard is quite difficult, and most of you aren't using it. I need to get a stable release out for the majority, and I need to do it fairly quickly, so Snow Leopard will have to wait.

Thursday, February 27, 2014

Beta 12: Returning to Stability

Solitaire Till Dawn BETA 12 is now available from our Beta Program page.

This release is valid through the end of March.

Once again, we are releasing a beta in a certain amount of haste, because the previous beta will expire in just a day or two. We had hoped for beta 12 to be really solid, and to fix more of the "small bugs" that don't cause crashes. And we do think this release is a big improvement, with a long list of bug fixes since beta 11.

But it's not perfect. We have seen one crash while using Undo to Snapshot to rewind a long game of Forty Thieves back to the start. We're sure it can happen with other games as well. But it seems to be difficult to reproduce, because we've had no problems doing the same thing with other games of Forty Thieves, and in other solitaires, in repeated tests. We do have a notion of what the problem is, and we will be working on it.

Also, we apologize to all of you who are running Snow Leopard, but beta 12 is broken on Snow Leopard (10.6.8) just like b11 and b10 were. We do intend to address this issue and restore compatibility with Snow Leopard, but we didn't have time to do this for beta 12.

In addition to fixing a large number of bugs from the Bug List, we put a fair amount of work into improving some of the animations in b12. Those of you who complained about the odd "twisting" effect when dealing in Klondike and related games should see a more normal-looking animation in b12. We have also adjusted some of the timing, to make sequences of animations (such as refilling the deck and then dealing a new packet from the deck onto the discard in Klondike) more clear.

We are painfully aware that the animation improvements we introduced in b10 have seriously impacted the stability of Solitaire Till Dawn. Betas 10 and 11 were not really "beta-quality" releases, because there were enough problems to seriously violate the beta rule of "mostly working, most of the time". And b12 still does not have that quality for Snow Leopard. But we're working hard to get that reliability, robustness, and stability back.

Stay tuned, and as always, thanks for your patience, your hard work on our behalf, and your support!

Tuesday, February 4, 2014

Beta 10: Starting Over!

Solitaire Till Dawn BETA 10 is now available from our Beta Program page.

No, we aren't really starting over. But in the two weeks or so since beta 9, I have made some major changes deep inside Solitaire Till Dawn.

What's New
The main thing you may notice is that dealing (when you click the deck, or press Tab or ⌘D) is much faster. For this reason, I have disabled the preference setting for "Skip long animations". I don't think it's needed any more, because the new animations are quick enough that they shouldn't feel like they're slowing down your play. I have not yet removed the code for that preference entirely, because if there's enough backlash I would be willing to restore it. But if you've been using that option, please give the new animations a chance before you complain—thanks!

I didn't just "speed up" the animations. I actually completely ripped out the old animation code and rewrote it. As a result, pretty much all animations should look much more smooth now.

Changes to the animation code may sound like they wouldn't affect anything else, but that's actually not true. These changes have had a huge effect on all of the user interface code. As a result, things like score and statistics updates, card highlighting, and such have also been affected. I believe that I have fixed a lot of old bugs in doing this. If I'm wrong, of course, let me know!

Possible Instability
Be warned: there may be crashes. In this kind of code, crashes can occur intermittently and be difficult to reproduce. I have tried to be thorough in testing the changes and I think I have all the crashing bugs out; but I've been wrong before and could be again. If you do get a crash, please send me the crash log!

Expiration Dates
Beta 9 is set to expire this weekend. Beta 10 will be good through the end of February.

Server Downtime
Finally (because everything happens at once), our old server at semicolon.com has been getting flaky. We are in the process of replacing it with a spanking new server at a new location. Until the new server is up, there may be periods when we cannot reliably receive email, or when you cannot download a new beta.

In the meantime, we have placed the download for beta 10 on a temporary server in hopes of avoiding problems with the old server. To get it, go to the Beta Program page and click the download link as usual; but then you'll see a Web page and you will have to click a link on that page to actually begin the download. Downloading may also be slower than you're used to.

We apologize for any interruption in service, and we'll be back online as quickly as possible.

Okay, I think that's all for now. Thanks!