camera adjustement

This commit is contained in:
Daydreel 2025-09-07 10:52:05 +02:00
parent d68f496ad1
commit d324a66d54
3 changed files with 7 additions and 2 deletions

View file

@ -1,8 +1,8 @@
extends Camera3D extends Camera3D
const SCREEN_MARGIN : int = 50 const SCREEN_MARGIN : int = 15
const SCREEN_MOVEMENT_SPEED : float = .05 const SCREEN_MOVEMENT_SPEED : float = .08
@export var curve : Curve @export var curve : Curve
var shouldMove : bool = true var shouldMove : bool = true

View file

@ -7,6 +7,7 @@
[ext_resource type="Texture2D" uid="uid://dqyhhvxpwtpsy" path="res://Assets/Emotes/emote_star.png" id="5_lhd8w"] [ext_resource type="Texture2D" uid="uid://dqyhhvxpwtpsy" path="res://Assets/Emotes/emote_star.png" id="5_lhd8w"]
[sub_resource type="SphereShape3D" id="SphereShape3D_lhd8w"] [sub_resource type="SphereShape3D" id="SphereShape3D_lhd8w"]
radius = 0.2
[sub_resource type="Resource" id="Resource_lhd8w"] [sub_resource type="Resource" id="Resource_lhd8w"]
script = ExtResource("4_ck6a3") script = ExtResource("4_ck6a3")
@ -42,3 +43,6 @@ frame = 10
[node name="EnergyBar3D" parent="." index="6"] [node name="EnergyBar3D" parent="." index="6"]
texture = SubResource("ViewportTexture_gjbai") texture = SubResource("ViewportTexture_gjbai")
[node name="EnergyBar2D" parent="EnergyBar3D/SubViewport" index="0"]
value = 100.0

View file

@ -43,3 +43,4 @@ texture = SubResource("ViewportTexture_7fox5")
[node name="EnergyBar2D" parent="EnergyBar3D/SubViewport" index="0"] [node name="EnergyBar2D" parent="EnergyBar3D/SubViewport" index="0"]
max_value = 50.0 max_value = 50.0
value = 50.0