TomorrowPlusX
2005.01.06, 08:48 PM
So, many months ago I wrote a Mahjongg Solitaire game, to scratch an itch, since I didn't like any of the versions available for OS X, and I did like the free one that came with KDE. I wanted something simple, direct. No fancy graphics, no monkeys with fireballs, no nothing.
But then, after writing a mahjongg engine, I decided wouldn't it be fun if it were 3d, and then... well, I got carried away and made it have *physics*. So, when you get frustrated and give up on a game, it will scatter the tiles just like if you had tossed the board. Think "boxstack demo" for any physics engine, crossed with Mahjongg Solitaire.
Here's a fresh game:
http://home.earthlink.net/~zakariya/files/Yams/YAMS0.jpg
After giving up.
http://home.earthlink.net/~zakariya/files/Yams/YAMS1.jpg
It uses the Open Dynamics Engine for the scattering physics. Since there's quite a few tiles, it takes some horsepower to make them scatter smoothly. My PB 12" 1.3 Ghz is pretty decent, but I ran it on a G5 and it was nice.
So, this is basically abandoned. I made only one board layout, and the 3d code is pretty piss-poor. I had only started opengl programming about 6 months earlier...
Anyway, it's perfectly playable and you can add new tilesets and texture maps on your own. You can add them to the app bundle in Resources/ or you can add files in an identically laid out tree in %USER/Library/ApplicationSupport/YaMS
You'll have to examine the existing resources in the bundle to figure out my board layout file ( just a text file ) and the texture map layout for the tiles.
If anybody would like it, it can be downloaded here:
http://home.earthlink.net/~zakariya/files/Yams/YaMS.zip
If you have any troubles with it, I'm happy to help out. If you'd like to work on it, or mess with it, I'll upload the code. Right now I'm busy writing a more "real" game.
http://home.earthlink.net/~zakariya/files/Legion/Legion-6-1-2004-2.jpg
http://home.earthlink.net/~zakariya/files/Legion/Legion-6-1-2004.jpg
But then, after writing a mahjongg engine, I decided wouldn't it be fun if it were 3d, and then... well, I got carried away and made it have *physics*. So, when you get frustrated and give up on a game, it will scatter the tiles just like if you had tossed the board. Think "boxstack demo" for any physics engine, crossed with Mahjongg Solitaire.
Here's a fresh game:
http://home.earthlink.net/~zakariya/files/Yams/YAMS0.jpg
After giving up.
http://home.earthlink.net/~zakariya/files/Yams/YAMS1.jpg
It uses the Open Dynamics Engine for the scattering physics. Since there's quite a few tiles, it takes some horsepower to make them scatter smoothly. My PB 12" 1.3 Ghz is pretty decent, but I ran it on a G5 and it was nice.
So, this is basically abandoned. I made only one board layout, and the 3d code is pretty piss-poor. I had only started opengl programming about 6 months earlier...
Anyway, it's perfectly playable and you can add new tilesets and texture maps on your own. You can add them to the app bundle in Resources/ or you can add files in an identically laid out tree in %USER/Library/ApplicationSupport/YaMS
You'll have to examine the existing resources in the bundle to figure out my board layout file ( just a text file ) and the texture map layout for the tiles.
If anybody would like it, it can be downloaded here:
http://home.earthlink.net/~zakariya/files/Yams/YaMS.zip
If you have any troubles with it, I'm happy to help out. If you'd like to work on it, or mess with it, I'll upload the code. Right now I'm busy writing a more "real" game.
http://home.earthlink.net/~zakariya/files/Legion/Legion-6-1-2004-2.jpg
http://home.earthlink.net/~zakariya/files/Legion/Legion-6-1-2004.jpg