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 in cut/copy/paste functionality #34

Open
boaromayo opened this issue Aug 2, 2017 · 2 comments
Open

Add in cut/copy/paste functionality #34

boaromayo opened this issue Aug 2, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@boaromayo
Copy link
Owner

No description provided.

@boaromayo boaromayo added this to the v0.2.6 milestone Aug 2, 2017
@boaromayo boaromayo self-assigned this Aug 2, 2017
@boaromayo
Copy link
Owner Author

I'll start the cut/copy/paste process for tiles by:

  • First having the selected tile be inserted into the clipboard.

  • The selected tile is based on where the map's mouse cursor is located at.

  • The tileset panel will then select that tile, sort of like how the eyedropper tool works in paint programs.

  • If cutting, I'll also have the tile removed from its location (set tile to blank, not null) after the tileset panel points to the selected tile.

I'm also thinking of adding in a "Select Area" option if the user wants to have an area cut/copied/pasted.

I'll also have to look in to how other editors, such as Tiled, implement this feature.

@boaromayo
Copy link
Owner Author

According to this answer, it seems I'll have to enable Serialization on the Tile and Map objects before I start working on the process since it's not as simple as transferring an object from one memory address to another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant