-
-
Notifications
You must be signed in to change notification settings - Fork 685
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
Image Glitch When Window Loses Focus #3163
Comments
Please provide the entire (minimized) project to reproduce the issue |
https://github.com/temidaradev/RpiZeroWEbiten.git here is the repo |
Could you minimize the source code to reproduce this issue? |
OK, I tried to minimize it by putting important codes |
Unfortunately this is not enough. Your code depends on libraries like EDIT: Does this issue happen without the kamera library? |
ah wait let me test it |
ah yes when I tried to use |
So there might be an issue there. Ask the author. |
This is caused by faulty code. Draw and GeoM are incorrectly drawn twice. This is not caused by the Kamera package. (code of @temidaradev) |
Ebitengine Version
v2.8.4
Operating System
Go Version (
go version
)1.23.2
What steps will reproduce the problem?
Implementing assets by using esset library:
var GopherIdle = esset.GetAsset(assets, "gopher/mainchar.png")
Drawing background like this:
and also I used kamera library https://github.com/setanarut/kamera and here is the code of movement:
and here is the
cam.LookAt
usageand here is player's
Update()
funcand here is the
Draw()
funcWhat is the expected result?
Stable and normal behavior of gopher.
What happens instead?
Glitchy and scary gopher
Screen.Recording.2024-11-21.at.21.04.28.mov
Anything else you feel useful to add?
No response
The text was updated successfully, but these errors were encountered: