This repository has been archived on 2024-02-25. You can view files and clone it, but cannot push or open issues or pull requests.
Wol/ExampleDialogue/ExampleScene.tscn

237 lines
5.6 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=7 format=2]
[ext_resource path="res://Dialogue.tscn" type="PackedScene" id=1]
[ext_resource path="res://ExampleDialogue/Player.gd" type="Script" id=2]
[ext_resource path="res://addons/Wol/Wol.gd" type="Script" id=3]
[ext_resource path="res://ExampleDialogue/ExampleScene.gd" type="Script" id=4]
[sub_resource type="RectangleShape2D" id=1]
[sub_resource type="CircleShape2D" id=2]
radius = 62.2013
[node name="ExampleScene" type="Node2D"]
script = ExtResource( 4 )
[node name="Dialogue" parent="." instance=ExtResource( 1 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 1024.0
margin_bottom = 600.0
[node name="Wol" type="Node" parent="Dialogue"]
script = ExtResource( 3 )
variable_storage = {
}
[node name="Player" type="KinematicBody2D" parent="."]
position = Vector2( 360, 488 )
script = ExtResource( 2 )
[node name="Visuals" type="Node2D" parent="Player"]
[node name="ColorRect" type="ColorRect" parent="Player/Visuals"]
margin_left = -21.0
margin_top = -52.0
margin_right = 19.0
margin_bottom = -12.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect2" type="ColorRect" parent="Player/Visuals"]
margin_left = -8.0
margin_top = -47.0
margin_bottom = -28.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect4" type="ColorRect" parent="Player/Visuals"]
margin_top = -23.0
margin_right = 8.0
margin_bottom = -19.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect3" type="ColorRect" parent="Player/Visuals"]
margin_left = 7.0
margin_top = -47.0
margin_right = 15.0
margin_bottom = -28.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LeftFoot" type="ColorRect" parent="Player"]
margin_left = -12.0
margin_top = -14.0
margin_right = -8.0
margin_bottom = 5.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RightFoot" type="ColorRect" parent="Player"]
margin_left = 5.0
margin_top = -14.0
margin_right = 9.0
margin_bottom = 5.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player"]
position = Vector2( -1, -9 )
shape = SubResource( 1 )
[node name="Sally" type="KinematicBody2D" parent="."]
position = Vector2( 755, 595 )
[node name="DialogueStarter" type="Area2D" parent="Sally"]
collision_layer = 0
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sally/DialogueStarter"]
shape = SubResource( 2 )
[node name="Visuals" type="Node2D" parent="Sally"]
position = Vector2( 1, 3 )
scale = Vector2( -1, 1 )
[node name="ColorRect" type="ColorRect" parent="Sally/Visuals"]
margin_left = -21.0
margin_top = -52.0
margin_right = 19.0
margin_bottom = -12.0
color = Color( 0.729412, 0.160784, 0.160784, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect2" type="ColorRect" parent="Sally/Visuals"]
margin_left = -8.0
margin_top = -47.0
margin_bottom = -28.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect4" type="ColorRect" parent="Sally/Visuals"]
margin_top = -23.0
margin_right = 8.0
margin_bottom = -19.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect3" type="ColorRect" parent="Sally/Visuals"]
margin_left = 7.0
margin_top = -47.0
margin_right = 15.0
margin_bottom = -28.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LeftFoot" type="ColorRect" parent="Sally"]
margin_left = -12.0
margin_top = -14.0
margin_right = -8.0
margin_bottom = 5.0
color = Color( 0.729412, 0.160784, 0.160784, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RightFoot" type="ColorRect" parent="Sally"]
margin_left = 5.0
margin_top = -14.0
margin_right = 9.0
margin_bottom = 5.0
color = Color( 0.729412, 0.160784, 0.160784, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Ship" type="KinematicBody2D" parent="."]
position = Vector2( 43, 595 )
[node name="DialogueStarter" type="Area2D" parent="Ship"]
collision_layer = 0
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ship/DialogueStarter"]
shape = SubResource( 2 )
[node name="Visuals" type="Node2D" parent="Ship"]
position = Vector2( 1, 3 )
[node name="ColorRect" type="ColorRect" parent="Ship/Visuals"]
margin_left = -21.0
margin_top = -52.0
margin_right = 19.0
margin_bottom = -12.0
color = Color( 0.329412, 0.231373, 1, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect2" type="ColorRect" parent="Ship/Visuals"]
margin_left = -8.0
margin_top = -47.0
margin_bottom = -28.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect4" type="ColorRect" parent="Ship/Visuals"]
margin_top = -23.0
margin_right = 8.0
margin_bottom = -19.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect3" type="ColorRect" parent="Ship/Visuals"]
margin_left = 7.0
margin_top = -47.0
margin_right = 15.0
margin_bottom = -28.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LeftFoot" type="ColorRect" parent="Ship"]
margin_left = -12.0
margin_top = -14.0
margin_right = -8.0
margin_bottom = 5.0
color = Color( 0.329412, 0.231373, 1, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RightFoot" type="ColorRect" parent="Ship"]
margin_left = 5.0
margin_top = -14.0
margin_right = 9.0
margin_bottom = 5.0
color = Color( 0.329412, 0.231373, 1, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D"]
polygon = PoolVector2Array( -3, 427, -40, 426, -40, 648, 838, 647, 838, 419, 787, 420, 788, 600, 2, 600, 0, 420 )
[node name="DialogueCooldown" type="Timer" parent="."]
wait_time = 0.4
one_shot = true