Initial commit
This commit is contained in:
93
Items/Wifi/Wifi.tscn
Normal file
93
Items/Wifi/Wifi.tscn
Normal file
@@ -0,0 +1,93 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Lightmaps/PlayerLight.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Items/Wifi/Wifi.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 75.0
|
||||
|
||||
[node name="Wifi" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." groups=[
|
||||
"Wifi",
|
||||
]]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Light2D" type="Light2D" parent="."]
|
||||
position = Vector2( -0.561218, 0 )
|
||||
texture = ExtResource( 1 )
|
||||
texture_scale = 0.2
|
||||
color = Color( 0.996078, 0, 0, 1 )
|
||||
energy = 0.9
|
||||
|
||||
[node name="Task" type="CanvasLayer" parent="."]
|
||||
layer = 4
|
||||
|
||||
[node name="UI" type="Control" parent="Task"]
|
||||
margin_right = 1021.0
|
||||
margin_bottom = 603.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Task/UI"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -333.5
|
||||
margin_top = -154.0
|
||||
margin_right = 333.5
|
||||
margin_bottom = 154.0
|
||||
color = Color( 0.176471, 0.176471, 0.176471, 0.792157 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Task/UI"]
|
||||
anchor_left = 0.37904
|
||||
anchor_top = 0.475954
|
||||
anchor_right = 0.62096
|
||||
anchor_bottom = 0.524046
|
||||
margin_left = -1.0
|
||||
margin_top = -53.0
|
||||
margin_right = -1.0
|
||||
margin_bottom = -53.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Begin" type="Button" parent="Task/UI"]
|
||||
margin_left = 446.546
|
||||
margin_top = 284.817
|
||||
margin_right = 573.546
|
||||
margin_bottom = 310.817
|
||||
text = "Download"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Close" type="Button" parent="Task/UI"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -23.5
|
||||
margin_top = -221.839
|
||||
margin_right = 23.5
|
||||
margin_bottom = -201.839
|
||||
text = "Close"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 0.228
|
||||
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
|
||||
[connection signal="body_exited" from="Area2D" to="." method="_on_Area2D_body_exited"]
|
||||
[connection signal="pressed" from="Task/UI/Begin" to="." method="_on_Begin_pressed"]
|
||||
[connection signal="pressed" from="Task/UI/Close" to="." method="_on_Close_pressed"]
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
||||
Reference in New Issue
Block a user