mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-15 16:34:48 +00:00
✨ backup old work
This commit is contained in:
parent
4f93aee203
commit
36168ed18c
84 changed files with 1632 additions and 186 deletions
|
|
@ -192,9 +192,9 @@ visible = false
|
|||
layout_mode = 2
|
||||
value = 100.0
|
||||
fill_mode = 4
|
||||
texture_progress = ExtResource("6_rrus8")
|
||||
radial_initial_angle = 293.0
|
||||
radial_fill_degrees = 135.0
|
||||
texture_progress = ExtResource("6_rrus8")
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_interval = 0.1
|
||||
|
|
|
|||
|
|
@ -4,16 +4,15 @@ importer="texture"
|
|||
type="CompressedTexture2D"
|
||||
uid="uid://cpb6vpa0c74rl"
|
||||
path.s3tc="res://.godot/imported/waypoint.svg-e7e029f470e2f863636e9426f3893ced.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/waypoint.svg-e7e029f470e2f863636e9426f3893ced.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://interfaces/waypoint/assets/waypoint.svg"
|
||||
dest_files=["res://.godot/imported/waypoint.svg-e7e029f470e2f863636e9426f3893ced.s3tc.ctex", "res://.godot/imported/waypoint.svg-e7e029f470e2f863636e9426f3893ced.etc2.ctex"]
|
||||
dest_files=["res://.godot/imported/waypoint.svg-e7e029f470e2f863636e9426f3893ced.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@
|
|||
@tool
|
||||
class_name Waypoint3D extends Node3D
|
||||
|
||||
signal text_changed(new_text: String)
|
||||
|
||||
# If `true`, the waypoint sticks to the viewport's edges when moving off-screen.
|
||||
@export var sticky : bool = true
|
||||
|
||||
|
|
@ -25,9 +27,7 @@ class_name Waypoint3D extends Node3D
|
|||
@export var text : String:
|
||||
set(value):
|
||||
text = value
|
||||
# The label's text can only be set once the node is ready.
|
||||
if is_inside_tree():
|
||||
label.text = value
|
||||
text_changed.emit(value)
|
||||
|
||||
## The foreground color to modulate the waypoint color
|
||||
@export var foreground_color : Color = Color.WHITE
|
||||
|
|
@ -37,7 +37,7 @@ class_name Waypoint3D extends Node3D
|
|||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass
|
||||
text_changed.connect(label.set_text)
|
||||
|
||||
func _process(_delta : float) -> void:
|
||||
sprite.modulate = foreground_color
|
||||
|
|
|
|||
|
|
@ -9,9 +9,11 @@ script = ExtResource("1_kq7bj")
|
|||
[node name="Label3D" type="Label3D" parent="."]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
offset = Vector2(0, 48)
|
||||
billboard = 2
|
||||
billboard = 1
|
||||
double_sided = false
|
||||
no_depth_test = true
|
||||
fixed_size = true
|
||||
font_size = 24
|
||||
line_spacing = 32.025
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue