A picture of me taking it easy

I'm currently on parental leave till September. During that time, I will not read any e-mail or blog comments.

Until I'm back, please read through my archives, take a look at my code/applications and check out my pictures.

Have a great summer, and a splendid winter to you aussies and kiwis! :-)

Memory - an Adobe AIR application

Published on Monday, April 14th, 2008

For some time, I’ve wanted to play around with Adobe AIR and see what it’s like. I’m also a sucker for very simple, yet addictive, games, so now was the time!

Actually, this all happened because of two reasons:

  • I was playing regular Memory with my oldest daughter, and being a lazy bastard, I found it to be hard work to turn back the cards when I/she was wrong, and to get them in a good random order for each play.
  • I wanted to learn how to develop with Adobe AIR, and see what I could do with it.

The result of this is the Adobe AIR Memory game! I had quite a good time developing this, and adding things like a timer, keyboard support for choosing a card and different games (i.e. different card themes: Travel and Barbapapa so far) didn’t make things less fun!

If you haven’t installed Adobe AIR yet, just download the latest version of Adobe AIR, install it and you’re good to go!

Then download Memory 0.5 0.6 and play till the fingers bleed!

PS. Naturally, there’s a boss mode as well, so if you need to hide the application fast, just press "B" and it will minimize itself. :-) DS.

12 comments

  • Grant Palin
    April 14th, 2008 at 0:56

    Nice app! I am lousy at Memory in general, but the app is impressive nonetheless? How long did it take you to build it?

  • Lim Chee Aun
    April 14th, 2008 at 3:12

    Interesting app. Just a slight tip that you can disable cursor selection with -webkit-user-select: ignore; so that the app feels more like an app. It’ll be even better if boss mode hides the app to the system tray. :)

  • Georges Jentgen
    April 14th, 2008 at 6:23

    Really nice app! Just played a few rounds. I love memory :) The fastest round was 25 seconds. Is that good? :)

    Now I have a good game to play when I need some time off work :)

  • Robert Nyman - author
    April 14th, 2008 at 12:42

    Thanks, I’m quite happy with it! :-)

    Grant,

    Well, I spent little too much time adding features, re-writing certain parts. All-in-all, though, I’d say in the vicinity of 15 hours or so.

    Lim Chee Aun,

    Thanks for the tip about the font! I guess I need to think about if I should optimize the boss mode… :-)

    Georges,

    I think that sounds good, and I’m glad to hear that you love memory! I’ll add some more games/image sets in the next version. :-)

  • Andreas Rydberg
    April 14th, 2008 at 18:10

    No version for Linux yet. :(

  • mdmadph
    April 14th, 2008 at 18:49

    No version of this app for Linux, Andreas, or no version of AIR? Because if you go to labs.adobe.com, you can download the Alpha version of AIR for linux — I use it on Ubuntu, and it works great!

  • OJ
    April 14th, 2008 at 23:03

    How apt that you’d made a game called Memory — the very thing that AIR hogs/overallocates :)

  • Harmen Janssen
    April 15th, 2008 at 8:15

    Nicely done, Robert! :)
    I’d like to experiment with AIR too. It’s a great new technique, if you ask me.

  • Robert Nyman - author
    April 15th, 2008 at 11:14

    Andreas,

    As mdmadph said, Adobe labs has an alpha version of Adobe AIR for Linux. Try it out and let me know how it works! :-)

    OJ,

    Ha ha! Well, pretty true for the moment. I’m sure they’ll work on that, and I’ve heard it’s mostly related to opacity usage.

    Harmen,

    Thanks! And yes, it’s an easy way to target all platforms in an easy manner. :-)

  • Robert Nyman - author
    April 15th, 2008 at 13:46

    Lim,

    -webkit-user-select: ignore didn’t work, unfortunately. I guess it’s a matter of that version of WebKit there is in Adobe AIR 1.0.

    This, however, does work:

    -khtml-user-select: none

  • Lim Chee Aun
    April 15th, 2008 at 14:18

    Robert,

    I see. Never notice that change between beta versions of AIR and AIR 1.0. A weird change as well. Thanks :)

  • Robert Nyman - author
    April 15th, 2008 at 14:21

    Lim,

    Yep, most definitely. I can’t wait for Adobe AIR to get a new version of WebKit with lots of goodies. :-)

Share your thoughts:

HTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> . If you want to display code examples, please remember to write &lt; for < and &gt; for >.

Comment preview

All the proceeds from ad clicks will go to charity. However, if you like to give something directly to charity yourself, I recommend choosing from the listed ones below.

  • Save the Children
  • Red Cross
  • Cancer Research UK
  • WWF

Top results