BEEmod / BEE2.4

Tool to mod Portal 2's Puzzlemaker
279 stars 62 forks source link

Allow freely positioning palette items #1187

Open vrad-exe opened 4 years ago

vrad-exe commented 4 years ago

As stated in the title, allow putting items in any position on the palette, instead of only the default left-to-right, top-to-bottom order. Blank slots would be stored in the palette file as empty lines.

For example:

"Items"
    {
    "ITEM_BUTTON_FLOOR" "0"
    "" "0"
    "" "0"
    "" "0"
    "ITEM_TBEAM" "0"
    "" "0"
    "" "0"
    "ITEM_BEE_LOGIC" "0"

Would load as: BEE2_2019-09-27_17-14-50 Functionally this doesn't add anything, but it's already supported by the puzzlemaker itself and seems like it would be relatively easy to implement. I'm an Android user, so not being able to do this has always felt weird to me.

TeamSpen210 commented 4 years ago

Note how signage lets you do this -that's a rewrite of the item-dragging logic. The palette code is probably one of the oldest bits, it's pretty messy so I'll need to disentangle it before replacing.

vrad-exe commented 1 year ago

Not sure why this got closed, that's an unrelated commit

TeamSpen210 commented 8 months ago

Minor update, the palette format now supports this internally, but the UI doesn't yet.