supertux icon indicating copy to clipboard operation
supertux copied to clipboard

Fix some enemies not going down slopes

Open MatusGuy opened this issue 1 year ago • 4 comments

Some enemies with big hitboxes didn't go down slopes. This was because the max drop height was too small. The max drop height for smart enemies is now width / 2.

I also added LedgeBehavior, which can be used with WalkingBadguy::set_ledge_behavior, instead of setting numbers like -1, 16 or 600

MatusGuy avatar Feb 18 '24 11:02 MatusGuy

AWit what

MatusGuy avatar Feb 18 '24 11:02 MatusGuy

Since you set it to "draft" you still want some reviews or... we wait with that?

Rusty-Box avatar Feb 18 '24 11:02 Rusty-Box

I set this to draft because something went horribly wrong with the Git side. I'll fix this shortly

MatusGuy avatar Feb 18 '24 11:02 MatusGuy

Should be good now

MatusGuy avatar Feb 18 '24 12:02 MatusGuy

Very good PR, a-ledge-edly.

tobbi avatar Feb 18 '24 17:02 tobbi