Better screen
This commit is contained in:
24
Game.tscn
24
Game.tscn
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://dni0wqjh12rn6"]
|
||||
[gd_scene load_steps=19 format=3 uid="uid://dni0wqjh12rn6"]
|
||||
|
||||
[ext_resource type="Script" path="res://label.gd" id="1"]
|
||||
[ext_resource type="Script" path="res://MainGame.gd" id="2"]
|
||||
@@ -9,6 +9,7 @@
|
||||
[ext_resource type="FontFile" uid="uid://b1n7bvtur65ac" path="res://friendlyscribbles.ttf" id="5_0olt8"]
|
||||
[ext_resource type="Script" path="res://GameScript.gd" id="5_rglkg"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0mp4a2u3jkd" path="res://portrait.tscn" id="7_fj12q"]
|
||||
[ext_resource type="Script" path="res://OffsetCameraBasedOnMovement.gd" id="8_cvftx"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_44mjr"]
|
||||
shader = ExtResource("2_jr51a")
|
||||
@@ -103,15 +104,6 @@ size = Vector2i(1920, 1080)
|
||||
|
||||
[node name="background" parent="SceneViewport" instance=ExtResource("4_g4cx4")]
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="SceneViewport"]
|
||||
limit_left = 0
|
||||
limit_top = 0
|
||||
limit_right = 99999999
|
||||
limit_bottom = 99999999
|
||||
limit_smoothed = true
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 1.385
|
||||
|
||||
[node name="label" type="Node2D" parent="SceneViewport"]
|
||||
z_index = 1
|
||||
position = Vector2(1442.87, 661.499)
|
||||
@@ -125,6 +117,18 @@ offset_bottom = 110.659
|
||||
theme = ExtResource("4")
|
||||
label_settings = SubResource("LabelSettings_va2rf")
|
||||
|
||||
[node name="PlayerTracker" type="Node2D" parent="SceneViewport"]
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="SceneViewport/PlayerTracker"]
|
||||
limit_left = 0
|
||||
limit_top = 0
|
||||
limit_right = 99999999
|
||||
limit_bottom = 99999999
|
||||
limit_smoothed = true
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 1.385
|
||||
script = ExtResource("8_cvftx")
|
||||
|
||||
[node name="GameScript" type="Node" parent="."]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("5_rglkg")
|
||||
|
||||
Reference in New Issue
Block a user