Skip to content

Issues with custom overlay #95

Description

@anaanook

Hey, loving tilengine so far!
BuildFullOverlay() expects the format of the custom overlay surface to be a rgba8888 but when you call SDL_loadBMP() it doesn't convert the surface. This ends up yielding different results depending on how the bitmap is saved. I was able to get around it by changing it to convert the surface after loading.

additionally it doesn't go through LoadFile() so if you are hoping to save your overlay image in a resource pack you're SOL

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions