Script: Hello World

Hello World picture
Type
Blockly logo indicatorblockly
Author
matas
Date Created
Jan 25, 2024, 1:52:58 PM
Last Edit Date
Mar 10, 2025, 1:13:15 PM

Project Information

This project contains demo scripts for Blockly based editor that are used as examples in the "Getting Started" section of the documentation.

View Full Project

Script Code

<xml xmlns="https://developers.google.com/blockly/xml">
 <block type="bitbybit.draw.drawAnyAsyncNoReturn" id="UO^K1-FNciNjT{DsaF2S" x="777" y="-1296">
  <value name="Entity">
   <block type="bitbybit.advanced.text3d.create" id="96`l1M5GUB]yx+`8P*5h">
    <value name="Text">
     <block type="text" id="TpWq7^,UoX^4,_e9p4a9">
      <field name="TEXT">Hello World!</field>
     </block>
    </value>
    <value name="FontType">
     <block type="bitbybit.advanced.text3d.fontsEnum" id="WTF*(Tuo^XFp#-.~guL%">
      <field name="bitbybit.advanced.text3d.fontsEnum">'Aboreto'</field>
     </block>
    </value>
    <value name="FontVariant">
     <block type="bitbybit.advanced.text3d.fontVariantsEnum" id=":/BDwM-k7#lt_,Qt[:_x">
      <field name="bitbybit.advanced.text3d.fontVariantsEnum">'Regular'</field>
     </block>
    </value>
    <value name="FontSize">
     <block type="math_number" id="1|M5}vy@rvtE}ZPx3jQ_">
      <field name="NUM">1.5</field>
     </block>
    </value>
    <value name="Height">
     <block type="math_number" id="Zr_+VDSsSpb{}@!q^tvd">
      <field name="NUM">0.2</field>
     </block>
    </value>
    <value name="Rotation">
     <block type="math_number" id="j*me)eW9Yg0U}EE(B8YH">
      <field name="NUM">0</field>
     </block>
    </value>
    <value name="Origin">
     <block type="bitbybit.vector.vectorXYZ" id="yfcEbk*^!n{JH?J^N+^z">
      <value name="X">
       <block type="math_number" id="QHZy=Z3Z@hGacPh]kvRb">
        <field name="NUM">0</field>
       </block>
      </value>
      <value name="Y">
       <block type="math_number" id="f-9#b#2j/{+YhMaPFC:z">
        <field name="NUM">0</field>
       </block>
      </value>
      <value name="Z">
       <block type="math_number" id="`Ra,vn?IZ[J,SK{}!2@|">
        <field name="NUM">0</field>
       </block>
      </value>
     </block>
    </value>
    <value name="Direction">
     <block type="bitbybit.vector.vectorXYZ" id="_5EKW]4zfhXFR0Jlq-O#">
      <value name="X">
       <block type="math_number" id="!*L8}*msE{+bc,rDeEii">
        <field name="NUM">0</field>
       </block>
      </value>
      <value name="Y">
       <block type="math_number" id="{0f6ZLiOt~jH6+h!uRU_">
        <field name="NUM">1</field>
       </block>
      </value>
      <value name="Z">
       <block type="math_number" id="#x1[0ajwIMsol-lm)58F">
        <field name="NUM">0</field>
       </block>
      </value>
     </block>
    </value>
    <value name="OriginAlignment">
     <block type="bitbybit.advanced.text3d.recAlignmentEnum" id="8G{HX8*n1uirjgqo|Dbk">
      <field name="bitbybit.advanced.text3d.recAlignmentEnum">'leftTop'</field>
     </block>
    </value>
   </block>
  </value>
 </block>
</xml>