This site requires JavaScript, please enable it in your browser!
Greenfoot back
earnold
earnold wrote ...

2021/1/18

Tile matching game tutorial?

earnold earnold

2021/1/18

#
Hi Greenfoot Programmers, One of my fav games of all time was a tile matching game called 2-squared. It was around in the early 2000s. There are a lot of other tile-matching games out there, but this particular one and others close in its genre are fun. I'm curious if any of you have come across similar game code while programming or perusing tutorials. I'm interested in a tutorial about making a game like this in Greenfoot (as I'm not a professional programmer). I'd like to learn. Here is a screenshot of the game I used to play: https://www.mobygames.com/game/windows/2-squared. Just curious, and thanks earnold
danpost danpost

2021/1/18

#
I would suggest you start by: (1) creating a Tile class (as an Actor subclass); and (2) code your world to fill it with Tile objects; From there, you can work on randomly coloring the Tile objects created. If you have specific problems along the way, want your code looked over for advice or want to know how to continue, feel free to ask.
earnold earnold

2021/1/21

#
Thanks Danpost. It will take me awhile on weekends...
You need to login to post a reply.