-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Text Sprites #146
Comments
@astronouth7303 Is there a canvas object available to subclass sprites from? [systems.py has it coded to expect a sprite to have resource_path and image and then load the image using a call to pygame] |
We're going to provide at least two methods of displaying text, both best for labels. Adding to 0.7.0 release plan. |
@jamesBrosnahan no, a canvas is on the plan, but we haven't done it yet. Also, we rewrote how images are handled. |
This is the primary goal of the v0.8.0 release. The plan is to build on the asset system--text is rendered to a surface, and then the surface is composited through the current render pipeline. Several assets will be defined:
Several core things need to happen to enable this:
The reasons for multiple layers of assets like this:
An open question is about mutability: Should we be leaning towards mutable or immutable assets for these composite/generated assets (like rendered text)? File-based assets are perfectly sensible as immutable.
Especially consider the above in the context of eg progressive reveal text (common in RPG dialog). |
Add text sprites as an alternative to image sprites.
The text was updated successfully, but these errors were encountered: