mspraggs / potentia

Southampton Game Jam 2015
0 stars 0 forks source link

Negative Space #96

Open DivFord opened 9 years ago

DivFord commented 9 years ago

Working on the mid-ground tileset, I ended up with a situation where air blocks were rendered, but nothing else was:

negativespace

Got me wondering if we could play with negative space like this.

However, I also discovered this:

glitch2

glitch

The red dots in both images are marking the boundaries of the collider (it's the same place in the level). As you can see, we seem to be loading air blocks slightly to the right of where they should be. Doesn't affect gameplay, but seems like something we should fix at some point.

Fyll commented 9 years ago

Negative space sounds cool. Presumably, there'd be a special tile to use for the air, rather than just junk.

As to the slight shift, I've had to tweak the Block adding code a little to account for the hitboxes, and the new Blocks are in the right places (as can be seen in the .gif), so that's not a worry.

DivFord commented 9 years ago

Even in the old version, everything except air seems to be in the right place. It's only when you can see the air blocks that there's any effect.

I thought it might be fun to have a block that functioned as air, but looked like the inside of a building.

Fyll commented 9 years ago

I'm inclined to believe their in the right place now, due to the hitboxes being visible. If it was shifted, it should be visible there.

That should be fine. The only consideration you'd need is that you'd need to add air blocks behind everything that's neighbouring it, as the corners of things like stone would still show the background otherwise.