I have come to the point where i need my enemies in my game to explode but dont really know how to do this? My game is a pixel games so it dont need to be so advanced i just need to spawn like 20 small boxes(pixels) and shoot them in all directions. But dont know how to start, in my collider i have:
fixture.onBeginContact and where i remove the entity but i also need this explosions. Does anybody have a tip to get me started?