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

The outer circumference of the sprrite deviates #17669

Open
sakurw opened this issue Feb 4, 2025 · 6 comments
Open

The outer circumference of the sprrite deviates #17669

sakurw opened this issue Feb 4, 2025 · 6 comments

Comments

@sakurw
Copy link

sakurw commented Feb 4, 2025

Discussed in #17658

Originally posted by sakurw February 3, 2025
What issue is this?
please, help
I tried
・Set the position and size to an integer.
・Increase z-index
・I run a sample code, and same bug (https://github.com/bevyengine/bevy/blob/main/examples/2d/2d_shapes.rs)

Perhaps the cause is in generate_minos or update_mino

ex1) There are black lines above and below the orange blocks.
image

ex2)border too
image

ex3)not vertically, but horizontally.
image

code:
field_controll.txt

@hukasu
Copy link
Contributor

hukasu commented Feb 5, 2025

you posted 1 file but it includes other files from the same crate, so it can't be run

also post which version of bevy you are using and the system information logs that appear on the console

@sakurw
Copy link
Author

sakurw commented Feb 6, 2025

thank you, ok
i run a this sample code(https://github.com/bevyengine/bevy/blob/main/examples/2d/2d_shapes.rs)
but same bug
Image

you need other files, I post

bevy version:0.15.1
console:
Finished dev profile [optimized + debuginfo] target(s) in 0.26s
Running target\debug\tli.exe
2025-02-06T00:15:13.904761Z INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 4080 SUPER", vendor: 4318, device: 9986, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "572.16", backend: Vulkan }
2025-02-06T00:15:14.224227Z INFO bevy_winit::system: Creating new window "App" (0v1#4294967296)
2025-02-06T00:15:14.248888Z INFO bevy_input::gamepad: Gamepad 20v1#4294967316 connected.
2025-02-06T00:15:18.152696Z INFO bevy_window::system: No windows are open, exiting
2025-02-06T00:15:18.153095Z INFO bevy_winit::system: Closing window 0v1#4294967296
2025-02-06T00:15:18.162054Z INFO bevy_window::system: No windows are open, exiting

@hukasu
Copy link
Contributor

hukasu commented Feb 6, 2025

did you modify the code from the example when copying it into your crate?

@sakurw
Copy link
Author

sakurw commented Feb 6, 2025

No
I only ran "cargo new", add bevy to Cargo.toml, copy sample code
main.rs(main.rs.txt)
Cargo.toml(Cargo.toml.txt)

@hukasu
Copy link
Contributor

hukasu commented Feb 6, 2025

can you run without the winres build dependency?

@sakurw
Copy link
Author

sakurw commented Feb 6, 2025

Ok, I ran

Image

Cargo.toml.txt

umm...

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