2017-07-30 20:57:41 +01:00
|
|
|
[gd_scene load_steps=6 format=1]
|
2017-07-30 17:30:10 +01:00
|
|
|
|
|
|
|
[ext_resource path="res://MinimapControl.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://Minimap.gd" type="Script" id=2]
|
|
|
|
[ext_resource path="res://MinimapTarget.gd" type="Script" id=3]
|
2017-07-30 20:57:41 +01:00
|
|
|
[ext_resource path="res://raw/minimap.png" type="Texture" id=4]
|
|
|
|
[ext_resource path="res://Drawer.gd" type="Script" id=5]
|
2017-07-30 17:30:10 +01:00
|
|
|
|
|
|
|
[node name="MinimapControl" type="CanvasLayer"]
|
|
|
|
|
|
|
|
layer = 1
|
|
|
|
offset = Vector2( 0, 0 )
|
|
|
|
rotation = 0.0
|
|
|
|
scale = Vector2( 1, 1 )
|
|
|
|
script/script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="Minimap" type="Control" parent="."]
|
|
|
|
|
|
|
|
focus/ignore_mouse = false
|
|
|
|
focus/stop_mouse = true
|
|
|
|
size_flags/horizontal = 2
|
|
|
|
size_flags/vertical = 2
|
|
|
|
margin/left = 0.0
|
|
|
|
margin/top = 0.0
|
|
|
|
margin/right = 0.0
|
|
|
|
margin/bottom = 0.0
|
|
|
|
script/script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="TextureFrame" type="TextureFrame" parent="Minimap"]
|
|
|
|
|
|
|
|
focus/ignore_mouse = true
|
|
|
|
focus/stop_mouse = true
|
|
|
|
size_flags/horizontal = 2
|
|
|
|
size_flags/vertical = 2
|
|
|
|
margin/left = 0.0
|
|
|
|
margin/top = 0.0
|
|
|
|
margin/right = 128.0
|
|
|
|
margin/bottom = 128.0
|
|
|
|
stretch_mode = 0
|
|
|
|
|
|
|
|
[node name="Viewport" type="Viewport" parent="Minimap"]
|
|
|
|
|
|
|
|
rect = Rect2( 0, 0, 128, 128 )
|
|
|
|
own_world = false
|
|
|
|
world = null
|
2017-07-30 20:57:41 +01:00
|
|
|
transparent_bg = true
|
2017-07-30 17:30:10 +01:00
|
|
|
render_target/enabled = true
|
|
|
|
render_target/v_flip = false
|
|
|
|
render_target/clear_on_new_frame = false
|
|
|
|
render_target/filter = false
|
|
|
|
render_target/gen_mipmaps = false
|
|
|
|
render_target/update_mode = 3
|
|
|
|
audio_listener/enable_2d = false
|
|
|
|
audio_listener/enable_3d = false
|
|
|
|
physics/object_picking = false
|
|
|
|
gui/disable_input = false
|
|
|
|
script/script = ExtResource( 3 )
|
|
|
|
|
2017-07-30 20:57:41 +01:00
|
|
|
[node name="Sprite" type="Sprite" parent="Minimap/Viewport"]
|
|
|
|
|
|
|
|
transform/pos = Vector2( 96, 96 )
|
|
|
|
texture = ExtResource( 4 )
|
|
|
|
|
2017-07-30 17:30:10 +01:00
|
|
|
[node name="Drawer" type="Node2D" parent="Minimap/Viewport"]
|
|
|
|
|
2017-07-30 20:57:41 +01:00
|
|
|
script/script = ExtResource( 5 )
|
2017-07-30 17:30:10 +01:00
|
|
|
|
|
|
|
|