Update Things (#21)

This commit is contained in:
Rafał Mikrut 2021-01-13 16:58:14 +01:00 committed by GitHub
parent 7ba8885f41
commit e3a4fd5bd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 130 additions and 979 deletions

View File

@ -1,7 +1,9 @@
[gd_scene load_steps=34 format=2]
[gd_scene load_steps=37 format=2]
[ext_resource path="res://icon.png" type="Texture" id=50]
[sub_resource type="SpatialMaterial" id=33]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 50 ), ExtResource( 50 ), ExtResource( 50 ) ],
@ -86,6 +88,8 @@ bind/9/name = ""
bind/9/bone = -1
bind/9/pose = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
[sub_resource type="SpatialMaterial" id=34]
[sub_resource type="CubeMesh" id=16]
[sub_resource type="MultiMesh" id=17]
@ -108,6 +112,8 @@ radial_accel_random = 1.0
tangential_accel = 3.1
tangential_accel_random = 1.0
[sub_resource type="CubeMesh" id=35]
[sub_resource type="BakedLightmapData" id=19]
energy = 5.7
@ -175,23 +181,39 @@ extents = Vector3( 1, 1.77, 1.71 )
[node name="3DALL" type="Spatial"]
[node name="ARVROrigin" type="ARVROrigin" parent="."]
world_scale = 1.01
[node name="ARVRAnchor" type="ARVRAnchor" parent="ARVROrigin"]
anchor_id = 32
[node name="ARVRCamera_NOTHING" type="ARVRCamera" parent="ARVROrigin"]
size = 16004.7
h_offset = 0.159
v_offset = -0.909
doppler_tracking = 1
projection = 1
size = 91.71
near = 2235.15
far = 1.1
[node name="ARVRController" type="ARVRController" parent="ARVROrigin"]
controller_id = 3
[node name="Camera" type="Camera" parent="."]
h_offset = 0.032
v_offset = 0.03
doppler_tracking = 1
projection = 1
fov = 75.7
size = 1.23
near = 0.42
far = 1134.3
far = 356.3
[node name="ClippedCamera" type="ClippedCamera" parent="."]
h_offset = 0.038
v_offset = -0.146
fov = 64.8
size = 15954.2
near = 0.45
margin = 23.09
[node name="InterpolatedCamera" type="InterpolatedCamera" parent="."]
@ -200,8 +222,15 @@ target = NodePath("../ARVROrigin/ARVRController")
speed = 1.06
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
material_override = SubResource( 33 )
offset = Vector2( 0.026, 0 )
flip_h = true
flip_v = true
modulate = Color( 0.454902, 0.25098, 0.25098, 1 )
opacity = 0.74
pixel_size = 0.0526
billboard = 1
shaded = true
frames = SubResource( 1 )
playing = true
@ -210,18 +239,30 @@ flip_h = true
flip_v = true
texture = ExtResource( 50 )
hframes = 13
frame = 2
[node name="CPUParticles" type="CPUParticles" parent="."]
amount = 5
lifetime = 1.83
speed_scale = 2.68
explosiveness = 0.24
randomness = 0.87
lifetime_randomness = 0.75
mesh = SubResource( 2 )
emission_shape = 1
emission_sphere_radius = 1.0
[node name="CSGBox" type="CSGBox" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 25.6943 )
operation = 1
invert_faces = true
width = 44.173
height = 19.604
depth = 5.12757
material = SubResource( 3 )
[node name="CSGCylinder" type="CSGCylinder" parent="."]
transform = Transform( 1, 0, 0, 0, 0.745602, 0, 0, 0, 1, 0, 0, 0 )
transform = Transform( 1, 0, 0, 0, 0.745602, 0, 0, 0, 1, 0, -21.0098, 0 )
invert_faces = true
radius = 123.75
height = 45.8309
@ -297,12 +338,14 @@ use_in_baked_light = true
[node name="MeshInstance" type="MeshInstance" parent="."]
mesh = SubResource( 14 )
skin = SubResource( 15 )
material/0 = null
material/0 = SubResource( 34 )
[node name="MultiMeshInstance" type="MultiMeshInstance" parent="."]
multimesh = SubResource( 17 )
[node name="Particles" type="Particles" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -27.0754 )
amount = 4
lifetime = 1.42
preprocess = 0.5
speed_scale = 1.3
@ -311,20 +354,25 @@ randomness = 0.34
fract_delta = false
local_coords = false
process_material = SubResource( 18 )
draw_pass_1 = SubResource( 35 )
[node name="BakedLightmap" type="BakedLightmap" parent="."]
bake_cell_size = 1.94
bake_quality = 0
bake_mode = 1
bake_propagation = 0.0
bake_energy = 1.58
image_path = "res://file.jpg"
light_data = SubResource( 19 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, 0.639291, -0.768965, 0, 0.768965, 0.639291, 0, 21.5838, 0 )
light_energy = 7.54
shadow_enabled = true
[node name="SpotLight" type="SpotLight" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -16.2155 )
light_energy = 1.11
transform = Transform( 1, 0, 0, 0, -0.171431, -0.985196, 0, 0.985196, -0.171431, 0, 0, -16.2155 )
light_energy = 4.05
light_negative = true
shadow_enabled = true
shadow_bias = 0.4
@ -349,6 +397,7 @@ box_projection = true
[node name="RootMotionView" type="RootMotionView" parent="."]
[node name="Area" type="Area" parent="."]
gravity = 22.39
linear_damp = 0.126
monitoring = false
@ -417,6 +466,7 @@ shape = SubResource( 20 )
physics_material_override = SubResource( 22 )
engine_force = 16.41
brake = 0.46
steering = 0.17
[node name="CollisionShape" type="CollisionShape" parent="VehicleBody"]
shape = SubResource( 20 )
@ -448,6 +498,7 @@ brake = 0.46
[node name="StaticBody" type="StaticBody" parent="."]
physics_material_override = SubResource( 23 )
constant_linear_velocity = Vector3( 0.049, 0, 0 )
[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
shape = SubResource( 20 )
@ -464,6 +515,10 @@ shape = SubResource( 20 )
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
stream = SubResource( 24 )
attenuation_model = 1
unit_db = 0.031
unit_size = 5.5
max_db = 2.953
pitch_scale = 1.42
[node name="BoneAttachment" type="BoneAttachment" parent="."]
@ -478,7 +533,7 @@ shape = SubResource( 25 )
mesh_library = SubResource( 27 )
cell_size = Vector3( 2, 1.14, 3.08 )
data = {
"cells": PoolIntArray( 26, 0, 0, 27, 0, 0, 21, 1, 0, 23, 1, 0, 25, 1, 0, 26, 1, 0, 18, 2, 0, 19, 2, 0, 65523, 5, 0, 65524, 5, 0, 65516, 65524, 0, 65523, 65524, 0, 65514, 65531, 0, 65515, 65531, 0, 65513, 65532, 0, 65514, 65532, 0, 65513, 65533, 0 )
"cells": PoolIntArray( 23, 1, 0, 25, 1, 0, 26, 1, 0, 18, 2, 0, 65523, 5, 0, 65524, 5, 0, 65530, 65515, 0, 65520, 65520, 0, 65519, 65521, 0, 65520, 65521, 0, 65519, 65522, 0, 65518, 65523, 0, 65523, 65524, 0, 65526, 65528, 0, 65513, 65533, 0 )
}
__meta__ = {
"_editor_clip_": 0
@ -488,7 +543,7 @@ __meta__ = {
current = true
[node name="Navigation_LEAK" type="Navigation" parent="."]
up_vector = Vector3( 0, 1.228, 0 )
up_vector = Vector3( 0, 1.318, 0 )
[node name="NavigationMeshInstance" type="NavigationMeshInstance" parent="Navigation_LEAK"]
navmesh = SubResource( 28 )
@ -509,15 +564,20 @@ navmesh = SubResource( 28 )
curve = SubResource( 29 )
[node name="PathFollow" type="PathFollow" parent="Path"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.21835, 8.31693, -11.5007 )
[node name="PathFollow2" type="PathFollow" parent="Path"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.21835, 8.31693, -11.5007 )
[node name="PathFollow3" type="PathFollow" parent="Path"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.21835, 8.31693, -11.5007 )
[node name="PathFollow4" type="PathFollow" parent="Path"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.21835, 8.31693, -11.5007 )
[node name="PathFollow" type="PathFollow" parent="."]
offset = 0.28
offset = 2.09
h_offset = 0.101
[node name="Position3D_NOTHING" type="Position3D" parent="."]
@ -644,7 +704,7 @@ angular_motion/restitution = 1.77
angular_motion/damping = 4.88
[node name="PinJoint" type="PinJoint" parent="."]
nodes/node_a = NodePath("../Area")
nodes/node_a = NodePath("../KinematicBody")
nodes/node_b = NodePath("../StaticBody")
params/bias = 0.99
params/damping = 7.3
@ -668,24 +728,6 @@ omni_attenuation = 1.51572
omni_shadow_mode = 0
omni_shadow_detail = 0
[node name="Generic6DOFJoint2" type="Generic6DOFJoint" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.63619, -0.392871, 2.48948 )
nodes/node_a = NodePath("../StaticBody")
nodes/node_b = NodePath("../PhysicalBone")
solver/priority = 5
collision/exclude_nodes = false
linear_limit_x/upper_distance = 0.18
linear_limit_x/lower_distance = 0.059
linear_limit_x/softness = 2.62
linear_limit_x/restitution = 1.54
angular_motor_z/enabled = true
angular_motor_z/target_velocity = 0.11
angular_motor_z/force_limit = 300.5
angular_spring_z/enabled = true
angular_spring_z/stiffness = 0.5
angular_spring_z/damping = 0.64
angular_spring_z/equilibrium_point = -0.9
[node name="SoftBody" type="SoftBody" parent="."]
mesh = SubResource( 32 )
material/0 = null

View File

@ -1,8 +1,7 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=5 format=2]
[ext_resource path="res://AIO/AllNodes/OtherALL.tscn" type="PackedScene" id=1]
[ext_resource path="res://AIO/AllNodes/2DALL.tscn" type="PackedScene" id=2]
[ext_resource path="res://AIO/AllNodes/ResourcesALL.tscn" type="PackedScene" id=3]
[ext_resource path="res://AIO/AllNodes/ControlALL.tscn" type="PackedScene" id=4]
[ext_resource path="res://AIO/AllNodes/3DALL.tscn" type="PackedScene" id=5]
@ -15,5 +14,3 @@
[node name="ControlALL" parent="." instance=ExtResource( 4 )]
[node name="OtherALL" parent="." instance=ExtResource( 1 )]
[node name="ResourcesALL" parent="." instance=ExtResource( 3 )]

View File

@ -1,918 +0,0 @@
[gd_scene format=2]
[node name="Resources" type="Node2D"]
[node name="Reference_LEAK" type="Node2D" parent="."]
[node name="ARVRInterface_CHILD" type="Node2D" parent="."]
[node name="ARVRInterfaceGDNative" type="Node2D" parent="."]
[node name="MobileVRInterface" type="Node2D" parent="."]
[node name="AStar" type="Node2D" parent="."]
[node name="AStar2D" type="Node2D" parent="."]
[node name="Resource" type="Node2D" parent="."]
[node name="Texture_CHILD" type="Node2D" parent="."]
[node name="AnimatedTexture" type="Node2D" parent="."]
[node name="AtlasTexture" type="Node2D" parent="."]
[node name="CameraTexture" type="Node2D" parent="."]
[node name="CurveTexture" type="Node2D" parent="."]
[node name="GradientTexture" type="Node2D" parent="."]
[node name="ImageTexture" type="Node2D" parent="."]
[node name="LargeTexture" type="Node2D" parent="."]
[node name="MeshTexture" type="Node2D" parent="."]
[node name="NoiseTexture" type="Node2D" parent="."]
[node name="ProxyTexture" type="Node2D" parent="."]
[node name="StreamTexture" type="Node2D" parent="."]
[node name="ViewportTexture" type="Node2D" parent="."]
[node name="Animation" type="Node2D" parent="."]
[node name="AnimationNode" type="Node2D" parent="."]
[node name="AnimationNodeAdd2" type="Node2D" parent="."]
[node name="AnimationNodeAdd3" type="Node2D" parent="."]
[node name="AnimationRootNode" type="Node2D" parent="."]
[node name="AnimationNodeAnimation" type="Node2D" parent="."]
[node name="AnimationNodeBlendSpace1D" type="Node2D" parent="."]
[node name="AnimationNodeBlendSpace2D" type="Node2D" parent="."]
[node name="AnimationNodeBlendTree" type="Node2D" parent="."]
[node name="AnimationNodeBlendMachine" type="Node2D" parent="."]
[node name="AnimationNodeBlendBlend2" type="Node2D" parent="."]
[node name="AnimationNodeBlendBlend3" type="Node2D" parent="."]
[node name="AnimationNodeOneShot" type="Node2D" parent="."]
[node name="AnimationNodeOutput" type="Node2D" parent="."]
[node name="AnimationNodeTimeScale" type="Node2D" parent="."]
[node name="AnimationNodeTimeSeek" type="Node2D" parent="."]
[node name="AnimationNodeTransition" type="Node2D" parent="."]
[node name="AnimationNodeBlendStateMachinePlayback" type="Node2D" parent="."]
[node name="AnimationNodeBlendStateMachineTransition" type="Node2D" parent="."]
[node name="Mesh" type="Node2D" parent="."]
[node name="ArrayMesh" type="Node2D" parent="."]
[node name="PrimitiveMesh_CHILD" type="Node2D" parent="."]
[node name="CapsuleMesh" type="Node2D" parent="."]
[node name="CubeMesh" type="Node2D" parent="."]
[node name="CylinderMesh" type="Node2D" parent="."]
[node name="PlaneMesh" type="Node2D" parent="."]
[node name="PointMesh" type="Node2D" parent="."]
[node name="PrismMesh" type="Node2D" parent="."]
[node name="QuadMesh" type="Node2D" parent="."]
[node name="SphereMesh" type="Node2D" parent="."]
[node name="AudioBusLayout" type="Node2D" parent="."]
[node name="AudioEffect_CHILD" type="Node2D" parent="."]
[node name="AudioEffectAmplify" type="Node2D" parent="."]
[node name="AudioEffectFilter" type="Node2D" parent="."]
[node name="AudioEffectBandLimitFilter" type="Node2D" parent="."]
[node name="AudioEffectBandPassFilter" type="Node2D" parent="."]
[node name="AudioEffectHighPassFilter" type="Node2D" parent="."]
[node name="AudioEffectHighShelfFilter" type="Node2D" parent="."]
[node name="AudioEffectLowPassFilter" type="Node2D" parent="."]
[node name="AudioEffectLowShelfFilter" type="Node2D" parent="."]
[node name="AudioEffectNotchFilter" type="Node2D" parent="."]
[node name="AudioEffectChorus" type="Node2D" parent="."]
[node name="AudioEffectCompressor" type="Node2D" parent="."]
[node name="AudioEffectDelay" type="Node2D" parent="."]
[node name="AudioEffectDistortion" type="Node2D" parent="."]
[node name="AudioEffectEQ" type="Node2D" parent="."]
[node name="AudioEffectEQ10" type="Node2D" parent="."]
[node name="AudioEffectEQ21" type="Node2D" parent="."]
[node name="AudioEffectEQ6" type="Node2D" parent="."]
[node name="AudioEffectLimiter" type="Node2D" parent="."]
[node name="AudioEffectPanner" type="Node2D" parent="."]
[node name="AudioEffectPhaser" type="Node2D" parent="."]
[node name="AudioEffectPitchShift" type="Node2D" parent="."]
[node name="AudioEffectRecord" type="Node2D" parent="."]
[node name="AudioEffectReverb" type="Node2D" parent="."]
[node name="AudioEffectSpectrumAnalyzer" type="Node2D" parent="."]
[node name="AudioEffectStereoEnhance" type="Node2D" parent="."]
[node name="AudioStream_CHILD" type="Node2D" parent="."]
[node name="AudioStreamGenerator" type="Node2D" parent="."]
[node name="AudioStreamMicrophone" type="Node2D" parent="."]
[node name="AudioStreamOGGVorbis" type="Node2D" parent="."]
[node name="AudioStreamRandomPitch" type="Node2D" parent="."]
[node name="AudioStreamSample" type="Node2D" parent="."]
[node name="BakedLightmapData" type="Node2D" parent="."]
[node name="BitMap" type="Node2D" parent="."]
[node name="Font_CHILD" type="Node2D" parent="."]
[node name="BitmapFont" type="Node2D" parent="."]
[node name="DynamicFont" type="Node2D" parent="."]
[node name="Shape_CHILD" type="Node2D" parent="."]
[node name="BoxShape" type="Node2D" parent="."]
[node name="CapsuleShape" type="Node2D" parent="."]
[node name="ConcavePolygonShape" type="Node2D" parent="."]
[node name="ConvexPolygonShape" type="Node2D" parent="."]
[node name="CylinderShape" type="Node2D" parent="."]
[node name="HeightMapShape" type="Node2D" parent="."]
[node name="PlaneShape" type="Node2D" parent="."]
[node name="RayShape" type="Node2D" parent="."]
[node name="SphereShape" type="Node2D" parent="."]
[node name="ButtonGroup" type="Node2D" parent="."]
[node name="Material_CHILD" type="Node2D" parent="."]
[node name="CanvasItemMaterial" type="Node2D" parent="."]
[node name="ParticlesMaterial" type="Node2D" parent="."]
[node name="ShaderMaterial" type="Node2D" parent="."]
[node name="SpatialMaterial" type="Node2D" parent="."]
[node name="Shape2D_CHILD" type="Node2D" parent="."]
[node name="CapsuleShape2D" type="Node2D" parent="."]
[node name="CircleShape2D" type="Node2D" parent="."]
[node name="ConcavePolygonShape2D" type="Node2D" parent="."]
[node name="ConvexPolygonShape2D" type="Node2D" parent="."]
[node name="LineShape2D" type="Node2D" parent="."]
[node name="RayShape2D" type="Node2D" parent="."]
[node name="RectangleShape2D" type="Node2D" parent="."]
[node name="SegmentShape2D" type="Node2D" parent="."]
[node name="CryptoKey" type="Node2D" parent="."]
[node name="CubeMap" type="Node2D" parent="."]
[node name="Curve" type="Node2D" parent="."]
[node name="Curve2D" type="Node2D" parent="."]
[node name="Curve3D" type="Node2D" parent="."]
[node name="DynamicFontData" type="Node2D" parent="."]
[node name="EditorSettings_JUST_DONT" type="Node2D" parent="."]
[node name="EditorSpatialGizmoPlugin_CANT" type="Node2D" parent="."]
[node name="Environment" type="Node2D" parent="."]
[node name="GDNativeLibrary" type="Node2D" parent="."]
[node name="Script_CHILD" type="Node2D" parent="."]
[node name="GDScript_WORKAROUND" type="Node2D" parent="."]
[node name="NativeScript_CANT" type="Node2D" parent="."]
[node name="PluginScript_CANT" type="Node2D" parent="."]
[node name="VisualScript" type="Node2D" parent="."]
[node name="GIProbeData" type="Node2D" parent="."]
[node name="Gradient" type="Node2D" parent="."]
[node name="Image" type="Node2D" parent="."]
[node name="InputEvent_CHILD" type="Node2D" parent="."]
[node name="InputEventAction" type="Node2D" parent="."]
[node name="InputEventWithModifiers_CHILD" type="Node2D" parent="."]
[node name="InputEventGesture_CHILD" type="Node2D" parent="."]
[node name="InputEventMagnifyGesture" type="Node2D" parent="."]
[node name="InputEventPanGesture" type="Node2D" parent="."]
[node name="InputEventKey" type="Node2D" parent="."]
[node name="InputEventMouse_CHILD" type="Node2D" parent="."]
[node name="InputEventMouseButton" type="Node2D" parent="."]
[node name="InputEventMouseMotion" type="Node2D" parent="."]
[node name="InputEventJoypadButton" type="Node2D" parent="."]
[node name="InputEventJoypadMotion" type="Node2D" parent="."]
[node name="InputEventMIDI" type="Node2D" parent="."]
[node name="InputEventScreenDrag" type="Node2D" parent="."]
[node name="InputEventScreenTouch" type="Node2D" parent="."]
[node name="MeshLibrary" type="Node2D" parent="."]
[node name="MultiMesh" type="Node2D" parent="."]
[node name="NavigationMesh" type="Node2D" parent="."]
[node name="NavigationPolygon" type="Node2D" parent="."]
[node name="OccluderPolygon2D" type="Node2D" parent="."]
[node name="OpenSimplexNoise" type="Node2D" parent="."]
[node name="Translation" type="Node2D" parent="."]
[node name="PHashTranslation" type="Node2D" parent="."]
[node name="PackedDataContainer" type="Node2D" parent="."]
[node name="PackedScene" type="Node2D" parent="."]
[node name="Sky_CHILD" type="Node2D" parent="."]
[node name="PanoramaSky" type="Node2D" parent="."]
[node name="ProceduralSky" type="Node2D" parent="."]
[node name="PhysicsMaterial" type="Node2D" parent="."]
[node name="PolygonPathFinder" type="Node2D" parent="."]
[node name="RichTextEffect" type="Node2D" parent="."]
[node name="Shader" type="Node2D" parent="."]
[node name="VisualShader" type="Node2D" parent="."]
[node name="ShortCut" type="Node2D" parent="."]
[node name="Skin" type="Node2D" parent="."]
[node name="SpriteFrames" type="Node2D" parent="."]
[node name="StyleBox_CHILD" type="Node2D" parent="."]
[node name="StyleBoxEmpty_CANT" type="Node2D" parent="."]
[node name="StyleBoxFlat" type="Node2D" parent="."]
[node name="StyleBoxLine" type="Node2D" parent="."]
[node name="StyleBoxTexture" type="Node2D" parent="."]
[node name="TextFile_CANT" type="Node2D" parent="."]
[node name="TextureLayered_CANT" type="Node2D" parent="."]
[node name="Texture3D_CANT" type="Node2D" parent="."]
[node name="TextureArray_CANT" type="Node2D" parent="."]
[node name="Theme" type="Node2D" parent="."]
[node name="TileSet" type="Node2D" parent="."]
[node name="VideoStream_CHILD" type="Node2D" parent="."]
[node name="VideoStreamGDNative" type="Node2D" parent="."]
[node name="VideoStreamTheora" type="Node2D" parent="."]
[node name="VideoStreamWebm" type="Node2D" parent="."]
[node name="VisualScriptNode_CHILD" type="Node2D" parent="."]
[node name="VisualScriptBasicTypeConstant" type="Node2D" parent="."]
[node name="VisualScriptBuiltinFunc" type="Node2D" parent="."]
[node name="VisualScriptClassConstant" type="Node2D" parent="."]
[node name="VisualScriptComment" type="Node2D" parent="."]
[node name="VisualScriptLists_CANT" type="Node2D" parent="."]
[node name="VisualScriptComposeArray_CANT" type="Node2D" parent="."]
[node name="VisualScriptCondition_CANT" type="Node2D" parent="."]
[node name="VisualScriptConstant" type="Node2D" parent="."]
[node name="VisualScriptConstructor" type="Node2D" parent="."]
[node name="VisualScriptCustomNode_CANT" type="Node2D" parent="."]
[node name="VisualScriptDeconstruct" type="Node2D" parent="."]
[node name="VisualScriptEmitSignal" type="Node2D" parent="."]
[node name="VisualScriptEngineSingleton" type="Node2D" parent="."]
[node name="VisualScriptExpression_CANT" type="Node2D" parent="."]
[node name="VisualScriptFunction_CANT" type="Node2D" parent="."]
[node name="VisualScriptFunctionCall" type="Node2D" parent="."]
[node name="VisualScriptGlobalConstant" type="Node2D" parent="."]
[node name="VisualScriptIndexGet_CANT" type="Node2D" parent="."]
[node name="VisualScriptIndexSet_CANT" type="Node2D" parent="."]
[node name="VisualScriptInputAction" type="Node2D" parent="."]
[node name="VisualScriptIterator_CANT" type="Node2D" parent="."]
[node name="VisualScriptLocalVar" type="Node2D" parent="."]
[node name="VisualScriptLocalVarSet" type="Node2D" parent="."]
[node name="VisualScriptMathConstant" type="Node2D" parent="."]
[node name="VisualScriptOperator" type="Node2D" parent="."]
[node name="VisualScriptPreload" type="Node2D" parent="."]
[node name="VisualScriptPropertyGet" type="Node2D" parent="."]
[node name="VisualScriptPropertySet" type="Node2D" parent="."]
[node name="VisualScriptResourcePath" type="Node2D" parent="."]
[node name="VisualScriptReturn" type="Node2D" parent="."]
[node name="VisualScriptSceneNode" type="Node2D" parent="."]
[node name="VisualScriptSceneTree_CANT" type="Node2D" parent="."]
[node name="VisualScriptSelect" type="Node2D" parent="."]
[node name="VisualScriptSelf_CANT" type="Node2D" parent="."]
[node name="VisualScriptSequence" type="Node2D" parent="."]
[node name="VisualScriptSubCall_CANT" type="Node2D" parent="."]
[node name="VisualScriptSwitch_CANT" type="Node2D" parent="."]
[node name="VisualScriptTypeCast" type="Node2D" parent="."]
[node name="VisualScriptVariableGet" type="Node2D" parent="."]
[node name="VisualScriptWhile_CANT" type="Node2D" parent="."]
[node name="VisualScriptYield" type="Node2D" parent="."]
[node name="VisualScriptYieldSignal" type="Node2D" parent="."]
[node name="VisualShaderNode_CHILD" type="Node2D" parent="."]
[node name="VisualShaderNodeBooleanConstant" type="Node2D" parent="."]
[node name="VisualShaderNodeUniform_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeBooleanUniform_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeColorUniform_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeScalarUniform_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeTextureUniform" type="Node2D" parent="."]
[node name="VisualShaderNodeTextureUniformTriplanar_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeTransformUniform_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVec3Uniform_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeColorConstant" type="Node2D" parent="."]
[node name="VisualShaderNodeColorFunc" type="Node2D" parent="."]
[node name="VisualShaderNodeColorOp" type="Node2D" parent="."]
[node name="VisualShaderNodeCompare" type="Node2D" parent="."]
[node name="VisualScriptVariableSet" type="Node2D" parent="."]
[node name="VisualShaderNodeCubeMap" type="Node2D" parent="."]
[node name="VisualShaderNodeCubeMapUniform_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeCustom_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeDeterminant_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeDotProduct_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeGroupBase" type="Node2D" parent="."]
[node name="VisualShaderNodeExpression" type="Node2D" parent="."]
[node name="VisualShaderNodeGlobalExpression" type="Node2D" parent="."]
[node name="VisualShaderNodeFaceForward_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeFresnel_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeIf_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeInput" type="Node2D" parent="."]
[node name="VisualShaderNodeIs" type="Node2D" parent="."]
[node name="VisualShaderNodeOuterProduct_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeOutput_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeScalarClamp_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeScalarConstant" type="Node2D" parent="."]
[node name="VisualShaderNodeScalarDerivativeFunc" type="Node2D" parent="."]
[node name="VisualShaderNodeScalarFunc" type="Node2D" parent="."]
[node name="VisualShaderNodeScalarInterp_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeScalarOp" type="Node2D" parent="."]
[node name="VisualShaderNodeScalarSmoothStep_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeSwitch_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeScalarSwitch_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeTexture" type="Node2D" parent="."]
[node name="VisualShaderNodeTransformCompose_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeTransformConstant" type="Node2D" parent="."]
[node name="VisualShaderNodeDecompose_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeTransformFunc" type="Node2D" parent="."]
[node name="VisualShaderNodeTransformMult" type="Node2D" parent="."]
[node name="VisualShaderNodeTransformVecMult" type="Node2D" parent="."]
[node name="VisualShaderNodeVec3Constant" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorClamp_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorCompose_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorDecompose_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorDerivativeFunc" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorDistance_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorFunc" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorInterp_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorLen_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorOp" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorRefract_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorScalarMix_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorScalarSmoothStep_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorScalarStep_CANT" type="Node2D" parent="."]
[node name="VisualShaderNodeVectorSmoothStep_CANT" type="Node2D" parent="."]
[node name="World" type="Node2D" parent="."]
[node name="World2D" type="Node2D" parent="."]
[node name="X509Certificate" type="Node2D" parent="."]
[node name="AnimationTrackEditPlugin_CANT" type="Node2D" parent="."]
[node name="AudioEffectInstance_CANT" type="Node2D" parent="."]
[node name="AudioEffectAmplifyInstance_CANT" type="Node2D" parent="."]
[node name="AudioEffectEQInstance_CANT" type="Node2D" parent="."]
[node name="AudioEffectPannerInstance_CANT" type="Node2D" parent="."]
[node name="AudioEffectSpectrumAnalyzerInstance_CANT" type="Node2D" parent="."]
[node name="AudioStreamPlayback_CANT" type="Node2D" parent="."]
[node name="AudioStreamPlaybackResampled_CANT" type="Node2D" parent="."]
[node name="AudioStreamGeneratorPlayback_CANT" type="Node2D" parent="."]
[node name="CameraFeed" type="Node2D" parent="."]
[node name="CharFXTransform" type="Node2D" parent="."]
[node name="ConfigFile" type="Node2D" parent="."]
[node name="Crypto" type="Node2D" parent="."]
[node name="Directory" type="Node2D" parent="."]
[node name="EditorExportPlugin_CANT" type="Node2D" parent="."]
[node name="EditorFeatureProfile_CANT" type="Node2D" parent="."]
[node name="ResourceImporter_CANT2" type="Node2D" parent="."]
[node name="EditorImportPlugin_CANT" type="Node2D" parent="."]
[node name="ResourceImporterOGGVorbis_CANT" type="Node2D" parent="."]
[node name="EditorInspectorPlugin_CANT" type="Node2D" parent="."]
[node name="EditorResourceConversionPlugin_CANT" type="Node2D" parent="."]
[node name="EditorResourcePreviewGenerator_CANT" type="Node2D" parent="."]
[node name="EditorSceneImporter_CANT" type="Node2D" parent="."]
[node name="EditorSceneImporterAssimp_CANT" type="Node2D" parent="."]
[node name="EditorScenePostImport_CANT" type="Node2D" parent="."]
[node name="EditorScript_CANT" type="Node2D" parent="."]
[node name="SpatialGizmo_CANT" type="Node2D" parent="."]
[node name="EditorSpatialGizmo_CANT" type="Node2D" parent="."]
[node name="EncodedObjectAsID" type="Node2D" parent="."]
[node name="Expression" type="Node2D" parent="."]
[node name="File" type="Node2D" parent="."]
[node name="FuncRef_CANT" type="Node2D" parent="."]
[node name="GDNative" type="Node2D" parent="."]
[node name="GDScriptFunctionState_CANT" type="Node2D" parent="."]
[node name="GDScriptNativeClass_CANT" type="Node2D" parent="."]
[node name="HTTPClient" type="Node2D" parent="."]
[node name="HashingContext" type="Node2D" parent="."]
[node name="JSONParseResult" type="Node2D" parent="."]
[node name="KinematicCollision" type="Node2D" parent="."]
[node name="KinematicCollision2D" type="Node2D" parent="."]
[node name="Marshalls_CANT" type="Node2D" parent="."]
[node name="MeshDataTool" type="Node2D" parent="."]
[node name="MultiplayerAPI" type="Node2D" parent="."]
[node name="PacketPeer_CHILD" type="Node2D" parent="."]
[node name="NetworkedMultiplayerPeer_CHILD" type="Node2D" parent="."]
[node name="MultiplayerPeerGDNative_CANT" type="Node2D" parent="."]
[node name="NetworkedMultiplayerENet" type="Node2D" parent="."]
[node name="WebRTCMultiplayer" type="Node2D" parent="."]
[node name="WebSocketMultiplayerPeer_CHILD" type="Node2D" parent="."]
[node name="WebSocketClient" type="Node2D" parent="."]
[node name="WebSocketServer_SPAM" type="Node2D" parent="."]
[node name="PacketPeerGDNative_CANT" type="Node2D" parent="."]
[node name="PacketPeerStream" type="Node2D" parent="."]
[node name="PacketPeerUDP" type="Node2D" parent="."]
[node name="WebRTCDataChannel_CANT" type="Node2D" parent="."]
[node name="WebRTCDataChannelGDNative_CANT" type="Node2D" parent="."]
[node name="WebSocketPeer" type="Node2D" parent="."]
[node name="Mutex" type="Node2D" parent="."]
[node name="PCKPacker" type="Node2D" parent="."]
[node name="PackerDatacontainerRef_CANT" type="Node2D" parent="."]
[node name="Physics2DShapeQueryParameters" type="Node2D" parent="."]
[node name="Physics2DShapeQueryResult_CANT" type="Node2D" parent="."]
[node name="Physics2DTestMotionResult" type="Node2D" parent="."]
[node name="PhysicsShapeQueryParameters" type="Node2D" parent="."]
[node name="PhysicsShapeQueryResult_CANT" type="Node2D" parent="."]
[node name="RandomNumberGenerator" type="Node2D" parent="."]
[node name="RegEx" type="Node2D" parent="."]
[node name="RegExMatch" type="Node2D" parent="."]
[node name="ResourceFormatLoader_CANT" type="Node2D" parent="."]
[node name="ResourceFormatLoaderCrypto_CANT" type="Node2D" parent="."]
[node name="ResourceFormatSaver_CANT" type="Node2D" parent="."]
[node name="ResourceFormatSaverCrypto_CANT" type="Node2D" parent="."]
[node name="ResourceImporter_CANT" type="Node2D" parent="."]
[node name="ResourveInteractiveLoader_CANT" type="Node2D" parent="."]
[node name="SceneState_CANT" type="Node2D" parent="."]
[node name="SceneTreeTimer_CANT" type="Node2D" parent="."]
[node name="Semaphore_DONT_USE" type="Node2D" parent="."]
[node name="SkinReference_CANT" type="Node2D" parent="."]
[node name="SpatialVelocityTracker" type="Node2D" parent="."]
[node name="StreamPeer_CHILD" type="Node2D" parent="."]
[node name="StreamPeerBuffer" type="Node2D" parent="."]
[node name="StreamPeerGDNative_CANT" type="Node2D" parent="."]
[node name="StreamPeerSSL" type="Node2D" parent="."]
[node name="StreamPeerTCP" type="Node2D" parent="."]
[node name="SurfaceTool" type="Node2D" parent="."]
[node name="TCP_Server" type="Node2D" parent="."]
[node name="Thread" type="Node2D" parent="."]
[node name="TriangleMesh_CANT" type="Node2D" parent="."]
[node name="UPNP" type="Node2D" parent="."]
[node name="UPNPDevice" type="Node2D" parent="."]
[node name="VisualScriptFunctionState" type="Node2D" parent="."]
[node name="WeakRef" type="Node2D" parent="."]
[node name="WebRTCPeerConnection" type="Node2D" parent="."]
[node name="WebRTCPeerConnectionGDNative_CANT" type="Node2D" parent="."]
[node name="XMLParser" type="Node2D" parent="."]
[node name="ARVRPositionalTracker_LEAK" type="Node2D" parent="."]
[node name="ARVRServer_CANT" type="Node2D" parent="."]
[node name="AudioServer_CANT" type="Node2D" parent="."]
[node name="PhysicsDirectBodyState_CANT" type="Node2D" parent="."]
[node name="BulletPhysicsDirectBodyState_CANT" type="Node2D" parent="."]
[node name="PhysicsDirectSpaceState_CANT" type="Node2D" parent="."]
[node name="BulletPhysicsDirectSpaceState_CANT" type="Node2D" parent="."]
[node name="PhysicsServer_CANT" type="Node2D" parent="."]
[node name="BulletPhysicsServer_CANT" type="Node2D" parent="."]
[node name="CameraServer_CANT" type="Node2D" parent="."]
[node name="ClassDB_CANT" type="Node2D" parent="."]
[node name="EditorFileSystemDirectory_CANT" type="Node2D" parent="."]
[node name="EditorNavigationMeshGenerator_LEAK" type="Node2D" parent="."]
[node name="EditorSelection_CANT" type="Node2D" parent="."]
[node name="EditorVCSInterface_CANT" type="Node2D" parent="."]
[node name="Engine_CANT" type="Node2D" parent="."]
[node name="Geometry_CANT" type="Node2D" parent="."]
[node name="IP_CANT" type="Node2D" parent="."]
[node name="IP_Unix_CANT" type="Node2D" parent="."]
[node name="Input_CANT" type="Node2D" parent="."]
[node name="InputDefault_CANT" type="Node2D" parent="."]
[node name="InputMap_CANT" type="Node2D" parent="."]
[node name="JSON_CANT" type="Node2D" parent="."]
[node name="JSONRPC_LEAK" type="Node2D" parent="."]
[node name="JavaScript_CANT" type="Node2D" parent="."]
[node name="MainLoop_LEAK" type="Node2D" parent="."]
[node name="SceneTree\?" type="Node2D" parent="."]
[node name="OS_CANT" type="Node2D" parent="."]
[node name="Performance_CANT" type="Node2D" parent="."]
[node name="Physics2DDirectBodyState_CANT" type="Node2D" parent="."]
[node name="Physics2DDirectBodyStateSW_CANT" type="Node2D" parent="."]
[node name="Physics2DDirectSpaceState_CANT" type="Node2D" parent="."]
[node name="Physics2DDirectSpaceStateSW_CANT" type="Node2D" parent="."]
[node name="Physics2DServer_CANT" type="Node2D" parent="."]
[node name="Physics2DServerSW_CANT" type="Node2D" parent="."]
[node name="ProjectSettings_JUST_DONT" type="Node2D" parent="."]
[node name="ResourceLoader_CANT" type="Node2D" parent="."]
[node name="ResourceSaver_CANT" type="Node2D" parent="."]
[node name="TranslationServer_SERVER" type="Node2D" parent="."]
[node name="TreeItem_CANT" type="Node2D" parent="."]
[node name="UndoRedo_LEAK" type="Node2D" parent="."]
[node name="VisualScriptEditor_CANT" type="Node2D" parent="."]
[node name="VisualServer_CANT" type="Node2D" parent="."]
[node name="AABB_MOVED" type="Node2D" parent="."]
[node name="Array" type="Node2D" parent="."]
[node name="Basis" type="Node2D" parent="."]
[node name="Color" type="Node2D" parent="."]
[node name="Dictionary" type="Node2D" parent="."]
[node name="Nil_CANT" type="Node2D" parent="."]
[node name="NodePath" type="Node2D" parent="."]
[node name="Plane" type="Node2D" parent="."]
[node name="PoolByteArray" type="Node2D" parent="."]
visible = false
[node name="PoolColorArray" type="Node2D" parent="."]
visible = false
[node name="PoolIntArray" type="Node2D" parent="."]
visible = false
[node name="PoolRealArray" type="Node2D" parent="."]
visible = false
[node name="PoolStringArray" type="Node2D" parent="."]
visible = false
[node name="PoolVector2Array" type="Node2D" parent="."]
visible = false
[node name="PoolVector3Array" type="Node2D" parent="."]
visible = false
[node name="Quat" type="Node2D" parent="."]
[node name="RID" type="Node2D" parent="."]
[node name="Rect2" type="Node2D" parent="."]
[node name="String" type="Node2D" parent="."]
[node name="Transform" type="Node2D" parent="."]
[node name="Transform2D" type="Node2D" parent="."]
[node name="Variant_CANT" type="Node2D" parent="."]
[node name="Vector2" type="Node2D" parent="."]
[node name="Vector3" type="Node2D" parent="."]
[node name="bool" type="Node2D" parent="."]
[node name="float" type="Node2D" parent="."]
[node name="int" type="Node2D" parent="."]

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=2]
[gd_scene load_steps=13 format=2]
[ext_resource path="res://MainScenes/Control.tscn" type="PackedScene" id=1]
[ext_resource path="res://MainScenes/Spatial.tscn" type="PackedScene" id=2]
@ -11,6 +11,7 @@
[ext_resource path="res://Physics/3D/Physics3D.tscn" type="PackedScene" id=9]
[ext_resource path="res://Text/Text.tscn" type="PackedScene" id=10]
[ext_resource path="res://AIO/AllNodes/ALL.tscn" type="PackedScene" id=11]
[ext_resource path="res://Reparenting/Reparenting.tscn" type="PackedScene" id=12]
[node name="All" type="Node"]
@ -38,6 +39,8 @@
[node name="Text" parent="." instance=ExtResource( 10 )]
[node name="Reparenting" parent="." instance=ExtResource( 12 )]
[node name="AIO" type="Node" parent="."]
[node name="ALL" parent="AIO" instance=ExtResource( 11 )]

View File

@ -22,8 +22,8 @@ const alone_steps : Array = [
"res://Physics/3D/Physics3D.tscn",
"res://Rendering/Lights2D/Lights2D.tscn",
"res://Rendering/Lights3D/Lights3D.tscn",
"res://Text/Text.tscn",
"res://Reparenting/Reparenting.tscn",
"res://Text/Text.tscn",
]
# All scenes run in one step
@ -50,7 +50,7 @@ func _init():
func _process(delta: float) -> void:
var current_run_time : int = OS.get_ticks_msec() - start_time
if current_run_time > time_to_print_next_time:
while current_run_time > time_to_print_next_time: # This will allow to properly regulate time under heavy operations(e.g. Thread sanitizer)
print("Test is running now " + str(int(time_to_print_next_time / 1000)) + " seconds")
time_to_print_next_time += PRINT_TIME_EVERY_MILISECONDS

View File

@ -3,9 +3,17 @@ This repository contains Godot project which is tested in offical Godot reposito
It aims to be complex project, which will allow to find crashes, leaks and invalid memory writes before PR is merged.
Sadly it can't find any logic errors.
Sadly it can't find automatically any logic errors.
For now it is really simple, but some I think that it can be improved over time.
## Reproduce bugs
If CI find bug, you can easily without much effort check which scene cause problems.
Each scene is independent of the other, so it is easy to disable some for testing.
To create minimal test scene:
- Look at the console output - there is printed info about current used scene
- If you run `Start.tscn` scene(which run other scenes in queue) then you can modify list of scenes which needs to be run in `Autoload.gd` by commenting records in `alone_steps` or `all_in_one` array(just like in picture)
![Zrzut ekranu z 2021-01-13 11-52-41](https://user-images.githubusercontent.com/41945903/104442905-060e7c00-5596-11eb-9000-f9bb338ece79.png)
## How it works?
### Autoload
@ -14,7 +22,13 @@ It handle exiting project after selected number of seconds
When opening any scene, automatically time to exit is set.
### Checking All scenes
If running projet with e.g. this parameters
```
godot 20 -v
```
Then time is set to 20 seconds so it means that if scenes is 10 (EACH in `alone_steps` array + one for ALL scenes in `all_in_one` array), then each scene will be show for 2 seconds
### Checking All scenes at once
There are two scenes which opens all scenes:
- All.tscn - opens all scenes at once
- Start.tscn - opens each scene one by one
@ -23,7 +37,7 @@ There are two scenes which opens all scenes:
This are scenes which only opens once, because there is no need to open it more times(no scripts or only with `_ready` function).
### Other Scenes
Each other scenes checks specific types of nodes like lights, rendering or physics.
Each other scenes checks specific types of nodes like lights, rendering, physics, text or reparenting.
## Contributions
Contributions are welcome.

View File

@ -182,22 +182,34 @@ func _ready() -> void:
number_of_nodes = get_child_count()
## It is quite easy algorithm to reparent items
# - Add multiple nodes to scene
# - Set name to each
# - In process
# - Get random node
# - Remove its parent
# - Get another random node
# - If nodes are the same, add node to root one(cannot set self as self parent) and repeat steps
# - If second node is child of first, add first node to root one(prevents from memory leaks due invalid reparenting)
# - At the end add first random node as child of second
func _process(delta: float) -> void:
assert(Performance.get_monitor(Performance.OBJECT_ORPHAN_NODE_COUNT) == 0)
var choosen_node : Node
var parent_of_node : Node
for i in range(20):
for i in range(40):
var number = "Node " + str(randi() % number_of_nodes)
choosen_node = find_node(number,true,false)
parent_of_node = choosen_node.get_parent()
var random_node = find_node("Node " + str(randi() % number_of_nodes),true,false)
parent_of_node.remove_child(choosen_node)
if choosen_node.find_node(random_node.get_name(),true,false) != null: # Cannot set as node parent one of its child
add_child(choosen_node)
continue
if choosen_node == random_node: # Do not reparent node to self
continue
parent_of_node.remove_child(choosen_node)
random_node.add_child(choosen_node)
if !choosen_node.is_inside_tree() || choosen_node.get_parent() == null: # Failed to add node, due e.g. requsrive problem or similar
add_child(choosen_node)
continue
random_node.add_child(choosen_node)

View File

@ -4,21 +4,22 @@ var current_scene : int = -1
var time_to_switch : int
const NUMBER_OF_INSTANCES : int = 1 # Use more than 1 to stress test, 1 should be optimal for casual CI
var array_with_time_to_change : Array = []
func _ready():
time_to_switch = Autoload.time_for_each_step
for i in Autoload.alone_steps.size() + 1:
array_with_time_to_change.append(OS.get_ticks_msec() + (i + 1) * Autoload.time_for_each_step)
print("Starting with scene(s):")
for path in Autoload.all_in_one:
for _i in range(NUMBER_OF_INSTANCES):
var scene : Node = load(path).instance()
add_child(scene)
print(" - " + path)
func _process(_delta):
if time_to_switch - OS.get_ticks_msec() <= 0:
time_to_switch = Autoload.time_for_each_step + OS.get_ticks_msec()
if current_scene < Autoload.alone_steps.size() - 1:
if current_scene < Autoload.alone_steps.size() - 1 && OS.get_ticks_msec() > array_with_time_to_change[current_scene + 1]:
current_scene += 1
for child in get_children():