-
-
Notifications
You must be signed in to change notification settings - Fork 213
/
InfiniteCanvas.tscn
76 lines (61 loc) · 2.95 KB
/
InfiniteCanvas.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[gd_scene load_steps=16 format=2]
[ext_resource path="res://InfiniteCanvas/InfiniteCanvas.gd" type="Script" id=1]
[ext_resource path="res://InfiniteCanvas/PanZoomCamera.gd" type="Script" id=2]
[ext_resource path="res://InfiniteCanvas/pressure_curve.tres" type="Curve" id=3]
[ext_resource path="res://InfiniteCanvas/Cursor/BrushCursor/BrushCursor.tscn" type="PackedScene" id=4]
[ext_resource path="res://InfiniteCanvas/Tools/BrushTool.gd" type="Script" id=5]
[ext_resource path="res://InfiniteCanvas/Tools/LineTool.gd" type="Script" id=6]
[ext_resource path="res://InfiniteCanvas/Tools/SelectionTool.gd" type="Script" id=7]
[ext_resource path="res://InfiniteCanvas/Cursor/SelectionCursor/SelectionCursor.tscn" type="PackedScene" id=8]
[ext_resource path="res://InfiniteCanvas/Tools/SelectionRectangle.gd" type="Script" id=9]
[ext_resource path="res://InfiniteCanvas/Tools/selection_rectangle.shader" type="Shader" id=10]
[ext_resource path="res://InfiniteCanvas/Cursor/ColorPickerCursor/ColorPickerCursor.tscn" type="PackedScene" id=11]
[ext_resource path="res://InfiniteCanvas/InfiniteCanvasGrid.gd" type="Script" id=12]
[ext_resource path="res://InfiniteCanvas/Tools/ColorPickerTool.gd" type="Script" id=13]
[ext_resource path="res://InfiniteCanvas/zoom_curve.tres" type="Curve" id=14]
[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 10 )
shader_param/background_color = null
[node name="InfiniteCanvas" type="ViewportContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BrushTool" type="Node" parent="."]
script = ExtResource( 5 )
cursor_path = NodePath("../Viewport/BrushCursor")
pressure_curve = ExtResource( 3 )
[node name="LineTool" type="Node" parent="."]
script = ExtResource( 6 )
cursor_path = NodePath("../Viewport/BrushCursor")
pressure_curve = ExtResource( 3 )
[node name="SelectionTool" type="Node" parent="."]
script = ExtResource( 7 )
cursor_path = NodePath("../Viewport/SelectionCursor")
selection_rectangle_path = NodePath("../SelectionRectangle")
[node name="ColorPickerTool" type="Node" parent="."]
script = ExtResource( 13 )
cursor_path = NodePath("../Viewport/ColorPickerCursor")
[node name="SelectionRectangle" type="Node2D" parent="."]
material = SubResource( 1 )
script = ExtResource( 9 )
[node name="Viewport" type="Viewport" parent="."]
size = Vector2( 1920, 1080 )
handle_input_locally = false
hdr = false
usage = 0
render_target_update_mode = 3
[node name="Camera2D" type="Camera2D" parent="Viewport"]
anchor_mode = 0
current = true
script = ExtResource( 2 )
zoom_curve = ExtResource( 14 )
[node name="Grid" type="Node2D" parent="Viewport"]
script = ExtResource( 12 )
camera_path = NodePath("../Camera2D")
[node name="Strokes" type="Node2D" parent="Viewport"]
[node name="BrushCursor" parent="Viewport" instance=ExtResource( 4 )]
[node name="SelectionCursor" parent="Viewport" instance=ExtResource( 8 )]
[node name="ColorPickerCursor" parent="Viewport" instance=ExtResource( 11 )]