| [gd_scene load_steps=3 format=2] |
|
|
| [ext_resource path="res://VirtualCamera.gd" type="Script" id=1] |
|
|
| [sub_resource type="ViewportTexture" id=1] |
| viewport_path = NodePath("Viewport") |
|
|
| [node name="VirtualCamera" type="Spatial"] |
| script = ExtResource( 1 ) |
|
|
| [node name="RemoteTransform" type="RemoteTransform" parent="."] |
| remote_path = NodePath("../Viewport/Camera") |
|
|
| [node name="Viewport" type="Viewport" parent="."] |
| size = Vector2( 16, 16 ) |
| render_target_update_mode = 3 |
|
|
| [node name="Camera" type="Camera" parent="Viewport"] |
| near = 0.5 |
|
|
| [node name="Control" type="Control" parent="."] |
| anchor_right = 1.0 |
| anchor_bottom = 1.0 |
| __meta__ = { |
| "_edit_use_anchors_": false |
| } |
|
|
| [node name="TextureRect" type="ColorRect" parent="Control"] |
| margin_left = 1096.0 |
| margin_top = 534.0 |
| margin_right = 1114.0 |
| margin_bottom = 552.0 |
| rect_scale = Vector2( 10, 10 ) |
| color = Color( 0.00784314, 0.00784314, 0.00784314, 1 ) |
| __meta__ = { |
| "_edit_use_anchors_": false |
| } |
|
|
| [node name="CameraTexture" type="Sprite" parent="Control/TextureRect"] |
| texture = SubResource( 1 ) |
| offset = Vector2( 9, 9 ) |
| flip_v = true |
|
|