Bob Hegwood wrote:ANDREA wrote:Moreover I'm trying to put the scripting in the Tour a bit differentiated, I mean not always starting from the lower left, and I found very important the possibility to "Justify" the script from the center and to the right edge.
Andrea, I'm not certain that I understand what you want to do, but you CAN modify the location of the text you wish to display on the screen with a script. Have a look at
Don's Scripting Guide... Under the print options, you'll see various "origin" parameters, one of which is "BottomRight." Maybe this helps? Just thought I'd give it a shot.
Take care, Bob
No Bob, I mean that I would like to have commands like "rightside", so that I can write all my text line without doing anything, and the result will be that my line will start at a certain column, but will end at the last column available on my screen (or at the previous one, if I give the command "column -1" and so on).
Actually, the text with "BottomRight" command is not "justified", as Don says you have to start with a negative column, otherwise your text will go out of the right edge of the screen.
This means a lot of write and check, and write and check again, and so on, until you'll find the right position for your script start point.
This means moreover that if you change anything in your script you must start again and again.
It's a bit disappointing, at least for me.
Let's hope that as Don says some Celestia OpenGL expert can find the solution, otherwise we'll continue to write starting from the left side, I fear.
Just to explain the reason of my interest on this:
I have seen that if the text is always in the same "bottomleft" position, the spectators of the show can be distracted by the images so that they miss some of the text when it changes.
If the text changes position at every new issue, the spectator immediately moves the eyes on the new text and has the possibility to read it, not only to see the show.
I have seen this practically, so I'm sure that this could be very helpfull for the educational use of Celestia.
By and let's hope
Andrea