TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

Map editor: making a big selection fails near the edges of the map

Open borbware opened this issue 2 years ago • 8 comments

Near the edges of the map in the map editor, if you want to make a selection larger than screen, and start creating the selection holding down the left mouse button and then drag the screen with the right mouse button, the selected tiles change, see gif: mapeditor-bug

borbware avatar Aug 09 '21 23:08 borbware

Are you saying you are trying to make a selection WHILE scrolling the window?

joshgoebel avatar Nov 04 '21 23:11 joshgoebel

No, you can start making the selection before starting to scroll. Here're the steps to reproduce:

  1. Go to map editor, to the upper left room
  2. Try to select the whole room (from 000:000 to 029:016). You have to scroll in the progress, either with arrows or the right mouse button.
  3. See what happens

borbware avatar Nov 05 '21 00:11 borbware

No, you can start making the selection before starting to scroll.

That's what I meant... you're trying to move/change the viewport in the middle of a selection operation. I'd guess that was just never considered, but I can see how one would expect it to work. :-) Flagging as a bug.

joshgoebel avatar Nov 05 '21 00:11 joshgoebel

Fixed problem with selection, also added a background to the inactive zone (in other words, removed the infinity of the map in the editor). video5

nesbox avatar Mar 25 '22 12:03 nesbox

removed looping map? nooo, please don't! i'm making a game with a looping map and it's pretty much impossible to develop it without a looping map editor (or, at the least very very much more annoying). I'd rather have the old version with a minor bug than this.

borbware avatar Mar 25 '22 12:03 borbware

if you really want to implement this change, could you at least make the old functionality available as an option? Otherwise i'm stuck with old versions of TIC-80 as I really really need this for my current and future projects

borbware avatar Mar 25 '22 12:03 borbware

The map looping was very buggy and I decided to remove it to make it easier to fix the issue with the selection. Of course we restore the looping if you really need it :)

nesbox avatar Mar 25 '22 13:03 nesbox

I temporary reverted map loopping f9e2a247956e123708810d91ff3addd0943d1a0d Let's fix selection issue in the next version

nesbox avatar Apr 08 '22 12:04 nesbox