feat: 更新 IntoHole 的球体、滑槽和环境资产
- 为铁球、陶瓷球和木球制作风格化材质,归档 CC0 原始参考 - 更新方形球洞和实心滑槽,统一 90° 弯槽并兼容旧存档 - 用顺流泡沫表示水流方向,为冰块制作三种交错的裂纹 - 同步 Blender 源资产、Godot 加载、工坊和试玩预览
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
extends "res://playtest/tutorial/scripts/tutorial.gd"
|
||||
|
||||
func series_title() -> String:
|
||||
return "水流对照"
|
||||
|
||||
func setup_ui() -> void:
|
||||
super.setup_ui()
|
||||
toolbar.hide()
|
||||
for button_view in lesson_buttons:
|
||||
button_view.hide()
|
||||
|
||||
func open_lesson(index: int) -> void:
|
||||
super.open_lesson(index)
|
||||
camera_size = 5.0
|
||||
update_camera()
|
||||
|
||||
func refresh_ui() -> void:
|
||||
super.refresh_ui()
|
||||
if status_label == null or lesson.is_empty():
|
||||
return
|
||||
timer_label.text = "释放后 %.1f 秒" % elapsed if started else "等待释放 · 2 颗原木球"
|
||||
if not started and not failed:
|
||||
status_label.text = ""
|
||||
status_label.hide()
|
||||
else:
|
||||
status_label.show()
|
||||
restart_button.text = "重置对照"
|
||||
|
||||
func read_lesson(_index: int) -> Dictionary:
|
||||
return {
|
||||
"title": "水流对照",
|
||||
"objective": "释放前,观察并排两块水面上的泡沫。",
|
||||
"hint": "跟着同一缕泡沫看,就能分清两块水各自往哪边流。",
|
||||
"inventory": {},
|
||||
"defaults": {},
|
||||
"layout": {
|
||||
"schemaVersion": 2,
|
||||
"assetFamily": "railbound_inspired",
|
||||
"pieces": [],
|
||||
"entities": [
|
||||
{"id": "near_bed", "kind": "wall", "position": [0, 0, 1], "quarter": 0},
|
||||
{"id": "far_bed", "kind": "wall", "position": [0, 0, 0], "quarter": 0},
|
||||
{"id": "near_water", "kind": "water", "position": [0, 1, 1], "quarter": 0},
|
||||
{"id": "far_water", "kind": "water", "position": [0, 1, 0], "quarter": 2},
|
||||
],
|
||||
"balls": [
|
||||
{"id": "near_ball", "ballTypeId": "wood_ball", "position": [-0.34, 2.36, 1]},
|
||||
{"id": "far_ball", "ballTypeId": "wood_ball", "position": [0.34, 2.36, 0]},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
func initial_layout(data: Dictionary) -> Dictionary:
|
||||
return data.layout
|
||||
@@ -0,0 +1 @@
|
||||
uid://c40lfvqe2cs4t
|
||||
Reference in New Issue
Block a user