cpu_text_sprite #1

Merged
Steins7 merged 10 commits from cpu_text_sprite into master 2024-03-02 14:45:49 +00:00
Owner

Implements cpu-generated text sprite. Fontdue is use for the text generation since it supports WASM. A text sprite remains a simple texture sprite onto which the text is written.
Matrix computations have been reworked to fix transformation and rotation issues with the newly added center system. Scales have also been cleaned up

Implements cpu-generated text sprite. Fontdue is use for the text generation since it supports WASM. A text sprite remains a simple texture sprite onto which the text is written. Matrix computations have been reworked to fix transformation and rotation issues with the newly added center system. Scales have also been cleaned up
Steins7 added 10 commits 2024-03-02 14:45:05 +00:00
For now, the center is juste defined by coordinates in a haphazard way,
this will need a proper implementation at some point
This time, the issues should be fixed for good. Everything behaves as expected.
The only issue remaining is that of the text sprite not having the right size
Steins7 force-pushed cpu_text_sprite from 0ec78da7b5 to 1cb6d7fc72 2024-03-02 14:45:23 +00:00 Compare
Steins7 merged commit 92e5ff1082 into master 2024-03-02 14:45:49 +00:00
Steins7 deleted branch cpu_text_sprite 2024-03-02 14:45:50 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Steins7/canvas#1
No description provided.