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

Strange behaviour while rendering sprite with PNG texture #350

Closed
antonKalinin opened this issue Aug 26, 2020 · 2 comments
Closed

Strange behaviour while rendering sprite with PNG texture #350

antonKalinin opened this issue Aug 26, 2020 · 2 comments
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior

Comments

@antonKalinin
Copy link

antonKalinin commented Aug 26, 2020

First, thanks for this project!

I am trying to create a parallax background, so I started from this 2d sprite example and then changed the PNG image to my one.
But my one is not rendering property:

image

Though image itself looks fine:

image

I don't know is it bug or I am just missing something, so I would label it as a question.
Can you help me to understand where I need to dig to?

@GabCampbell GabCampbell added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen labels Aug 26, 2020
@sunwukonga
Copy link

sunwukonga commented Aug 27, 2020

I ran examples/2d/sprites.rs with your image and the result was:
screenshot_result

OS: Archlinux 5.6.10-arch1-1 #1 SMP PREEMPT Sat, 02 May 2020 19:11:54 +0000 x86_64 GNU/Linux
Driver: i915
Graphics: onboard
Bevy: "0.1.3"

@antonKalinin
Copy link
Author

Yeah, I did some changes in system including updating MacOS to latest and restarting everything and now I also have good render result. @sunwukonga thanks for testing. Something strange was with my case, but looks like it is not engine problem, so closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

3 participants