Replace imps with rigged swamp demon and adapt gait and activities

This commit is contained in:
JariKo
2026-10-28 23:04:47 +02:00
parent 8ee99c0ea0
commit f51f3f6449
20 changed files with 465 additions and 95 deletions
+2 -2
View File
@@ -37,11 +37,11 @@ func run(g):
activities.update(imp,.2)
check(imp.activity==kind and is_instance_valid(imp.activity_props),"activity starts with real props: "+kind)
var before=imp.model.get_node("ArmR").rotation
activities.update(imp,.3)
activities.update(imp,.3);imp.gait.update(.05,true)
check(imp.model.get_node("ArmR").rotation!=before,"activity animates: "+kind)
g.camera.position=imp.root.position+Vector3(3,2.4,4);g.camera.look_at(imp.root.position+Vector3(0,.6,0));g.camera.size=3.5
if kind=="draw":
activities.update(imp,3.5)
activities.update(imp,3.5);imp.gait.update(.05,true)
check(imp.activity_mark.edges.all(func(edge):return edge.node.visible),"pentagram is drawn in five strokes")
for node in g.architecture.walls:node.show()
g.camera.position=imp.root.position+Vector3(3,1.5,2);g.camera.look_at(imp.root.position+Vector3(-.3,.7,0))