11package com .example .examplemod .content .ponder ;
22
3+ import com .simibubi .create .foundation .ponder .CreateSceneBuilder ;
34import net .createmod .ponder .api .PonderPalette ;
45import net .createmod .ponder .api .scene .SceneBuilder ;
56import net .createmod .ponder .api .scene .SceneBuildingUtil ;
@@ -15,6 +16,8 @@ public class ExamplePonderScenes {
1516 * structure above it, panning the camera, and drawing outlines with attached text.
1617 */
1718 public static void examplePonder (SceneBuilder scene , SceneBuildingUtil util ) {
19+ var helper = new CreateSceneBuilder (scene );
20+
1821 // The first argument is the scene id: it prefixes this scene's lang keys
1922 // (ponder.examplemod.example_ponder.*), so keep it matching the storyboard id.
2023 scene .title ("example_ponder" , "Welcome to the Example Addon" );
@@ -56,9 +59,22 @@ public static void examplePonder(SceneBuilder scene, SceneBuildingUtil util) {
5659
5760 scene .overlay ().showOutlineWithText (arms , 80 )
5861 .colored (PonderPalette .BLUE )
62+ .attachKeyFrame ()
5963 .text ("Two Mechanical Arms flank the sign, proving Create's own blocks work too" )
6064 .pointAt (util .vector ().topOf (2 , 1 , 1 ));
61- scene .idle (90 );
65+ scene .idle (45 );
66+
67+ helper .world ().setKineticSpeed (arms , 64 );
68+
69+ scene .idle (45 );
70+
71+ scene .overlay ().showOutlineWithText (arms , 80 )
72+ .colored (PonderPalette .BLUE )
73+ .text ("You can also apply kinetic speeds to certain blocks" )
74+ .pointAt (util .vector ().topOf (2 , 1 , 1 ));
75+
76+ scene .idle (45 );
77+
6278
6379 // markAsFinished lets the "next scene" prompt appear without waiting out the last
6480 // text window; reaching the end of the method would mark it finished anyway.
0 commit comments