Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
Alright, hopefully I can actually get a project into the POTM this time. This will be significantly less impressive than my USB stuff (at least IMO), but hopefully it won't take too long to finish.

If it wasn't immediately obvious from the title, I'm making Mahjong Solitaire for the CE. I'm writing it in C, as assembly's speed isn't a necessity and I find C a bit easier to use for larger projects than ICE. Graphically, I'm loosely basing it off of GNOME's mahjongg, but I am implementing the backend stuff differently.

My implementation uses a 3D array of tiles, with each tile consisting of two bits of "offset" data and six bits of type data. If an offset bit for a particular location in the array is set, the tile is actually located either half a unit to the right or half a unit to the top of where it would normally be. This probably isn't the best way to store the locations of tiles but I'll roll with it.

I'm finished with tile rendering for the most part, here's an sample image which uses the one sprite that I've made so far:


Still left to do: the remaining 35 sprites, formatting starting layouts, generating a level, determining whether a tile is removable (which I have the logic planned out for), handling user input, storing high scores, and the main menu.
Nice progress. Keep up the good work.

Btw, I initially thought this was Minecraft. Very Happy
Another status update: I have most game logic done, including the layout format, level generation, tile removing, and user input handling. Still left to do are the remaining 35 sprites, more layouts, a menu, appvar layout (and tile texture?) loading, and win/lose detection.


Please ignore the temporary number faces. Additionally, a infobar has been added to the bottom of the screen since the screenshot was taken.
Wow that's looking really good! I like the isometric feel Smile
Another status update: I've added all of the sprites, updated the UI a bit, and added a win condition.
Text is really boring so here's a screencap:

All of the tiles were made by me in GIMP. They aren't perfect but not as difficult to tell apart as I though they would be. Here's the full tileset:
Nice username and game, glad to see people still make programs for TIs.
Looks like a few tiles have incorrect isometric views Razz But other than that, pretty spiffy! I'll have to learn how to play haha.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are GMT - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement