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

have no function loading like mutillang font file or vector diagram as pixel Sprite #370

Open
onikouta opened this issue May 10, 2024 · 1 comment

Comments

@onikouta
Copy link

i using engine make simple conway life game , drawstring method the will cover backgroud content, and can't translucency layer as though as if ,as

image

@sigonasr2
Copy link

There is a PGEX that was created by OLC Community Member gorbit99 that lets you load custom TTF fonts into your program. You can check that out here: https://github.com/gorbit99/olcPGEX_TTF

If you wanted to use a font sprite and just load it into the PGE, you can use a slightly modified version of it to overwrite the current font with any font you want instead. I have a modified PGE that has exactly this: https://github.com/sigonasr2/olcPixelGameEngine/blob/CustomPixelFont/olcPixelGameEngine.h

You can also see what that looks like in action with this PGETinker web build: https://beta.pgetinker.com/s/TMIlL0o-ADZ

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

No branches or pull requests

2 participants