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

Add transform tool to FlxDebugger interaction #2159

Merged
merged 20 commits into from
Jul 7, 2018

Conversation

Dovyski
Copy link
Contributor

@Dovyski Dovyski commented Jul 7, 2018

interaction-transform-tool-final2

This PR adds the transform tool to FlxDebugger interaction. Using the tool, it is possible to resize and rotate a sprite. At the moment, the tool only works with a single sprite (it is quite tricky to make it work with groups, but that's something for the future).

I've tried my best to change just a few files, but I had to work on the classes Interaction, Tool and Tooltip to have a decent UX for the transform tool, e.g. chance cursor according to resize/rotate action, show live info about width/height, etc. Those changes are backward compatible and I think they will be useful for future tools or the debugger itself.

@Gama11
Copy link
Member

Gama11 commented Jul 7, 2018

There's some CodeClimate issues: https://codeclimate.com/github/HaxeFlixel/flixel/pull/2159

@Dovyski
Copy link
Contributor Author

Dovyski commented Jul 7, 2018

I've fixed them, @Gama11.

@Gama11
Copy link
Member

Gama11 commented Jul 7, 2018

Thanks!

@Gama11 Gama11 merged commit 53989bd into HaxeFlixel:dev Jul 7, 2018
@Dovyski
Copy link
Contributor Author

Dovyski commented Jul 7, 2018

Thank you! Soon I'll send the PR to update Flixel docs.

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.

2 participants