rework cam v1
This commit is contained in:
parent
0ff17ab486
commit
5464d87d17
3 changed files with 37 additions and 0 deletions
30
core/Background.tscn
Normal file
30
core/Background.tscn
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://bj15crtyjwq2"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dx8jpmxtm2cdx" path="res://textures/pattern/Pattern_Forest.png" id="1_wdsuj"]
|
||||||
|
|
||||||
|
[node name="Control" type="Control"]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="Panel" type="Panel" parent="."]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="Panel"]
|
||||||
|
top_level = true
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
texture = ExtResource("1_wdsuj")
|
||||||
|
stretch_mode = 1
|
|
@ -509,6 +509,7 @@ position = Vector2(0, -75)
|
||||||
shape = SubResource("RectangleShape2D_kapu3")
|
shape = SubResource("RectangleShape2D_kapu3")
|
||||||
|
|
||||||
[node name="Camera2D" type="Camera2D" parent="."]
|
[node name="Camera2D" type="Camera2D" parent="."]
|
||||||
|
enabled = false
|
||||||
zoom = Vector2(0.13, 0.13)
|
zoom = Vector2(0.13, 0.13)
|
||||||
position_smoothing_enabled = true
|
position_smoothing_enabled = true
|
||||||
position_smoothing_speed = 2.0
|
position_smoothing_speed = 2.0
|
||||||
|
|
|
@ -20,6 +20,12 @@ config/windows_native_icon="res://extracted/Texture2D/Map.png"
|
||||||
[autoload]
|
[autoload]
|
||||||
|
|
||||||
DebugDraw="*res://core/debugDraw.tscn"
|
DebugDraw="*res://core/debugDraw.tscn"
|
||||||
|
Background="*res://core/Background.tscn"
|
||||||
|
|
||||||
|
[display]
|
||||||
|
|
||||||
|
window/size/viewport_width=1920
|
||||||
|
window/size/viewport_height=1080
|
||||||
|
|
||||||
[editor_plugins]
|
[editor_plugins]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue