This commit is contained in:
Marek Le
2026-05-09 23:37:26 +02:00
parent 6d28b04c12
commit 2d4002bd3f
263 changed files with 5250 additions and 4597 deletions

View File

@@ -0,0 +1,49 @@
[gd_scene load_steps=6 format=3 uid="uid://b0portal0001"]
[ext_resource type="Script" path="res://scenes/entities/portal/portal.gd" id="1"]
[sub_resource type="CylinderShape3D" id="CylShape_1"]
height = 0.4
radius = 1.5
[sub_resource type="CylinderMesh" id="CylMesh_1"]
top_radius = 1.5
bottom_radius = 1.5
height = 3.0
[sub_resource type="StandardMaterial3D" id="PortalMat"]
albedo_color = Color(0.3, 0.5, 0.95, 1)
emission_enabled = true
emission = Color(0.5, 0.7, 1.0, 1)
emission_energy_multiplier = 1.5
[sub_resource type="SphereShape3D" id="SphereEnter"]
radius = 1.8
[node name="Portal" type="StaticBody3D"]
collision_layer = 8
collision_mask = 0
script = ExtResource("1")
[node name="Collision" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2, 0)
shape = SubResource("CylShape_1")
[node name="Mesh" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
mesh = SubResource("CylMesh_1")
material_override = SubResource("PortalMat")
[node name="NameLabel" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.0, 0)
billboard = 1
text = "Portal"
font_size = 22
outline_size = 3
[node name="EnterArea" type="Area3D" parent="."]
collision_layer = 0
collision_mask = 2
[node name="EnterShape" type="CollisionShape3D" parent="EnterArea"]
shape = SubResource("SphereEnter")