meth-meth-method / super-mario

Create a Super Mario game in vanilla JS from scratch.
http://bit.ly/2i7u5ks
656 stars 155 forks source link

Use underworld sprites for brickShrapnel #115

Open bouveng opened 4 years ago

bouveng commented 4 years ago

When destroying bricks in underground, the sprites from underworld should be used.

Screenshot 2020-06-13 at 03 27 52
pomle commented 4 years ago

I think this surfaces a problem with how levels is set up vs entities. With entities of different colors we explicitly say which should be there. We may want to pivot here and let levels have tiles called brick-underworld and brick-overworld instead of the color being inferred by the sprite sheet.