Skip to main content

Advanced Cluster Part 4

• Get into the Scene2D and make sure your scene is being updated actively

drawing-5-1731062188.png

• If there is not the default group in Scene2D, then add a new group node, else click on the default group and reset its position by clicking at the circular arrow next to the “Position” property text

drawing-5-1731062336.png

• Name the group as “Group_Content”

• Insert the “BackgroundBmp” (Solution->Resources->Bitmaps) to the group

• Place a Custom_Gauge into the group, name it as “Custom_Gauge_Speed”

• Set the position: X = 60, Y = 30

• Clone the “Custom_Gauge_Speed”, name it as “Custom_Gauge_RPM” and set its X position: X = 965

• Select the “Custom_Gauge_Speed” and go to its properties. Set these settings:
Input Max = 240, Value = 120, Top_Text = Speed, Value_Format Text = %d, Bottom_Text = km/h

drawing-5-1731062613.png

• Set the BackgroundImage to “Points_BlueBmp”

• Set the ForegroundImage to “Numbers_0-240Bmp”

drawing-5-1731062846.png

• The scene is ready. Now you can try to run it in the Player by selecting "Generate and Play" and pressing the play button in the top panel

drawing-5-1731062927.png

• When the Player appears, you can manually change the accessible values for selected controls:

drawing-5-1731063141.png

• The changes should be immediately reflected on the display:

drawing-7-1676526228.png