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

the Terrain Brush ,Angle problem #1943

Closed
shuketang opened this issue May 8, 2018 · 17 comments
Closed

the Terrain Brush ,Angle problem #1943

shuketang opened this issue May 8, 2018 · 17 comments
Labels
bug Broken behavior.
Projects

Comments

@shuketang
Copy link

In the example:
123

Ours is:
234

the Terrain Brush,Why is our shape wrong? So I can't use it correctly the Terrain Brush..........
333

@bjorn
Copy link
Member

bjorn commented May 8, 2018

You need to set the "Grid Width" and "Grid Height" in the Tileset Properties to match with your tile. In the example, the width is set to 64 and the height to 32. It looks like your tiles should use the same ratio, though possibly higher values.

The reason you need to specify these parameters is because they can't be derived directly from the size of the tile images.

@bjorn bjorn closed this as completed May 8, 2018
@shuketang
Copy link
Author

set the "Grid Width" and "Grid Height :

123

The size is also wrong.....

222

How to set the size?

@bjorn
Copy link
Member

bjorn commented May 8, 2018

Hmm, that looks rather strange actually. To be honest the top and bottom corners should always be exactly aligned regardless of the parameters. Could you share the tileset file that is showing this problem so that I could try to reproduce it?

@shuketang
Copy link
Author

shuketang commented May 8, 2018

Need a square? image

@bjorn
Copy link
Member

bjorn commented May 8, 2018

Thanks for providing the example files! Unfortunately due to encoding issues I can only load some of the tiles, but I could reproduce the issue. And wow, that map is HUGE! Did you know that Tiled supports compressing layer data? The map file can be reduced from 45 MB to 6 MB by choosing "Compressed (zlib)" instead of "CSV" in the map properties for "Tile Layer Format".

Need a square? image

You're right, the overlay currently seems to only render correctly if the tile image is square. That's a bug though, so I will look into fixing that.

@bjorn bjorn reopened this May 8, 2018
@bjorn bjorn added the bug Broken behavior. label May 8, 2018
@shuketang
Copy link
Author

Yes!We are a huge project.....Can I fix it as soon as possible?We need to re-output the image........

@bjorn
Copy link
Member

bjorn commented May 8, 2018

Yes!We are a huge project.....Can I fix it as soon as possible?We need to re-output the image........

Since this is just a visual glitch in the editor that does not affect image output nor the Terrain Tool's functionality, I don't really understand the urgency.

Are you supporting Tiled financially / as a patron?

@shuketang
Copy link
Author

of course,How much money is needed to solve this problem~~~^_^

@shuketang
Copy link
Author

wow!!!really!This is a display problem,Does not affect the function, I think it will affect the function.....-_-

@bjorn
Copy link
Member

bjorn commented May 8, 2018

of course,How much money is needed to solve this problem~~~^_^

That is hard to say in advance, which is why I am asking for monthly donations to support my continuous work improving and maintaining Tiled, with the hope that I can afford to do this for 2 full days/week.

If you are a large project that depends on Tiled for your workflow, please consider becoming a patron on Patreon (or if you can't, tell me why), at whatever level you are comfortable with financially. It is the best way to ensure this tool will keep improving, and I generally prioritize issues that my patrons are running into.

If you really prefer to do a single donation for putting this bug on my priority list, I'd ask for $100.

@shuketang
Copy link
Author

thinks!Can I privately trust my paypal?I send money.....

@bjorn
Copy link
Member

bjorn commented May 8, 2018

thinks!Can I privately trust my paypal?I send money.....

Sure, you can e-mail me at bjorn@mapeditor.org.

@shuketang
Copy link
Author

Money has passed,thanks^_^

@bjorn
Copy link
Member

bjorn commented May 8, 2018

Money has passed,thanks^_^

What does this mean?

@shuketang
Copy link
Author

123
....Forgive my Chinese English.......-_-

@bjorn
Copy link
Member

bjorn commented May 9, 2018

...Forgive my Chinese English.......-_-

Can you reverse this transaction? Because you've misspelled the e-mail address.

Btw, I still think that this issue is purely visual inside Tiled, a small inconvenience when trying to assign terrain information to the tiles. If you think it has bigger impact, then I may be misunderstanding something about your problem.

@bjorn bjorn added this to Tiled 1.1 (bugfixes) in Roadmap May 15, 2018
@bjorn
Copy link
Member

bjorn commented May 13, 2020

@shuketang I've finally looked into this issue and pushed a fix that will be included in the upcoming release and development snapshot.

It would be great if you could still fix the target email address of your donation (not bjorn@mapedor.org but bjorn@mapeditor.org). The donation is optional but would be really appreciated.

@bjorn bjorn closed this as completed in 6c369e8 May 13, 2020
Roadmap automation moved this from Tiled 1.3 (bugfixes) to Recently Completed May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior.
Projects
Archived in project
Roadmap
  
Completed
Development

No branches or pull requests

2 participants