This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
ld50/assets/robotScene.tscn

94 lines
3.5 KiB
Text

[gd_scene load_steps=23 format=2]
[ext_resource path="res://assets/environment/robotv01.gltf" type="PackedScene" id=1]
[ext_resource path="res://assets/Robot.gd" type="Script" id=2]
[sub_resource type="AnimationNodeAnimation" id=12]
animation = "robotDab"
[sub_resource type="AnimationNodeAnimation" id=1]
animation = "robotDeactivate"
[sub_resource type="AnimationNodeAnimation" id=2]
animation = "robotImWatchingYou"
[sub_resource type="AnimationNodeAnimation" id=3]
animation = "robotPowerOn"
[sub_resource type="AnimationNodeAnimation" id=4]
animation = "robotWorking"
[sub_resource type="AnimationNodeAnimation" id=13]
animation = "robotWorking"
[sub_resource type="AnimationNodeStateMachineTransition" id=9]
[sub_resource type="AnimationNodeStateMachineTransition" id=14]
switch_mode = 2
auto_advance = true
[sub_resource type="AnimationNodeStateMachineTransition" id=15]
switch_mode = 2
auto_advance = true
[sub_resource type="AnimationNodeStateMachineTransition" id=16]
switch_mode = 2
[sub_resource type="AnimationNodeStateMachineTransition" id=17]
switch_mode = 2
[sub_resource type="AnimationNodeStateMachineTransition" id=18]
switch_mode = 2
auto_advance = true
[sub_resource type="AnimationNodeStateMachineTransition" id=19]
switch_mode = 2
[sub_resource type="AnimationNodeStateMachineTransition" id=21]
switch_mode = 2
[sub_resource type="AnimationNodeStateMachineTransition" id=22]
switch_mode = 2
auto_advance = true
[sub_resource type="AnimationNodeStateMachineTransition" id=23]
switch_mode = 2
[sub_resource type="AnimationNodeStateMachineTransition" id=25]
switch_mode = 2
[sub_resource type="AnimationNodeStateMachineTransition" id=26]
switch_mode = 2
[sub_resource type="AnimationNodeStateMachine" id=10]
states/robotDab/node = SubResource( 12 )
states/robotDab/position = Vector2( 871, 45 )
states/robotDeactivate/node = SubResource( 1 )
states/robotDeactivate/position = Vector2( 954, 243 )
states/robotImWatchingYou/node = SubResource( 2 )
states/robotImWatchingYou/position = Vector2( 609, 45 )
states/robotPowerOn/node = SubResource( 3 )
states/robotPowerOn/position = Vector2( 551, 243 )
states/robotWorking/node = SubResource( 4 )
states/robotWorking/position = Vector2( 609, 135 )
states/robotWorking2/node = SubResource( 13 )
states/robotWorking2/position = Vector2( 871, 135 )
transitions = [ "robotDeactivate", "robotPowerOn", SubResource( 9 ), "robotWorking", "robotWorking2", SubResource( 14 ), "robotWorking2", "robotWorking", SubResource( 15 ), "robotPowerOn", "robotWorking", SubResource( 16 ), "robotWorking", "robotImWatchingYou", SubResource( 17 ), "robotImWatchingYou", "robotWorking", SubResource( 18 ), "robotWorking2", "robotImWatchingYou", SubResource( 19 ), "robotWorking", "robotDab", SubResource( 21 ), "robotDab", "robotWorking", SubResource( 22 ), "robotWorking2", "robotDab", SubResource( 23 ), "robotWorking", "robotDeactivate", SubResource( 25 ), "robotWorking2", "robotDeactivate", SubResource( 26 ) ]
start_node = "robotPowerOn"
end_node = "robotDeactivate"
graph_offset = Vector2( 1, 0 )
[sub_resource type="AnimationNodeStateMachinePlayback" id=11]
[node name="Robot" instance=ExtResource( 1 )]
script = ExtResource( 2 )
[node name="AnimationPlayer" parent="." index="1"]
next/robotImWatchingYou = "robotWorking"
[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
tree_root = SubResource( 10 )
anim_player = NodePath("../AnimationPlayer")
active = true
root_motion_track = NodePath("robotArmature/Skeleton:robotRoot")
parameters/playback = SubResource( 11 )