A Libre Multiplayer FPS Game built with Godot 4 engine and a fully open-source toolchain https://libla.st
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Liblast/Testbed/Main.tscn

67 lines
2.4 KiB

[gd_scene load_steps=7 format=3 uid="uid://bdgy4sgkmc8ix"]
[ext_resource type="Script" path="res://Main.gd" id="1_15d3n"]
[ext_resource type="Script" path="res://PlayerSpawner.gd" id="2_c4oj8"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_lyfhh"]
fractal_type = 2
fractal_lacunarity = 1.65
domain_warp_enabled = true
[sub_resource type="NoiseTexture2D" id="NoiseTexture_uwdig"]
seamless = true
noise = SubResource("FastNoiseLite_lyfhh")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_l30fw"]
albedo_color = Color(0.337255, 0.337255, 0.337255, 1)
albedo_texture = SubResource("NoiseTexture_uwdig")
[sub_resource type="PlaneMesh" id="PlaneMesh_pe08y"]
material = SubResource("StandardMaterial3D_l30fw")
size = Vector2(24, 24)
[node name="Main" type="Node3D"]
transform = Transform3D(0.999998, -0.00149005, 0.00105489, 0.00148988, 0.999999, 0.000160069, -0.00105512, -0.000158506, 0.999999, 0, 0, 0)
script = ExtResource("1_15d3n")
[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="Host" type="Button" parent="Control"]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
text = "Host"
[node name="Join" type="Button" parent="Control"]
layout_mode = 0
offset_left = 58.0
offset_top = -1.0
offset_right = 102.0
offset_bottom = 30.0
text = "Join
"
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 0, 2.70132, 4.57458)
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 3.04041e-10, 0, -5.55502e-11, 1, -4.36557e-11, 0, 4.36557e-11, 1, -0.00148988, -0.999999, -0.000160078)
mesh = SubResource("PlaneMesh_pe08y")
[node name="Characters" type="Node3D" parent="."]
transform = Transform3D(0.999999, 0.00148988, -0.00105513, -0.00149005, 0.999999, -0.000158497, 0.00105488, 0.000160078, 1, 0, 0, 0)
[node name="CharactersSpawner" type="MultiplayerSpawner" parent="."]
spawn_path = NodePath("../Characters")
script = ExtResource("2_c4oj8")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.000762449, 0.866849, -0.498571, -0.000329993, 0.498571, 0.866849, 1, -0.000496399, 0.000666199, -5.99403, 4.00894, -0.00568899)
shadow_enabled = true
[connection signal="pressed" from="Control/Host" to="." method="_on_host_pressed"]
[connection signal="pressed" from="Control/Join" to="." method="_on_join_pressed"]