feat: 更新 IntoHole 的球体、滑槽和环境资产
- 为铁球、陶瓷球和木球制作风格化材质,归档 CC0 原始参考 - 更新方形球洞和实心滑槽,统一 90° 弯槽并兼容旧存档 - 用顺流泡沫表示水流方向,为冰块制作三种交错的裂纹 - 同步 Blender 源资产、Godot 加载、工坊和试玩预览
This commit is contained in:
@@ -31,8 +31,8 @@ func run() -> void:
|
||||
root.remove_child(showcase);showcase.queue_free()
|
||||
app.load_level("res://playtest/showcase/data/meadowexample.json")
|
||||
await physics_frame
|
||||
check("six_chute_types_in_showcase",app.IDS.all(func(id):return app.records.any(func(r):return r.kind==id)))
|
||||
check("independent_assets_and_physics",app.lib.catalog.values().all(func(c):return c.path.begins_with("res://assets/")) and app.lib.physics.ballTypes.size()==1)
|
||||
check("five_chute_types_in_showcase",app.IDS.all(func(id):return app.records.any(func(r):return r.kind==id)))
|
||||
check("independent_assets_and_physics",app.lib.catalog.values().all(func(c):return c.path.begins_with("res://assets/")) and app.lib.physics.ballTypes.size()==3)
|
||||
check("two_iron_instances_from_one_asset",app.balls.size()==2 and app.balls.all(func(b):return is_equal_approx(b.radius,.3) and b.freeze))
|
||||
check("demo_data_valid",app.validate_level(app.encode()).is_empty(),{"error":app.validate_level(app.encode())})
|
||||
check("sphere_collisions_enabled",app.balls.all(func(b):return b.collision_mask==3 and b.collision_layer==2))
|
||||
@@ -52,7 +52,7 @@ func run() -> void:
|
||||
if app.entered.size()==1:partial=true;premature=premature or app.status.begins_with("全部")
|
||||
if app.entered.size()+app.lost.size()==2:break
|
||||
check("both_enter_actual_aperture",app.entered.size()==2 and app.lost.is_empty(),{"time":app.elapsed,"events":app.events})
|
||||
check("physical_contact_with_all_six",app.IDS.all(func(id):return app.contact_visited.has(id)),{"contact_types":app.contact_visited})
|
||||
check("physical_contact_with_all_five",app.IDS.all(func(id):return app.contact_visited.has(id)),{"contact_types":app.contact_visited})
|
||||
check("partial_is_not_success",partial and not premature)
|
||||
check("unique_events_and_exit",app.events.size()==2 and app.events[0].ballId!=app.events[1].ballId and app.balls.all(func(b):return b.freeze and not b.visible and b.collision_mask==0))
|
||||
var trace: Array=app.samples.duplicate(true)
|
||||
|
||||
Reference in New Issue
Block a user