lba2remake icon indicating copy to clipboard operation
lba2remake copied to clipboard

Push Objects

Open xesf opened this issue 4 years ago • 6 comments

Allow Twinsen to push objects like the Warehouse Crates in LBA1.

Preview here: https://pr-635.lba2remake.net

xesf avatar Jun 01 '21 21:06 xesf

Hmm this seems to allow pushing things that shouldn't be able to be pushed. Try the protection spell cave with those boxes you can push, you can also push the blue rocks which you shouldn't be able to.

slwilliams avatar Jun 02 '21 20:06 slwilliams

Thanks for looking. Weird bug, I will need to check the actors props and see what's going on.

xesf avatar Jun 03 '21 08:06 xesf

Nice work. An improvement that we'll need for LBA2 is the ability to push the boxes sideways. Right now it's only axis-aligned movement it seems.

agrande avatar Jun 03 '21 09:06 agrande

Totally forgot it was a thing in LBA2 :D

xesf avatar Jun 03 '21 14:06 xesf

ah ok just tried to complete the warehouse puzzle in lba 1 and you can push the crates inside of each other i.e. we need collision detection between pushable objects.

slwilliams avatar Jun 05 '21 08:06 slwilliams

That means I broke it again with my changes from yesterday to fix the sprites collision in the cave, because the crates were colliding with each other. Tricky to get this working properly :)

xesf avatar Jun 05 '21 14:06 xesf

Looks like it works fine for both games now. LBA2 still missing the side push, but lets do that one later.

xesf avatar Jul 29 '23 16:07 xesf