tiled icon indicating copy to clipboard operation
tiled copied to clipboard

Jump to location by tile coordinates

Open bjorn opened this issue 9 years ago • 9 comments

It would be nice if you could jump to a location on the map by entering the tile coordinates.

bjorn avatar Sep 25 '16 12:09 bjorn

Somewhat related or not, in some cases it would be nice to have a "tile ruler" to both axis of the map similar to the rulers in GIMP or other image editors.

JFonS avatar Sep 27 '16 11:09 JFonS

@JFonS In terms of navigation it's related, but of course it's an entirely different feature. A ruler is also mentioned at issue #368.

bjorn avatar Oct 25 '16 12:10 bjorn

I might take a look on this, have you done any progress on this?

MoctezumaDev avatar Jan 10 '17 15:01 MoctezumaDev

@leonidax Not yet, feel free to have a go at it!

bjorn avatar Jan 10 '17 20:01 bjorn

Hey, @Jchinjm and I are students who have to contribute to an open source project for an assignment. We were wondering if we could contribute to this feature request. Thanks!

OsamahAnsari avatar Apr 07 '21 00:04 OsamahAnsari

@OsamahAnsari Sure, you're welcome to work on this feature!

You may take #1446 as a base, which was never entirely finished. However, it might be better to start from scratch. Tiled now has a "jump to file" popup on Ctrl+P, which could feature a mode to jump to a tile location as well. So, Ctrl+Shift+G could then pop up this filter in the "go to tile" mode (similar to how in Sublime Text, this popup can jump to a line if you type a : at the start). Of course that'll not be entirely trivial since currently the locatorwidget.cpp is entirely written for project file search.

bjorn avatar Apr 09 '21 08:04 bjorn

I understand I am late to contributing, but I see this problem is still open. This will be my first time contributing to a GitHub project. Do you mind if I help on this feature? Should I also use 1446 as a base?

Dartho12 avatar Dec 08 '24 11:12 Dartho12

@Dartho12 You're welcome to have a look into this! Like I said in my last comment, I think it would be nice to re-use the LocatorWidget for this purpose. In the meantime, this widget is a little more customizable and is used both for file name search as well as action search.

I think a "jump to tile" function could added by implementing another LocatorSource that returns a single entry for a typed coordinate, but could also be extended to allow typing in for example the name of an object to jump to (could be a follow-up change).

bjorn avatar Dec 08 '24 12:12 bjorn

Is this issue still up for grabs?

sirajahmadzai avatar Jul 19 '25 04:07 sirajahmadzai