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

You can choose a font for your text actor! #19

Merged
merged 1 commit into from
Dec 22, 2021
Merged

You can choose a font for your text actor! #19

merged 1 commit into from
Dec 22, 2021

Conversation

CleanCut
Copy link
Owner

@CleanCut CleanCut commented Dec 22, 2021

Custom fonts may now be set on a TextActor at creation time.
EngineState::add_text_actor_with_font was added for a convenience. The font specified should be
a .ttf or .otf file stored in assets/fonts
Screen Shot 2021-12-22 at 12 47 26 PM

Part of #16

@CleanCut CleanCut merged commit 477fc16 into main Dec 22, 2021
@CleanCut CleanCut deleted the custom-font branch December 22, 2021 19:57
@CleanCut CleanCut changed the title you can choose a font for your text actor, now You can choose a font for your text actor! Dec 22, 2021
@CleanCut CleanCut mentioned this pull request Dec 22, 2021
9 tasks
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

Successfully merging this pull request may close these issues.

1 participant