Add blood decals, gore, mobile HUD, web start gate + touch/perf tests
Remove tools/fstest.html scratch page used to probe browser fullscreen/orientation APIs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EznnY8rH2dXhtono1kwsXg
This commit is contained in:
@@ -53,7 +53,14 @@ func _run() -> void:
|
||||
# Shell survives and hosts exactly one level module.
|
||||
var level_root: Node = scene.get_node_or_null("LevelRoot")
|
||||
_ok(level_root != null, "shell has a LevelRoot")
|
||||
_ok(level_root != null and level_root.get_child_count() == 1, "exactly one level module loaded")
|
||||
# LevelRoot holds the module plus the level's blood-splat pool; exactly one of them
|
||||
# is the geometry module (the other is BloodDecals).
|
||||
var module_children := 0
|
||||
if level_root != null:
|
||||
for child: Node in level_root.get_children():
|
||||
if not child.is_in_group(&"blood_decals"):
|
||||
module_children += 1
|
||||
_ok(module_children == 1, "exactly one level module loaded")
|
||||
_ok(not get_nodes_in_group(&"player").is_empty(), "player (shell) present")
|
||||
|
||||
# The leak we are guarding against: no arena geometry may exist in the bear level.
|
||||
|
||||
Reference in New Issue
Block a user