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

Drag-and-Drop Behavior Not Correct on glclub1 Field #120

Open
Sebanisu opened this issue Jan 13, 2025 · 0 comments
Open

Drag-and-Drop Behavior Not Correct on glclub1 Field #120

Sebanisu opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Sebanisu
Copy link
Owner

When using the drag-and-drop feature to move tiles, a small texture is generated to display the tiles while they are being moved. However, it doesn't seem to behave as expected on the glclub1 field.

image

Description:

On the glclub1 field, the drag-and-drop behavior is not rendering the dragged tiles correctly when the tiles are not aligned with the 16x16 grid. Issue #114 highlighted this problem, as glclub1 has some tiles that are misaligned with the grid. When attempting to drag these tiles, they don't behave as expected.

Problems Identified:

  1. Tile Positioning: It appears the tile positioning is altered, resulting in a "pop-in" effect where tiles from behind suddenly appear in front.
  2. Blend Mode: The blend mode doesn't seem to be applied correctly when dragging the tiles. The blend should be applied to the pixels below in the generated drag image, but it doesn't behave as intended.

Further Testing Needed:

  • More testing is likely required to fully investigate the issue and ensure the correct behavior across different fields.
  • Additionally, we could ensure that filters are applied to the drag-and-drop function, allowing us to hide specific tiles and ensure that only the visible, unhidden tiles are being displayed correctly during dragging.

Planned Improvements:

There are already planned improvements and an overhaul of the drag-and-drop system in Issue #113. These improvements aim to make it easier to select the tiles you want to move and to only move the tiles that you intend to. This will involve adding new modes and tools to facilitate more precise tile selection and movement. While these changes will address some of the current drag-and-drop issues,

@Sebanisu Sebanisu added the bug Something isn't working label Jan 13, 2025
@Sebanisu Sebanisu self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant