feat: Make camera orthogonal
This commit is contained in:
parent
7258ed90a7
commit
a5070e768c
|
|
@ -3,7 +3,7 @@
|
||||||
[ext_resource type="Script" uid="uid://dj0cgqed5n3ys" path="res://level.gd" id="1_0b4ue"]
|
[ext_resource type="Script" uid="uid://dj0cgqed5n3ys" path="res://level.gd" id="1_0b4ue"]
|
||||||
[ext_resource type="PackedScene" uid="uid://cmb3b7xrlboy3" path="res://player.tscn" id="1_u52ul"]
|
[ext_resource type="PackedScene" uid="uid://cmb3b7xrlboy3" path="res://player.tscn" id="1_u52ul"]
|
||||||
[ext_resource type="Script" uid="uid://b5ebibi08tjvd" path="res://camera_3d.gd" id="2_vonw3"]
|
[ext_resource type="Script" uid="uid://b5ebibi08tjvd" path="res://camera_3d.gd" id="2_vonw3"]
|
||||||
[ext_resource type="Script" uid="uid://oy8s25dl6g4a" path="res://special_camera.gd" id="4_0b4ue"]
|
[ext_resource type="Script" path="res://special_camera.gd" id="4_0b4ue"]
|
||||||
|
|
||||||
[sub_resource type="Environment" id="Environment_vonw3"]
|
[sub_resource type="Environment" id="Environment_vonw3"]
|
||||||
ambient_light_source = 2
|
ambient_light_source = 2
|
||||||
|
|
@ -51,8 +51,10 @@ render_target_update_mode = 4
|
||||||
|
|
||||||
[node name="SpecialCamera" type="Camera3D" parent="SubViewportContainer/SubViewport" unique_id=684008087]
|
[node name="SpecialCamera" type="Camera3D" parent="SubViewportContainer/SubViewport" unique_id=684008087]
|
||||||
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 139.07289, 0)
|
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 139.07289, 0)
|
||||||
|
projection = 1
|
||||||
current = true
|
current = true
|
||||||
fov = 55.0
|
fov = 55.0
|
||||||
|
size = 100.0
|
||||||
script = ExtResource("4_0b4ue")
|
script = ExtResource("4_0b4ue")
|
||||||
|
|
||||||
[connection signal="station_reached" from="Player" to="." method="_on_player_station_reached"]
|
[connection signal="station_reached" from="Player" to="." method="_on_player_station_reached"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue