Create object with desired size. Object A
Change its polygon shape points to adhere your needs.
Add sprites for walls, leave original polygons.
Eventsheet
event: object A on collision with Walls
action1: object A spawn boom object
action2: destroy object A
Thats the gist of it