mspraggs / potentia

Southampton Game Jam 2015
0 stars 0 forks source link

Killing Blocks #42

Closed DivFord closed 9 years ago

DivFord commented 9 years ago

@Fyll : I'm setting up the tiling refresh like we talked about, but it mucks up every time I destroy a block. When blocks get destroyed, are they replaced with air blocks, or just removed altogether?

Fyll commented 9 years ago

At the moment they're just destroyed for good (which is a good point, I should probably change this). This'll need sorting out at some point, as it makes air viscosity wierd.

DivFord commented 9 years ago

Right. I'll push what I have, but it won't work until that's fixed.

Fyll commented 9 years ago

Okay, I've pushed a version that replaces the destroyed block with an air block.

DivFord commented 9 years ago

Did you test it? Because it seems to be removing all non-air blocks...

Fyll commented 9 years ago

Oops! I thought you said it wouldn't work, so didn't bother. As it happened I tweaked a different bit of code and accidentally put all of the blocks in the top left corner. It works now.

DivFord commented 9 years ago

I meant the tiling wouldn't work. Mechanically it should be fine.

DivFord commented 9 years ago

Tiling works correctly now. Yay.