Skip to content

Allow easy replacement of SPRITEFONT for TEXT #760

@rozpustelnik

Description

@rozpustelnik

Reviewed guidelines

  • I have read and understand the suggestion guidelines

Checked for duplicate suggestions

  • I checked for existing similar suggestions

Summary

Till now I was using Spritefont for menus, subtitles, hud etc. with set of latin characters (good enough for English, French, Polish, BR-PT). This was couple of years ago, when TEXT was having some technical quirks with performance. Now I think it has changed and I decided to implement Japanese language. Spritefont is obviously limited in its size, so I introduced TEXT object for this purpose with NotoSansJP.ttf, but I need to change 1200 lines of code (or twice this number) and the only way is "re-click" Spritefont to Text every single time. Every. Single. Time. So I click Spritefont, back, back, search for Text, click, recreate original actions, click and... done. Spritefont to Text, not otherwise. There is no aspect of Spritefont that can't be transferred to Text.
I wish I could just select the Spritefont, press "R" for replace and pick Text object. One year saved.

Possible workarounds or alternatives

No other alternatives than to "re-click" every single Spritefont mention on EventSheet.

Proposed solution

Make TEXT and Spritefont objects "see each other" in replacement mode. Text to Spritefont may lose some information, but Spritefont to Text would make a rather smooth transition.

Why is this idea important?

This is huge time-saver and Spritefont and Text are relating to same thing - displaying characters on the screen.

Additional remarks

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions