Improved html5 performance

This commit is contained in:
Manuel Erdmann 2025-06-10 01:32:17 +02:00
parent 1aff15069a
commit af41271af2
9 changed files with 63 additions and 54 deletions

View file

@ -1,8 +1,9 @@
[gd_scene load_steps=7 format=3 uid="uid://y2t5rrkvs0c0"]
[gd_scene load_steps=8 format=3 uid="uid://y2t5rrkvs0c0"]
[ext_resource type="Script" uid="uid://rbug8ibnb87v" path="res://HexOutline.gd" id="1_cbscl"]
[ext_resource type="ArrayMesh" uid="uid://cocujjycabbp3" path="res://hex_outline.res" id="2_hwabu"]
[ext_resource type="Script" uid="uid://btn30al6m0cfa" path="res://MeshBreather.gd" id="3_6b28p"]
[ext_resource type="Material" uid="uid://bxwitvdpsoro6" path="res://hex_outline_material.tres" id="3_lvy2v"]
[ext_resource type="ArrayMesh" uid="uid://2hoclmeiswwf" path="res://hex_outline_bottom.res" id="4_lr4wm"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_uta8s"]
@ -13,6 +14,7 @@ transparency = 1
albedo_color = Color(0.133333, 0.592157, 0, 0.607843)
[node name="HexOutline" type="Area3D"]
collision_mask = 0
monitoring = false
script = ExtResource("1_cbscl")
@ -21,12 +23,13 @@ shape = SubResource("ConcavePolygonShape3D_uta8s")
[node name="Mesh" type="MeshInstance3D" parent="."]
mesh = ExtResource("2_hwabu")
skeleton = NodePath("../../..")
skeleton = NodePath("")
surface_material_override/0 = ExtResource("3_lvy2v")
script = ExtResource("3_6b28p")
[node name="HexOutlineBottom" type="MeshInstance3D" parent="Mesh"]
mesh = ExtResource("4_lr4wm")
skeleton = NodePath("../../../..")
skeleton = NodePath("")
surface_material_override/0 = SubResource("StandardMaterial3D_tu70t")
[connection signal="input_event" from="." to="." method="_on_input_event"]