Rexrainbow Board series tutorial #3 Chess remove, drop, and add row

  • 15 favourites


Attached Files

The following files have been attached to this tutorial:



5,643 visits, 11,405 views



This tutorial hasn't been translated.


This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Chapter 1. Chess Remove


In last tutorial we've successfully find matched chess in match-3 and L-shape patterns. In this tutorial we will teach you how to remove those chess, drop them down, and add a new row of chess on our board.

Before we start, we need to refactor our event sheet in order to make it a structural design. Please open the capx file which you made in last tutorial, add a <Function> plugin to your project, and edit the following parts:

In the above event sheet we moved match-3 logic into "match3" function, and moved L-shaped logic into "matchL" function and call them every 1.0 seconds. In each of the <Matcher> event, we destroy chess after flashing them for 0.5 seconds. Push <F4> to run layout, now you can see the matched chess are removed after flashing for 0.5 seconds.


  • Order by
Want to leave a comment? Login or Register an account!