progress on scrubbers. pending tick boundary handling fix
This commit is contained in:
@@ -117,6 +117,7 @@
|
||||
p 0 0 0 power=15
|
||||
t 6
|
||||
p 1 0 0 powered=true
|
||||
l begin-extend
|
||||
t 7
|
||||
p 2 0 0 extended=true
|
||||
p 4.0 0 0 air &
|
||||
@@ -135,10 +136,12 @@
|
||||
p 3.0 0 0 piston_head facing=east short=false type=sticky
|
||||
p 2.5 -1 0 air &
|
||||
p 3.0 -1 0 piston_head facing=east short=false type=normal
|
||||
l end-extend
|
||||
t 12
|
||||
p 0 0 0 power=0
|
||||
t 16
|
||||
p 1 0 0 powered=false
|
||||
l begin-retract
|
||||
t 17
|
||||
p 3 0 0 air &
|
||||
p 2.5 0 0 piston_head facing=east short=true type=sticky
|
||||
@@ -157,6 +160,7 @@
|
||||
p 2 0 0 extended=false
|
||||
p 2.5 -1 0 air
|
||||
p 2 -1 0 extended=false
|
||||
l end-retract
|
||||
`);
|
||||
const f_piston_t = new WorldFrame(w_piston);
|
||||
const d_piston_t = new Diorama('demo-piston', f_piston_t, () => engine.requestRender());
|
||||
@@ -165,7 +169,7 @@
|
||||
d_piston_t.saveState();
|
||||
engine.addDiorama(d_piston_t);
|
||||
|
||||
const s_piston_t = new SubtickScrubber('demo-piston', f_piston_t, d_piston_t)
|
||||
const s_piston_t = new SubtickScrubber(d_piston_t)
|
||||
const c_piston = new CameraController(d_piston_t)
|
||||
|
||||
// Fetch and build everything concurrently!
|
||||
|
||||
Reference in New Issue
Block a user