September 25, 2007
Tile Match - My First Flash Game
Tile Match - My First Flash Game
It took me a little bit longer than I expected, but I’ve got a Flash game up and running. I’d forgotten how many little things crop up when making a game, such as making sound effects, testing and all the other random things that get in your way. Having 4E6 announcements along the way didn’t help!
Here’s a link to a webpage for the game; it’s pretty much the same as the one that Flash spits out during its publishing phase as I haven’t yet decided what format I’ll go with for these things.
The game itself is a simple tile matching game; find pairs of matching tiles by clicking on them. It’s pretty much the same as the game described by Gary Rosenzweig in chapter three of his ActionScript 3.0 Game University book, except I prettied it up a little bit.
I’d love feedback on the game! I’ve tested it myself over the Internet and it seems to work fine, but if there’s anything obvious I need to fix let me know. I’m new to whole Flash thing so I’m sure I’ve committed a few blunders in there.
Link again in case you missed the other two.
(You might need to get the latest Flash player for the game to work.)
8 Comments on Tile Match - My First Flash Game
September 26, 2007
Lachlan Littlemore @ 9:35 am:
Umm, I only get a black page with a “Get Flash” link at the top.
No game for me.
David "Trapper Zoid" @ 9:49 am:
Darn. Do you have the latest Flash player? You’ll need Flash Player 9 for the game to work. I’m not sure if you need the absolute latest version or not.
If it still doesn’t work, please tell me what operating system and browser you’re using, and I’ll see if I can fix the problem.
Kevin "Kaisel" G. @ 2:43 pm:
It works for me. Well made, nice graphics, and fun for the type of game it is. Maybe some sort of consequence for taking too many matches, but other than, it’s nicely made.
September 27, 2007
Steve @ 3:49 am:
Despite being one of those “example-y” games, I enjoyed playing a game of it. The minimalistic-but-cute sound effects helped a lot, as did the nice art of the Start and Finished screens. A few suggestions for version 2:
-> Scoring (total attempts; highscores?)
-> Different/choosable tile-sets (I tend to work better with matching symbols than numbers)
-> Difficulty levels (ie. changing the playing area to NxM tiles)
-> Time limits? (probably optional)
-> Display matched cards down the right side of the screen (to make the playing area feel less empty)
Overall nicely done. Keep ‘em coming!
David "Trapper Zoid" @ 10:25 am:
Thanks for all the replies; it’s good to know it works!
The original version in the book actually had a clock and scoring system, but I skipped it in my implementation; partly because it was superfluous to the gameplay, mostly because I’m terrible at finding matches ^_^. Gary Rosenzweig’s version also used symbols, but since my plan is to redo everything as a learning exercise I had to find an alternative, and it’s just so time consuming creating eighteen symbols.
I can’t take much credit for the code side of things, as the game is pretty much the same as Gary’s. My only major contribution was the animation for matched tiles falling off the screen - I had to modify a bit of the rest of the code to get that to work. The graphics and sound effects are mine though.
I’m probably not going to add much to these games after I post them, since they’re really just learning exercises and gameplay-wise will be very similar to the ones in the book (expect to see many of these crop up over the Internet as people buy Gary’s book). Once I get through enough examples I’m hoping to be ready to start something completely new.
September 28, 2007
Lachlan Littlemore @ 12:53 pm:
Uhh, it works now. T’was because I’m on a new PC at work and it didn’t have flash. Duhh!
Anyway, really nice art style!
October 27, 2008
Tania @ 9:16 am:
Question? Do you have a tutorial for this or suggestions on where I could go to find a tutorial on how to create a memory type game. I can’t seem to find a tutorial for Flash 8.0 and designing a memory game. Any advice or suggestions that would steer me in the right direction would be very much appreciated!
Thanks,
Tania
David "Trapper Zoid" @ 11:04 am:
The source I used for these games was the book from Flash Game University: http://flashgameu.com/
However this book was for ActionScript 3.0, which is only available in Flash 9 and above. There are significant changes between ActionScript 3.0 and ActionScript 2.0, so the code might have to be changed extensively.