Hello Guest

Author Topic: Tilemap Painting Replace Issue  (Read 4688 times)

firmie

  • Newbie
  • *
  • Posts: 15
    • View Profile
Tilemap Painting Replace Issue
« on: October 28, 2013, 12:48:12 am »
I’m having an issue with changing painted tile maps. If I have a painted, committed tile, then try to paint over it on the same layer with another tile, the editor will not save the changes upon commit. I have to erase the tile, commit, then edit again and paint the new tile.


I’m Using 2.2.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tilemap Painting Replace Issue
« Reply #1 on: October 28, 2013, 12:05:13 pm »
Can you create a simple repro case for this and email to support at unikronsoftware.com? This sounds like something that should have been fixed in 2.0...

firmie

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Tilemap Painting Replace Issue
« Reply #2 on: October 28, 2013, 06:43:27 pm »
I have sent this to support, but I'm also placing it here for completeness.

I just updated to 2.22. This problem still persists.

100% repro for me:

* have a tile map with multiple layers, though i don’t think the number of layers matters, its just what i have.
* have 2 different painting tiles, both set to replace with a different prefab.
* Paint 1 tile, commit.
* Go back to edit mode. Select the other tile for painting, paint over the first tile in the same layer, commit.
* The tile will revert back to the first painted prefab.

* Note: when in edit mode, the painted tile will be correct. It is only after committing that it replaces it with the first prefab.
* Note: this works properly if I erase the first tile, commit. Then paint the second tile and commit.


Possibly related question:

I have set up a basic ‘blank’ scene with a tile map and one floor layer filled in. When creating new scenes/levels, I just duplicate this base scene and edit the tile map per scene. This all seems to work fine as the overridden tilemaps work properly per scene.

Would there be any issues here since I don’t create new tile map data per scene?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tilemap Painting Replace Issue
« Reply #3 on: October 29, 2013, 10:41:19 am »
I think I know what the issue is here, I'll look into it for the next release.

Bulwark Studios

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Tilemap Painting Replace Issue
« Reply #4 on: November 04, 2013, 04:19:38 pm »
Have the same issue here.

I try to delete the old prefab when we paint over, but I don't have a good fix at the moment.

I just use the Edit/Commit trick.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tilemap Painting Replace Issue
« Reply #5 on: November 04, 2013, 05:56:04 pm »
This has been fixed and will be in the next release.

ccampama

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Tilemap Painting Replace Issue
« Reply #6 on: November 06, 2013, 11:00:30 am »
Same issue here. Thanks firmie for the commit/edit trick. At least I have a workaround until the next realease!  :)