mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 07:50:22 +01:00
Convert demos to Godot 4 using regular expressions in a script
This commit is contained in:
@@ -2,7 +2,7 @@ extends Control
|
||||
|
||||
var mousepos
|
||||
|
||||
onready var observer = $"../Observer"
|
||||
@onready var observer = $"../Observer"
|
||||
|
||||
func _ready():
|
||||
if not check_wm_api():
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
type="StreamTexture2D"
|
||||
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
@@ -10,7 +10,7 @@ metadata={
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
extends KinematicBody
|
||||
extends CharacterBody3D
|
||||
|
||||
const STATE_MENU = 0
|
||||
const STATE_GRAB = 1
|
||||
@@ -6,14 +6,14 @@ const STATE_GRAB = 1
|
||||
var r_pos = Vector2()
|
||||
var state = STATE_MENU
|
||||
|
||||
onready var camera = $Camera
|
||||
@onready var camera = $Camera3D
|
||||
|
||||
func _process(delta):
|
||||
if state != STATE_GRAB:
|
||||
return
|
||||
|
||||
var x_movement = Input.get_action_strength("move_right") - Input.get_action_strength("move_left")
|
||||
var z_movement = Input.get_action_strength("move_backwards") - Input.get_action_strength("move_forward")
|
||||
var x_movement = Input.get_axis(&"move_left", &"move_right")
|
||||
var z_movement = Input.get_axis(&"move_forward", &"move_backwards")
|
||||
var dir = direction(Vector3(x_movement, 0, z_movement))
|
||||
transform.origin += dir * 10 * delta
|
||||
|
||||
|
||||
@@ -2,19 +2,19 @@
|
||||
|
||||
[ext_resource path="res://observer/observer.gd" type="Script" id=1]
|
||||
|
||||
[sub_resource type="BoxShape" id=1]
|
||||
[sub_resource type="BoxShape3D" id=1]
|
||||
|
||||
[node name="Observer" type="KinematicBody"]
|
||||
[node name="Observer" type="CharacterBody3D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Camera" type="Camera" parent="."]
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
fov = 74.0
|
||||
near = 0.1
|
||||
far = 1000.0
|
||||
|
||||
[node name="OmniLight" type="OmniLight" parent="."]
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
||||
omni_range = 8.0
|
||||
omni_attenuation = 2.0
|
||||
|
||||
@@ -26,48 +26,48 @@ window/resizable=true
|
||||
|
||||
[gdnative]
|
||||
|
||||
singletons=[ ]
|
||||
singletons=[]
|
||||
|
||||
[input]
|
||||
|
||||
mouse_mode_captured={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777246,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":16777246,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
mouse_mode_hidden={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777245,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":16777245,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
mouse_mode_visible={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777244,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":16777244,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_backwards={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":16777234,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_forward={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":87,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":16777232,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_left={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":16777231,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_right={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":68,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"store_command":true,"alt_pressed":false,"shift_pressed":false,"meta_pressed":false,"command_pressed":false,"pressed":false,"keycode":16777233,"physical_keycode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[rendering]
|
||||
|
||||
@@ -3,21 +3,21 @@
|
||||
[ext_resource path="res://observer/observer.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://control.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=1]
|
||||
albedo_color = Color( 0.835294, 0.133333, 0.133333, 1 )
|
||||
[sub_resource type="StandardMaterial3D" id=1]
|
||||
albedo_color = Color(0.835294, 0.133333, 0.133333, 1)
|
||||
|
||||
[sub_resource type="CubeMesh" id=2]
|
||||
[sub_resource type="BoxMesh" id=2]
|
||||
material = SubResource( 1 )
|
||||
size = Vector3( 5, 5, 5 )
|
||||
size = Vector3(5, 5, 5)
|
||||
|
||||
[node name="WindowManagement" type="Spatial"]
|
||||
[node name="WindowManagement" type="Node3D"]
|
||||
|
||||
[node name="Observer" parent="." instance=ExtResource( 1 )]
|
||||
transform = Transform( 0.910685, 0, -0.4131, 0, 1, 0, 0.4131, 0, 0.910685, -4.81287, -0.152566, 9.90641 )
|
||||
transform = Transform3D(0.910685, 0, -0.4131, 0, 1, 0, 0.4131, 0, 0.910685, -4.81287, -0.152566, 9.90641)
|
||||
|
||||
[node name="TestCube" type="MeshInstance" parent="."]
|
||||
[node name="TestCube" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource( 2 )
|
||||
material/0 = null
|
||||
surface_material_override/0 = null
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
anchor_right = 1.0
|
||||
@@ -27,77 +27,77 @@ size_flags_vertical = 2
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Button_Fullscreen" type="Button" parent="Control"]
|
||||
margin_left = 20.0
|
||||
margin_top = 20.0
|
||||
margin_right = 120.0
|
||||
margin_bottom = 45.0
|
||||
offset_left = 20.0
|
||||
offset_top = 20.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 45.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
toggle_mode = true
|
||||
text = "Fullscreen"
|
||||
|
||||
[node name="Button_FixedSize" type="Button" parent="Control"]
|
||||
margin_left = 20.0
|
||||
margin_top = 60.0
|
||||
margin_right = 120.0
|
||||
margin_bottom = 85.0
|
||||
offset_left = 20.0
|
||||
offset_top = 60.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 85.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
toggle_mode = true
|
||||
text = "FixedSize"
|
||||
|
||||
[node name="Button_Minimized" type="Button" parent="Control"]
|
||||
margin_left = 20.0
|
||||
margin_top = 100.0
|
||||
margin_right = 120.0
|
||||
margin_bottom = 125.0
|
||||
offset_left = 20.0
|
||||
offset_top = 100.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 125.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
toggle_mode = true
|
||||
text = "Minimized"
|
||||
|
||||
[node name="Button_Maximized" type="Button" parent="Control"]
|
||||
margin_left = 20.0
|
||||
margin_top = 140.0
|
||||
margin_right = 120.0
|
||||
margin_bottom = 165.0
|
||||
offset_left = 20.0
|
||||
offset_top = 140.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 165.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
toggle_mode = true
|
||||
text = "Maximized"
|
||||
|
||||
[node name="Button_MoveTo" type="Button" parent="Control"]
|
||||
margin_left = 20.0
|
||||
margin_top = 178.0
|
||||
margin_right = 120.0
|
||||
margin_bottom = 203.0
|
||||
offset_left = 20.0
|
||||
offset_top = 178.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 203.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
text = "MoveTo"
|
||||
|
||||
[node name="Button_Resize" type="Button" parent="Control"]
|
||||
margin_left = 20.0
|
||||
margin_top = 218.0
|
||||
margin_right = 120.0
|
||||
margin_bottom = 243.0
|
||||
offset_left = 20.0
|
||||
offset_top = 218.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 243.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
text = "Resize"
|
||||
|
||||
[node name="Button_Screen0" type="Button" parent="Control"]
|
||||
margin_left = 20.0
|
||||
margin_top = 258.0
|
||||
margin_right = 120.0
|
||||
margin_bottom = 283.0
|
||||
offset_left = 20.0
|
||||
offset_top = 258.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 283.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
text = "Screen0"
|
||||
|
||||
[node name="Button_Screen1" type="Button" parent="Control"]
|
||||
margin_left = 20.0
|
||||
margin_top = 298.0
|
||||
margin_right = 120.0
|
||||
margin_bottom = 323.0
|
||||
offset_left = 20.0
|
||||
offset_top = 298.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 323.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
text = "Screen1"
|
||||
@@ -105,10 +105,10 @@ text = "Screen1"
|
||||
[node name="Button_MouseModeVisible" type="Button" parent="Control"]
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 20.0
|
||||
margin_top = -221.0
|
||||
margin_right = 225.0
|
||||
margin_bottom = -196.0
|
||||
offset_left = 20.0
|
||||
offset_top = -221.0
|
||||
offset_right = 225.0
|
||||
offset_bottom = -196.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
toggle_mode = true
|
||||
@@ -118,10 +118,10 @@ align = 0
|
||||
[node name="Button_MouseModeHidden" type="Button" parent="Control"]
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 20.0
|
||||
margin_top = -186.0
|
||||
margin_right = 225.0
|
||||
margin_bottom = -161.0
|
||||
offset_left = 20.0
|
||||
offset_top = -186.0
|
||||
offset_right = 225.0
|
||||
offset_bottom = -161.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
toggle_mode = true
|
||||
@@ -131,10 +131,10 @@ align = 0
|
||||
[node name="Button_MouseModeCaptured" type="Button" parent="Control"]
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 20.0
|
||||
margin_top = -151.0
|
||||
margin_right = 225.0
|
||||
margin_bottom = -126.0
|
||||
offset_left = 20.0
|
||||
offset_top = -151.0
|
||||
offset_right = 225.0
|
||||
offset_bottom = -126.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
toggle_mode = true
|
||||
@@ -144,10 +144,10 @@ align = 0
|
||||
[node name="Label_Mode" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 140.0
|
||||
margin_right = -20.0
|
||||
margin_bottom = 153.0
|
||||
offset_left = -140.0
|
||||
offset_top = 140.0
|
||||
offset_right = -20.0
|
||||
offset_bottom = 153.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Mode:"
|
||||
@@ -155,10 +155,10 @@ text = "Mode:"
|
||||
[node name="Label_Position" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 60.0
|
||||
margin_right = -20.0
|
||||
margin_bottom = 73.0
|
||||
offset_left = -140.0
|
||||
offset_top = 60.0
|
||||
offset_right = -20.0
|
||||
offset_bottom = 73.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Position:"
|
||||
@@ -167,10 +167,10 @@ valign = 1
|
||||
[node name="Label_Size" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 100.0
|
||||
margin_right = -20.0
|
||||
margin_bottom = 113.0
|
||||
offset_left = -140.0
|
||||
offset_top = 100.0
|
||||
offset_right = -20.0
|
||||
offset_bottom = 113.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Size:"
|
||||
@@ -179,10 +179,10 @@ valign = 1
|
||||
[node name="Label_MousePosition" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 220.0
|
||||
margin_right = -20.0
|
||||
margin_bottom = 153.0
|
||||
offset_left = -140.0
|
||||
offset_top = 220.0
|
||||
offset_right = -20.0
|
||||
offset_bottom = 153.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Mouse Position:"
|
||||
@@ -190,10 +190,10 @@ text = "Mouse Position:"
|
||||
[node name="Label_Screen_Count" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 300.0
|
||||
margin_right = -20.0
|
||||
margin_bottom = 314.0
|
||||
offset_left = -140.0
|
||||
offset_top = 300.0
|
||||
offset_right = -20.0
|
||||
offset_bottom = 314.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Screen_Count:"
|
||||
@@ -202,10 +202,10 @@ valign = 1
|
||||
[node name="Label_Screen_Current" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 20.0
|
||||
margin_right = -20.0
|
||||
margin_bottom = 40.0
|
||||
offset_left = -140.0
|
||||
offset_top = 20.0
|
||||
offset_right = -20.0
|
||||
offset_bottom = 40.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Screen:"
|
||||
@@ -214,10 +214,10 @@ valign = 1
|
||||
[node name="Label_Screen0_Resolution" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 340.0
|
||||
margin_right = -16.0
|
||||
margin_bottom = 353.0
|
||||
offset_left = -140.0
|
||||
offset_top = 340.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = 353.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Screen0 Resolution: "
|
||||
@@ -226,10 +226,10 @@ valign = 1
|
||||
[node name="Label_Screen0_Position" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 380.0
|
||||
margin_right = -16.0
|
||||
margin_bottom = 396.0
|
||||
offset_left = -140.0
|
||||
offset_top = 380.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = 396.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Screen0 Position: "
|
||||
@@ -238,10 +238,10 @@ valign = 1
|
||||
[node name="Label_Screen0_DPI" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 416.0
|
||||
margin_right = -16.0
|
||||
margin_bottom = 432.0
|
||||
offset_left = -140.0
|
||||
offset_top = 416.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = 432.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Screen0 DPI:"
|
||||
@@ -250,10 +250,10 @@ valign = 1
|
||||
[node name="Label_Screen1_Resolution" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 451.0
|
||||
margin_right = -16.0
|
||||
margin_bottom = 467.0
|
||||
offset_left = -140.0
|
||||
offset_top = 451.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = 467.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Screen1 Resolution: "
|
||||
@@ -262,10 +262,10 @@ valign = 1
|
||||
[node name="Label_Screen1_Position" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 489.0
|
||||
margin_right = -16.0
|
||||
margin_bottom = 505.0
|
||||
offset_left = -140.0
|
||||
offset_top = 489.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = 505.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Screen1 Position: "
|
||||
@@ -274,10 +274,10 @@ valign = 1
|
||||
[node name="Label_Screen1_DPI" type="Label" parent="Control"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -140.0
|
||||
margin_top = 524.0
|
||||
margin_right = -16.0
|
||||
margin_bottom = 540.0
|
||||
offset_left = -140.0
|
||||
offset_top = 524.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = 540.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "Screen1 DPI:"
|
||||
@@ -286,10 +286,10 @@ valign = 1
|
||||
[node name="Label_KeyInfo" type="Label" parent="Control"]
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 20.0
|
||||
margin_top = -122.0
|
||||
margin_right = 286.0
|
||||
margin_bottom = -63.0
|
||||
offset_left = 20.0
|
||||
offset_top = -122.0
|
||||
offset_right = 286.0
|
||||
offset_bottom = -63.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "F1: Activate MOUSE_MODE_VISIBLE
|
||||
@@ -300,10 +300,10 @@ valign = 2
|
||||
[node name="Label_MouseModeCaptured_KeyInfo" type="Label" parent="Control"]
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 20.0
|
||||
margin_top = -65.0
|
||||
margin_right = 286.0
|
||||
margin_bottom = -11.0
|
||||
offset_left = 20.0
|
||||
offset_top = -65.0
|
||||
offset_right = 286.0
|
||||
offset_bottom = -11.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "ESC: Deactivate MOUSE_MODE_CAPTURED
|
||||
@@ -314,29 +314,29 @@ valign = 2
|
||||
[node name="Label_MouseModes" type="Label" parent="Control"]
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 20.0
|
||||
margin_top = -249.0
|
||||
margin_right = 286.0
|
||||
margin_bottom = -227.0
|
||||
offset_left = 20.0
|
||||
offset_top = -249.0
|
||||
offset_right = 286.0
|
||||
offset_bottom = -227.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "MouseModes:"
|
||||
valign = 2
|
||||
|
||||
[node name="ImplementationDialog" type="AcceptDialog" parent="Control"]
|
||||
margin_left = 200.0
|
||||
margin_top = 100.0
|
||||
margin_right = 600.0
|
||||
margin_bottom = 450.0
|
||||
offset_left = 200.0
|
||||
offset_top = 100.0
|
||||
offset_right = 600.0
|
||||
offset_bottom = 450.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
window_title = "Please be advised..."
|
||||
|
||||
[node name="Text" type="Label" parent="Control/ImplementationDialog"]
|
||||
margin_left = 8.0
|
||||
margin_top = 8.0
|
||||
margin_right = 392.0
|
||||
margin_bottom = 314.0
|
||||
offset_left = 8.0
|
||||
offset_top = 8.0
|
||||
offset_right = 392.0
|
||||
offset_bottom = 314.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 0
|
||||
text = "This is an Implementation-Test-Demo
|
||||
|
||||
Reference in New Issue
Block a user