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

DrawingCanvas, Fixed Resolution misalignment #8358

Open
ren1219 opened this issue Dec 16, 2024 · 0 comments
Open

DrawingCanvas, Fixed Resolution misalignment #8358

ren1219 opened this issue Dec 16, 2024 · 0 comments
Assignees

Comments

@ren1219
Copy link

ren1219 commented Dec 16, 2024

Problem description

Using the Fixed resolution setting on Drawing Canvas causes a slight misalignment that stretches out textures.

PastingTest.mp4

Attach a .c3p

PastingTest.zip

Steps to reproduce

  1. Add a "Drawing Canvas" object to any C3 project.
  2. Add an action to set the resolution to the same size than the Drawing Canvas.
  3. Use a sprite as a brush which dimension is a factor of the Drawing Canvas (in my example, 16x16).
  4. Paste it anywhere on the canvas.

Observed result

The texture, normally pixel-perfect, appears stretched out once pasted on the Drawing Canvas.

Expected result

The texture on the Drawing Canvas should have remained the same.

More details

Affected browsers/platforms: Chrome

First affected release:

System details

View details

PASTE HERE

@AshleyScirra AshleyScirra self-assigned this Dec 16, 2024
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

No branches or pull requests

2 participants