0 votes

I'm create gems puzzle game, in my game there is requirement that 2x2 matrix gem will group then it will convert in power gem.

What i want to achieve is :


What should i do to achieve this ?

in Engine by (123 points)

The image doesn't display.

I don't quite understand the "effect". You want to go from 4 small sprites to a big one ?

@TheFamousRat yes, it can be done with this 4 gems or i need another big gem image for that?

1 Answer

+1 vote
Best answer

Have you checked this tutorial?


It gives you an idea of how to achieve what you want. He doesn't check for 2x2 matrix match, but you could just adapt his script to also check for a 2x2 match. I hope it's useful for you ;)

by (58 points)
selected by

Many thax @xpartano.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.