[gd_scene load_steps=12 format=2] [ext_resource path="res://assets/HUD/Touchscreen/accelerator.png" type="Texture" id=1] [ext_resource path="res://assets/HUD/Touchscreen/deaccelerator.png" type="Texture" id=2] [ext_resource path="res://assets/HUD/Touchscreen/MovementRightPressed.png" type="Texture" id=3] [ext_resource path="res://assets/HUD/Touchscreen/MovementRight.png" type="Texture" id=4] [ext_resource path="res://assets/HUD/Touchscreen/MovementLeftPressed.png" type="Texture" id=5] [ext_resource path="res://assets/HUD/Touchscreen/MovementLeft.png" type="Texture" id=6] [ext_resource path="res://assets/fonts/Monocraft.ttf" type="DynamicFontData" id=7] [ext_resource path="res://addons/controller_icons/objects/Sprite.gd" type="Script" id=8] [ext_resource path="res://addons/controller_icons/assets/key/h.png" type="Texture" id=9] [ext_resource path="res://assets/HUD/Touchscreen/horn.png" type="Texture" id=10] [sub_resource type="DynamicFont" id=1] size = 18 font_data = ExtResource( 7 ) [node name="SwamplandsHUD" type="CanvasLayer"] [node name="Left" type="Control" parent="."] anchor_top = 1.0 anchor_bottom = 1.0 margin_top = -40.0 margin_right = 40.0 [node name="Accelerate" type="TouchScreenButton" parent="Left"] position = Vector2( 64, -384 ) scale = Vector2( 6, 6 ) normal = ExtResource( 1 ) action = "player1_accelerate" visibility_mode = 1 [node name="Brake" type="TouchScreenButton" parent="Left"] position = Vector2( 320, -256 ) scale = Vector2( 6, 6 ) normal = ExtResource( 2 ) action = "player1_decelerate" visibility_mode = 1 [node name="HornGlyph" type="Sprite" parent="Left"] position = Vector2( 256, -216 ) scale = Vector2( 0.5, 0.5 ) texture = ExtResource( 9 ) offset = Vector2( 466, 368 ) script = ExtResource( 8 ) path = "player1_horn" [node name="HornGlyphText" type="Label" parent="Left"] margin_left = 532.0 margin_top = -42.0 margin_right = 628.0 margin_bottom = -24.0 rect_pivot_offset = Vector2( -265, -174 ) custom_fonts/font = SubResource( 1 ) text = "Horn" [node name="TouchScreenButton" type="TouchScreenButton" parent="Left"] position = Vector2( 320, -384 ) scale = Vector2( 6, 6 ) normal = ExtResource( 10 ) action = "player1_horn" visibility_mode = 1 [node name="Right" type="Control" parent="."] anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -40.0 margin_top = -40.0 [node name="SteerLeft" type="TouchScreenButton" parent="Right"] position = Vector2( -512, -256 ) scale = Vector2( 6, 6 ) normal = ExtResource( 6 ) pressed = ExtResource( 5 ) action = "player1_steer_left" visibility_mode = 1 [node name="SteerRight" type="TouchScreenButton" parent="Right"] position = Vector2( -256, -256 ) scale = Vector2( 6, 6 ) normal = ExtResource( 4 ) pressed = ExtResource( 3 ) action = "player1_steer_right" visibility_mode = 1