initial project setup
This commit is contained in:
commit
08a20c683a
10 changed files with 201 additions and 0 deletions
28
autoloads/display.tscn
Normal file
28
autoloads/display.tscn
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://bixq77klfo561"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://kwa8v1dhwlie" path="res://autoloads/display.gd" id="1_1seuv"]
|
||||
|
||||
[node name="Display" type="Node" node_paths=PackedStringArray("_viewport", "_viewport_container")]
|
||||
script = ExtResource("1_1seuv")
|
||||
scale_mode = 1
|
||||
_viewport = NodePath("SubViewportContainer/SubViewport")
|
||||
_viewport_container = NodePath("SubViewportContainer")
|
||||
|
||||
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -128.0
|
||||
offset_top = -96.0
|
||||
offset_right = 128.0
|
||||
offset_bottom = 96.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
pivot_offset = Vector2(128, 96)
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
|
||||
handle_input_locally = false
|
||||
size = Vector2i(256, 192)
|
||||
render_target_update_mode = 4
|
||||
Loading…
Add table
Add a link
Reference in a new issue