UnderwaterApps / overlap2d-runtime-libgdx

Overlap2D - UI and Level Editor libgdx runtime
http://overlap2d.com
Other
170 stars 96 forks source link

Rendering images with polygon sprite type #93

Open Jack37 opened 8 years ago

Jack37 commented 8 years ago

Hello, I am not sure if this is runtime problem, or problem with exporting scene from Overlap2D, but in my opinion it's pretty important bug.

In the first picture, you can see images in Overlap2D with their default properties, and polygon component added. Under it, there is the same scene rendered in-game, and everything is as it should be. rendering1

In this picture, I've set Sprite Type of the blue square from SQUARE to POLYGON under Render Properties. Except the offset bug I addressed here https://github.com/UnderwaterApps/overlap2d/issues/376, there is another bug that only happens in-game. As you can see, all objects have the same image now - the image from the polygon that has Sprite Type set to POLYGON. There is also some kind of line that I marked in red circle. This makes it difficult to edit terrain under my character, as all objects will get the image from the terrain. rendering2

GreyMeteor commented 7 years ago

I'm hitting this bug too, is there a solution to this ??