Skip to content

originX and originY for composite added in Overlap2dRenderer.java#108

Open
alexfacciorusso wants to merge 1 commit intoUnderwaterApps:masterfrom
alexfacciorusso:master
Open

originX and originY for composite added in Overlap2dRenderer.java#108
alexfacciorusso wants to merge 1 commit intoUnderwaterApps:masterfrom
alexfacciorusso:master

Conversation

@alexfacciorusso
Copy link

Now composite object respects the originX and originY setted in the TransformComponent in the rendering phase.

@alexfacciorusso
Copy link
Author

Can anyone tell me why this thing was a TODO? Any regression if I implement that thing? Thanks guys for this beautiful editor, I want to contribute and make it better!

@GermanCoding
Copy link

GermanCoding commented Sep 4, 2016

I believe this is very similar to #107

@alexfacciorusso
Copy link
Author

So why is #107 not accepted? I have read that merge request but I can't understand why is not merged in the project… 😕

@GermanCoding
Copy link

I'm not really sure, it was closed by the author itself. His version had backwards compatibility but also the disadvantage that you had to explicit set a flag to enable origin transform. In your version this is not required however it could break software that relied on the hardcoded 0 as origin ('m not very sure about this since I'm not very familiar with the internals of Overlap2D).

@azakhary
Copy link
Contributor

azakhary commented Sep 4, 2016

This is a proper PR, although this is good for the runtime, we have to also check to see if this does not break Editor itself, as it relies on the runtime.

@alexfacciorusso
Copy link
Author

alexfacciorusso commented Sep 4, 2016

@azakhary sure, we must check for editor problems. I think that this "feature" (is more a TODO fix), must be included in a way or another, because in-game implementations are simply hacks for the lack of runtime implementation

@azakhary
Copy link
Contributor

azakhary commented Sep 4, 2016

Agreed. Can you make sure this does not break editor (specially when resizing, transforming stuff) ? If it's good to go then, I can merge.

@alexfacciorusso
Copy link
Author

I am trying to compile editor, but for some reason, it will not compile because of broken spine libraries… 😕

@azakhary
Copy link
Contributor

azakhary commented Sep 4, 2016

oh right, the spine has updated and needed change on editor part, one of our guys did change that, but we did not merge. Thanks for reminding. Let's do the following. at monday I'll ask the guy to PR the spine changes, then I will make sure editor compiles again, then we'll get back to this. Sorry for that.

@alexfacciorusso
Copy link
Author

alexfacciorusso commented Sep 4, 2016

Ok, perfect… has the Overlap2d project got a Slack community? If not, why not to create one, for discussing about development, fixes, features etc?

@azakhary
Copy link
Contributor

azakhary commented Sep 4, 2016

we can, but the community is not that big to require a "realtime" talk. Not always many people are online simultaneously, this making discussion here or on forums more easy.

@openmailbox
Copy link

Any update on this? I've recently started using Overlap2d and encountered this problem rather quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants