In this technology tutorial, we learn how to code a glass block exploding into pieces for this videogame animation effect. This feature can be useful in videogames when your character hits an obstacle or immediately before the game is over. We use loops, clones and variables to create the desired #animation #effect.