Auroriax / PuzzleScriptPlus

Puzzlescript Plus: Open Source HTML5 Puzzle Game Engine (with lots of extra functionality)
https://auroriax.github.io/PuzzleScript/
34 stars 4 forks source link

New TEXT sprites #101

Closed david-pfx closed 1 year ago

david-pfx commented 1 year ago

Allows an object to show as a single letter or short text string instead of a grid. Definition looks like this:

Digit3
blue
text 3

Digit4
green
text 4

Yes scale:0.33
black
text YES
TeraByte-Official commented 1 year ago

That sounds like a good idea to me.

Auroriax commented 1 year ago

I don't really see an use case for this. Perhaps for longer texts would be interesting (e.g. floating tooltips and the like), but then the text would probably become larger than one tile, and would need options for alignment, size, max width, overflow, etc. which would quickly make it complex. And message already does the job for longer bits of information.