camera adjustement
This commit is contained in:
parent
d68f496ad1
commit
d324a66d54
3 changed files with 7 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
|||
extends Camera3D
|
||||
|
||||
|
||||
const SCREEN_MARGIN : int = 50
|
||||
const SCREEN_MOVEMENT_SPEED : float = .05
|
||||
const SCREEN_MARGIN : int = 15
|
||||
const SCREEN_MOVEMENT_SPEED : float = .08
|
||||
|
||||
@export var curve : Curve
|
||||
var shouldMove : bool = true
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
[ext_resource type="Texture2D" uid="uid://dqyhhvxpwtpsy" path="res://Assets/Emotes/emote_star.png" id="5_lhd8w"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_lhd8w"]
|
||||
radius = 0.2
|
||||
|
||||
[sub_resource type="Resource" id="Resource_lhd8w"]
|
||||
script = ExtResource("4_ck6a3")
|
||||
|
|
@ -42,3 +43,6 @@ frame = 10
|
|||
|
||||
[node name="EnergyBar3D" parent="." index="6"]
|
||||
texture = SubResource("ViewportTexture_gjbai")
|
||||
|
||||
[node name="EnergyBar2D" parent="EnergyBar3D/SubViewport" index="0"]
|
||||
value = 100.0
|
||||
|
|
|
|||
|
|
@ -43,3 +43,4 @@ texture = SubResource("ViewportTexture_7fox5")
|
|||
|
||||
[node name="EnergyBar2D" parent="EnergyBar3D/SubViewport" index="0"]
|
||||
max_value = 50.0
|
||||
value = 50.0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue