TerryCavanagh / VVVVVV

The source code to VVVVVV! http://thelettervsixtim.es/
Other
6.93k stars 555 forks source link

Add support for right-aligned roomtext #1101

Closed Daaaav closed 7 months ago

Daaaav commented 7 months ago

Changes:

This is mostly so people making levels in an RTL language have a more pleasant and logical experience. If roomtext is placed in a level set to RTL, it will get p1=1, which makes that roomtext right-aligned. Because, imagine for English you click to place roomtext, and the text runs left of where you clicked, which wouldn't be logical.

Since it's an entity-bound property, switching RTL on and off either in the editor or via a script does not affect existing entities.

Legal Stuff:

By submitting this pull request, I confirm that...