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

Better entity editor movement #74

Open
saint11 opened this issue Apr 8, 2024 · 4 comments
Open

Better entity editor movement #74

saint11 opened this issue Apr 8, 2024 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@saint11
Copy link
Collaborator

saint11 commented Apr 8, 2024

It would be great to have some nice quality of life improvements on the entity selector. This would only be enabled if the entity is selected - otherwise, move camera, like we have it now:

  • Arrow keys move entities by 1 pixel
  • Shift+Arrow keys move entities by 1 tile.

Other features that would be nice:

  • Hold shift while dragging constrain to an axis (horizontal, vertical).
  • Alt+Click+Drag duplicate entity and drag.
@saint11 saint11 added enhancement New feature or request good first issue Good for newcomers labels Apr 8, 2024
@saint11
Copy link
Collaborator Author

saint11 commented Apr 9, 2024

Nice, thanks @grouting!
The only remaining feature we need now is Alt+Click+Drag duplicate entity and drag.

@grouting
Copy link
Contributor

grouting commented Apr 9, 2024

I'll start work on this as soon as possible.

@saint11
Copy link
Collaborator Author

saint11 commented Apr 10, 2024

There are some interactions with the collider editor that are conflicting with the Shift+Drag (axis drag) I'll fix it here

@grouting
Copy link
Contributor

I've made a PR (#76) that fixes an issue with the axis drag when multiple entities are selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants