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

[Feature Request] Consider adding support for SDL_Text & SDL_Image structs & functions #56

Open
tipiak75 opened this issue Jan 15, 2022 · 2 comments

Comments

@tipiak75
Copy link

tipiak75 commented Jan 15, 2022

SDL_Text would allow displaying text in SDL using TrueType fonts. https://github.com/libsdl-org/SDL_ttf
SDL_Image would allow working with a variety of modern image formats, most of them being a lot more php-ish than BMP. https://github.com/libsdl-org/SDL_image

@santiagolizardo
Copy link
Member

I'll see if I can find some time to implement these missing libraries, maybe not in their totality but the most basic/popular calls. Thanks

@kea
Copy link
Collaborator

kea commented Jan 15, 2022

If you want, we could merge my https://github.com/kea/php-sdl-image ;)
There is only the primary function for loading images. I've tested it with png (transparent) and jpg.

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

No branches or pull requests

3 participants