I need help trying to centralize my text with WRITE [] SIZE () block and i used something to attempt to centralize my text.
But the result is ugly...
It's not centralized! How do i make it perfectly centralized?
I need help trying to centralize my text with WRITE [] SIZE () block and i used something to attempt to centralize my text.
Set pen to nearly invisible colour and then write it and then get the width of pen trails, you can then work out how to get it centred and then re-write it
I just tried my idea and I don't think it works in practice
Here's my idea, a mix of @cymplecy and @dardoro's ideas. It does not require the screen to be cleared and keeps 100% accuracy
I absolutely love this method, however it has a glaring problem when you want the text anywhere else, since it will always go to (0,0).
You can fix that problem easily though.
If you also want to center it vertically, you can just add change y by ((size :: variables) / (-2)) before the final write block.
Well, yeah, the post is specifically asking for writing text in the center of the stage, so I made the block specifically for writing text in the center of the stage.
But yours works well for centering in other x-positions too