bluelotus03 / Save-the-Holiday

🎅 Collect all the gifts and get to the North Pole!
https://savethe.holiday
0 stars 1 forks source link

Sun beam box collision #37

Open bluelotus03 opened 2 years ago

bluelotus03 commented 2 years ago

Sun beam collides with box = more melted version of that box (reverse scale below)

Box scale (grass -> ice): block-5.png -> block-2.png -> block-3.png -> block-4.png

Once grass, collision = destroy box

bluelotus03 commented 2 years ago

Tried this on lines 529 - 545 image

Not seeming to do anything, so commented out for now.

bluelotus03 commented 2 years ago

I think this may have to do with the blocks making them switch directions May have to do a case, like if there are no blocks, having a Y coordinate that they can't pass/go opposite direction of