Playing with Grids - Part 02
- Toby the Cat
- Mar 7, 2024
- 1 min read
Updated: May 1, 2024
Time: 11:05
2D array's didn't work out the way I wanted so just decided to keep it to making perfect squares, if a line isn't fully complete blanks are just used to fill out the rest of the row. Small sacrifice to make and probably looks better in the long run. With all the work thats been put into this little project so far decided to turn it into a simple match 2 game. No actual gameplay yet but got the tiles to hide themselves and uncover.
Time: 14:27
Little bit more advanced, once 2 cards have been picked they are now marked as cleared (next step is to only do this if the two cards match). When picking cards you also can't pick the same card twice or and a card that has been cleared. Happy with progress so far as this has been all my own work.
Time: 18:38
Done allot of tidying up to the coding, sprites and layout. All working as I intended so far. Final thing now is working out how to shuffle the colours around and make sure all scales right.
Time: 20:34
Random sprite placement showing in action and first time finding all the pieces now that they're random to test it still works. Last ideas to add include:
A start screen.
A limit on time and or moves.
A lose screen.
A win screen.
Ability to increase or decrease grid size and number of tiles.
Comentarios