Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change tile after inserting a tile object. #409

Closed
mimpedro opened this issue Mar 31, 2013 · 9 comments

Comments

Projects
None yet
5 participants
@mimpedro
Copy link

commented Mar 31, 2013

When creating a new object with the "Insert Tile Objects" tool, you can't change its tile anymore.

In the game I am currently making, there is a huge amount of objects that take appearance of different terrain tiles, but they all have the same properties inside. It would be a big hassle to create each individual object with the Insert Tile Object tool and then write all of its properties by hand, as opposed to simply copying and pasting one of them and changing its corresponding tile.

Anyway, I've already solved this by using a tile layer, but I believe this issue could be easily fixed and would be very useful for other developers.

Sorry if it sounded confusing, English is not my first language.

@bjorn

This comment has been minimized.

Copy link
Owner

commented Mar 31, 2013

It would indeed be useful to be able to change the tile of a tile object.
And of course, in the code doing this is easy. The main thing to consider
is how the UI should work. Any suggestions?

@toddcarnes

This comment has been minimized.

Copy link
Contributor

commented Mar 31, 2013

On 3/31/2013 3:58 AM, Thorbjørn Lindeijer wrote:

Any suggestions?
Right-click on and choose appropriate option "Change Tile" from context
menu.

@bjorn

This comment has been minimized.

Copy link
Owner

commented Mar 31, 2013

@toddcarnes I'm assuming this action would apply the currently selected tile to the object?

@toddcarnes

This comment has been minimized.

Copy link
Contributor

commented Mar 31, 2013

On 3/31/2013 8:18 AM, Thorbjørn Lindeijer wrote:

@toddcarnes https://github.com/toddcarnes I'm assuming this action
would apply the currently selected tile to the object?

I think so, yes. It would seem the logical way to handle it. Though,
perhaps, the OP might want weigh in on it?

Todd

@mimpedro

This comment has been minimized.

Copy link
Author

commented Mar 31, 2013

I believe the first thing I tried was simply clicking on different tiles on the tileset while having the tile object selected. I don't know if that would make it too easy for errors to occur, though. Doing it through a context menu also sounds natural to me.

@bjorn

This comment has been minimized.

Copy link
Owner

commented Apr 1, 2013

@mimpedro Right, I think that automatically applying any selected tile to the selected tile objects would frequently result in unwanted changes. You'd have to remember to unselect your objects before selecting a tile to prevent it from happening.

So, the context menu solution sounds reasonable to me.

@alphaonex86

This comment has been minimized.

Copy link
Contributor

commented Nov 28, 2014

Is not more easy when double click event is detected on tiled, check is object is selected, then apply?

@bjorn

This comment has been minimized.

Copy link
Owner

commented Feb 21, 2017

Also suggested on the forum, with the action in the context menu of the tile:

  1. selecting the Image Object/s
  2. selecting the Tile in the tileset window
  3. RMB > Replace image in selected object/s

@bjorn bjorn added this to the Tiled 1.0 milestone Feb 21, 2017

@thabetx

This comment has been minimized.

Copy link
Contributor

commented Apr 7, 2017

I started working on this issue, I'm implementing the workflow in the previous comment.

The basic functionality is done, but it still needs some adjustments when changing multiple objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.