-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
OS: Ubuntu 18.0.4
SDL version: 2.0
gcc version: 7.4.0
The ghosts are rendered as eyes only, no ghost color is shown (see screenshot).
This is because the black background on augen_0.png, augen_1.png, augen_2.png, and augen_3.png are not set to transparent. I think it is a conflict between the transparent index that you have set for the ghost images (255) and the eye images (0).
The fix I employed was:
-
- Insert the following at line 195 of src/screen.cpp:
SDL_SetSurfaceBlendMode(surface, SDL_BLENDMODE_BLEND);
- Insert the following at line 195 of src/screen.cpp:
- Modify the augen_?.png files so that alpha=0 for the background
- Change the last argument of lines 65-68 of src/ghost_figur.cpp from 0 to -1.
There is a similar bug affecting gfx/escaping_ghost_?.png.
I have these fixes in a branch. I'll send it to you if you are interested, or push it if you grant access to me.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

