Board index FlightGear Development Nasal

solved : text animation in xml  Topic is solved

Nasal is the scripting language of FlightGear.

solved : text animation in xml  

Postby kuifje09 » Sat Sep 03, 2016 9:47 pm

Trying to get some text animation to work gets stuck on the literal type.
It gives no error and does not show anything. Spend some time on it and read some docs, but nope...

This is what I try ( just a first set-up ) :
Code: Select all
<text>
   <name>TxtNav1</name>
      <offsets>
         <x-m>2.06</x-m>
         <y-m>-0.4061</y-m>
         <z-m>1.2464</z-m>
     </offsets>
      <alignment>center-center</alignment>
      <axis-alignment>yz-plane</axis-alignment>
      <type type="string">literal</type>
      <text type="string">NAV 1</text>
    <font>helvetica_bold.txf</font>
    <character-size>0.005</character-size>
    <character-aspect-ratio type="double">1.0</character-aspect-ratio>
    <font-resolution>
       <width type="int">64</width>
       <height type="int">64</height>
   </font-resolution>
</text>


Showing all kinds of propertis is no problem, only the most simple ? does not as I expected
Although as far I understand this is just as the example from OSG-text.

EDIT: strange, did once more an update/reload airplane in debug, and now it is working... Weird.
kuifje09
 
Posts: 596
Joined: Tue May 17, 2011 9:51 pm

Return to Nasal

Who is online

Users browsing this forum: No registered users and 1 guest