Page 1 of 1

BUG: floating ME/shadow

PostPosted: 25 Apr 2012, 20:24
by ctdabomb
well, kind of....
ME/shadow can stand on a block even when its feet are off of it.

Re: BUG: floating ME/shadow

PostPosted: 26 Apr 2012, 13:31
by odamite
Hello ctdabomb,

First off here's the reason:
bb.png
bb.png (15.18 KiB) Viewed 7856 times

So, the collision system of meandmyshadow is based on bounding boxes which are basically rectangles. This is because it's fast and simple to do and it works. This issue could be solved by making player's bounding box smaller but this would change behaviour with spikes. I personally think that all should be kept as they are now.

Anyway thank you for taking this up.

Re: BUG: floating ME/shadow

PostPosted: 26 Apr 2012, 13:42
by ctdabomb
oh, didn't realise about the spikes. could you just change the hitbox/bounding box for the block?

Re: BUG: floating ME/shadow

PostPosted: 27 Apr 2012, 09:39
by odamite
Hello,

Sorry but changing block's bounding box is out of the question! That would mess up everything in the game...

Currently I think that everything is all right. We can change player's bounding box if it's necessary. I would like to hear opinions from other people on this subject!

Re: BUG: floating ME/shadow

PostPosted: 27 Apr 2012, 09:46
by acme_pjz
Hi everybody,

IMHO we shouldn't change any bounding box because this will break old record files and some levels :| Maybe we should give them a big foot? :lol:

Re: BUG: floating ME/shadow

PostPosted: 27 Apr 2012, 18:18
by ctdabomb
acme_pjz {l Wrote}:Hi everybody,

IMHO we shouldn't change any bounding box because this will break old record files and some levels :| Maybe we should give them a big foot? :lol:

sure :D
or we could just redraw the people, IMHO, they are quite ugly.

Re: BUG: floating ME/shadow

PostPosted: 28 Apr 2012, 06:47
by Edward_Lii
Hello ctdabomb,

ctdabomb {l Wrote}:sure :D
or we could just redraw the people, IMHO, they are quite ugly.

They might not be the best looking, but if we redraw them we would have the same problem unless the feet are as big as his head. :p
I think the characters are fine how they are right now.

One possible solution would be to add a "balancing" animation/frame for when the player or the shadow is on the edge of the block.
I'm not keen on this idea, because I think it will be annoying to see the player balance every time he walks of a block.

Re: BUG: floating ME/shadow

PostPosted: 28 Apr 2012, 09:45
by MCMic
Prevent the player from going off the block would break most of the levels I made and also most of the ones I played…

Re: BUG: floating ME/shadow

PostPosted: 28 Apr 2012, 10:09
by Edward_Lii
Hello MCMic,

MCMic {l Wrote}:Prevent the player from going off the block would break most of the levels I made and also most of the ones I played…

I didn't say that the player should be prevented from walking off.
My suggestion was to leave the physics intact, but change the visual appearance.

So in case of the screenshot, the feet of the player will be on the block and the player balancing on the edge.
But I don't really like this idea, best is to keep it as it is.