Skip to content
NP Editor Docs

Tutorial "Mulgyeol" part 2 — Opening cutscene

When you start Play, the screen brightens from black and the title “Mulgyeol” appears. For 20 seconds the camera flies over the snow-capped mountain → the valley where the river begins → the forest → the village across the river → the stage in the square, then goes through a fade and returns to the player’s view. Press Shift to skip it at once. You build this cutscene in two ways.

What you doWhereWhat you build
Build the cutsceneSequencer (bottom area tab)Position and rotation keys for 5 cameras → 6 camera cuts → 5 fades → 1 title
Play the cutsceneWorld logic tab3 rules: play it on join · skip it on sneak · clean up at the end

The rules use the variable in_cutscene (per player · initial value 0). It is 1 during the cutscene and 0 otherwise. Part 3 uses this value to stop the money display during the cutscene.

Preparation: the pictures in this part show the left and right areas collapsed (the “Left area”, “Right top area”, and “Right bottom area” checks in the Window menu are off) and the bottom area enlarged. You can follow along without the same screen, but steps 4, 7, and 8 (choosing a camera in the outliner) and step 11 (typing a position in Details) need the right area, so turn it back on then. If the front of a number in Details looks cut off (168.5 shown as “68.5”), drag the left border of the right column to widen it.

A note on input fields: right after you type a value into a text or number field, shortcuts such as Ctrl+A, Esc, and F, and in ▶ Play Shift, WASD, and the number keys, go into that field and do not work. Put the mouse over the viewport and scroll the wheel one notch to leave the field before you continue (it is fine if the view moves a little).

The starting file is samples\showcase\mulgyeol_start2.npworld (in the install folder, by default %LOCALAPPDATA%\Programs\NP Editor\samples\showcase\). Open it in this order.

  1. In Explorer, copy the whole samples\showcase folder under your own working folder (any folder name). AppData is a hidden folder, so paste %LOCALAPPDATA%\Programs\NP Editor\samples into the Explorer address bar to get there. Leave the original in the install folder unchanged.
  2. Open mulgyeol_start2.npworld in the copied folder with File > Open…, and immediately save it in the same folder as mulgyeol_part2.npworld with File > Save As….

The whole folder is copied because the sky decoration (assets\sky.np.json) and the models (models\) are read from folders next to the world file. If you open the file straight from the install folder and save it in another folder, the sky settings do not follow, so you get the vanilla sky instead of the one in the pictures, and the models still point to the install folder. The starting files for parts 3 and 4 are in the same folder, so open them the same way.

This file is the land of part 1 with a village, a square, roads, bridges, and workplaces added, together with a registry (assets\registry.json) holding the villager and dancer models. You can do the same steps with the world you built yourself in part 1. Without the village, the scenery at the back of the cuts looks like an empty field, and the spawn point height 68 in step 11 is for the land of starting file 2, so on your own land you may need to change it to the ground height at that spot.

  1. Set the viewport view anywhere and click Tools > Camera actor — create from current view. Change the view and use the same menu to make 5 cameras. You enter the positions as numbers in steps 5 and 7, so the views need not be exact. Camera_1 to Camera_5 appear in the outliner.

    Five camera actors made with the Tools menu

  2. Click Tools > Sequencer (sequences · cutscenes) (Ctrl+Shift+Q does the same). The Sequencer tab opens in the bottom area. There are no sequences yet, so you see the Create new sequence button.

    The Create new sequence prompt in the Sequencer tab

  3. Click Create new sequence. Type 시작 컷신 in the name field (any name works; the sample uses this one) and 20 in Length. The sequence id is set automatically, like anim_1. After you type in the length field, F would go into that field, so click once in an empty spot at the bottom of the timeline (not on the ruler row) to select the timeline (this moves the playhead), then, with the mouse pointer over the timeline, press F to fit all 20 seconds on one screen. Right-clicking an empty spot at the bottom of the timeline and choosing “Frame view F” does the same.

    A new sequence made with the name 시작 컷신 and a length of 20 seconds

  1. Select Camera_1 in the outliner. Next to Add key, turn on only Position and Rotate, and turn off Size and Visible (cameras do not need them). Put the playhead at 0 seconds and click Add key. The Position and Rotate tracks of Camera_1 appear below the timeline, each with one key at 0 seconds. Move the playhead by clicking or dragging the ruler above the timeline.

    Adding a key with only Position and Rotate turned on next to Add key

  2. Move the playhead to about 4.6 seconds and click Add key once more. When you click a key on each track, a t (time) field and a value field appear in the row below. Set them to the values in the table below. In the value fields, separate the numbers with commas, like 122, 188, 34, and confirm with Enter. For Camera_1, Position key 0 = 122, 188, 34 (0 s), key 1 = 174, 166, 56 (4.6 s), and Rotate key 0 = -14.97, 25.56, 0, key 1 = -10.84, 35.39, 0. The rotation values are yaw, pitch, roll, and roll is always 0. The value field is narrow, so only the front of what you typed (such as 122, 18) may show; the value is still correct.

    The row for entering a position key's time and value

  3. Click the first key on each track and select smooth in the interpolation field. From this key to the next, the camera starts slowly and stops slowly (the last key does not need it). Do this on both the Position and Rotate tracks.

    The first key's interpolation set to smooth

  4. Do Camera_2 to Camera_5 the same way as steps 4, 5, and 6. Use the values in the table below. For every camera, both keys have different times.

    CameraTime (s)PositionRotation
    Camera_10 → 4.6122, 188, 34 → 174, 166, 56-14.97, 25.56, 0 → -10.84, 35.39, 0
    Camera_24.6 → 8.6182, 152, 70 → 190, 118, 128-7.59, 31.66, 0 → 2.34, 25.13, 0
    Camera_38.6 → 12.6196, 116, 138 → 242, 120, 180-46.47, 17.13, 0 → -35.27, 23.66, 0
    Camera_412.6 → 16.4246, 118, 186 → 198, 88, 22464.4, 24.27, 0 → 79.8, 21.49, 0
    Camera_516.4 → 19.6192, 84, 230 → 166, 75, 24187.4, 18.81, 0 → 116.57, 16.6, 0

    The speeds in the table are the peak speed of smooth (1.5 times the average), 13.9 to 26.9 blocks per second. For the camera to follow smoothly on the server, this speed must be 30 blocks per second or less. If you build with other values, keep the distance and time within this limit.

  1. After step 7 the playhead is near 19.6 seconds, so first move it to 0 seconds with the To start button in the top row of the Sequencer. If you make cuts, fades, and titles with the mouse, their times snap to 0.05-second steps, so exact times such as 4.6 and 18.8 may not be set. So right after you make one, type the time from the list into the t field at the left of the row below and confirm with Enter (cuts 0 · 4.6 · 8.6 · 12.6 · 16.4 · 19.6 / fades 0 · 1.2 · 18.8 · 19.6 · 19.9 / title 1.5). Now select Camera_1 in the outliner and click the + button on the master track’s Camera cut row (a cut appears at the playhead), or double-click the row. A cut appears at 0 seconds, and the Camera field in the row below is Camera_1. Then select Camera_2 in the outliner and add a cut at 4.6 seconds, and Camera_3, Camera_4, Camera_5 at 8.6, 12.6, and 16.4 seconds. For the cuts of Camera_2 to Camera_5, type 0.6 seconds in Blend. It transitions smoothly from the previous cut’s camera to the new camera over 0.6 seconds. Finally, deselect in the outliner, make one more cut at 19.6 seconds, and change its Camera field to (Player view — cutscene ends).

    The 6 cuts on the Camera cut row and the camera and blend of the second cut

  2. On the Fade row, make 5 keys and set the values.

    Time (s)CoverInterpolationWhat it does
    01smoothThe cutscene starts from black
    1.20linearBrightens over 1.2 seconds
    18.80smoothStays clear until the end
    19.61smoothChanges the player-view cut (19.6 s) inside the black
    19.90linearBrightens again and ends

    Cover 0 = clear, 1 = fully covered. The cut back to the player’s view switches with no blend, so always put it when the fade is 1 (inside the black).

    The Cover and interpolation fields of the fade keys

  3. On the Title row, make a title at 1.5 seconds. Type 물결골 in the title field and 강이 흐르는 마을 in the subtitle field (the sample uses these Korean texts; any text works), and 3 for Hold, 0.6 for In, and 0.8 for Out (the In field is narrow, so on screen the front of the label is cut off and reads “n 0.6 s”). Move the playhead to about 2.6 seconds and the title shows in the viewport.

    The title and subtitle fields filled in

  1. Make a variable that is 1 only during the cutscene. First place a spawn point with Add on the toolbar: place Spawn point — player, type 168.5, 68, 238.5 in the X, Y, Z fields of the Position row in Details, and 106.7 in the first field of the Rotate row (X = yaw, the left-right direction). If the right column is narrow and the front of 168.5 looks cut off like “68.5”, drag the left border of the column to widen it. This is the point that makes play always start in the same place (the village entrance, facing the square) after the cutscene. Next click Variables in the World logic tab, and in the variable window use Add variable to enter the name in_cutscene, type int, scope Player, and initial value 0, then click Apply.

    The in_cutscene row in the variable window and the Apply button

  2. Rule 1 — play the cutscene on join. Click the ”+” (new rule) at the top left of the World logic tab. A new rule starts with the trigger On zone enter and action 1 Chat message (text “You entered the zone”). The id field in the properties starts as rule_1. Click the field, select all with Ctrl+A, type r_join_intro, and confirm with Enter (it changes only after you press Enter). For the rule name, select all in the bold field above the id row (it starts as “New rule”) the same way and type 시작 컷신 (any name works). Clear and type the id and name fields of steps 13 and 14 the same way. Click the trigger card’s type button and change it to When a player joins. Check Once per player under the filter. Click the type button of action 1 (Chat message) and change it to Teleport (Destination (spawn·camera) = the spawn point from step 11), then use Add action to add Set variable (Variables in_cutscene · Values 1) → Play sequence (Sequence = the opening cutscene). From the top you now have three: Teleport → Set variable → Play sequence.

    Rule r_join_intro — on join: teleport · set variable · play sequence

  3. Rule 2 — skip with Shift. Make a new rule with id r_skip_intro (confirm with Enter) and name 컷신 건너뛰기 (any name works). Change the trigger type to When sneaking. In Add condition, add Compare with Left {in_cutscene}, Compare ==, and Right 1. Change the type of action 1 to Stop sequence (the opening cutscene), then use Add action to add Set variable (0 for in_cutscene) → Chat message (Text 주민에게 다가가 F 로 말을 걸어 보세요., a Korean hint meaning “Walk up to a villager and press F to talk”; any text works). The condition makes it skip only while the cutscene is running.

    Rule r_skip_intro — when sneaking, condition compare → stop sequence

  4. Rule 3 — clean up when it plays to the end. Make a new rule with id r_intro_done (confirm with Enter) and name 컷신 끝 (any name works). The trigger is When a sequence ends (Sequence = the opening cutscene). Change the type of action 1 to Set variable (0 for in_cutscene), then use Add action to add Chat message (the same hint text). When you skip with “Stop sequence”, “When a sequence ends” does not occur, so the skip rule does the same cleanup on its own.

    Rule r_intro_done — when the sequence ends: variable 0 · hint

  1. Open the left and right areas again. If you typed in a text field a moment ago, scroll the wheel one notch over the viewport to leave the field, then click the ▶ (Play) button on the toolbar. You can leave the start position at the first value of the ▾ menu, “From current camera position” (the rule’s teleport moves you to the spawn point). The screen brightens from black and the title “Mulgyeol” appears. During the cuts, the editing lines (pink boxes and zone boxes) are not shown.

    Play at 3.4 seconds — the title Mulgyeol and the snow-covered mountain

  2. The camera shows the river along the valley (7.8 seconds · cut 2).

    Play at 7.8 seconds — the camera going down along the river

  3. The village across the river and the square appear (14.8 seconds · cut 4).

    Play at 14.8 seconds — the village across the river

  4. If you press Shift during the cutscene, it ends at once, you return to the player’s view, and the chat shows “Walk up to a villager and press F to talk.” (in Korean in the sample). If you leave it alone, it returns to the same view inside the black at 19.6 seconds and shows the same hint. End Play with Esc. If Shift does not work, focus is still in an input field (skipping with the number key 1 fails for the same reason). End Play with Esc, scroll the wheel one notch over the viewport, and click ▶ again.

    The player's view and the chat hint after skipping with Shift

  1. The opening cutscene is done. Below is a scene from the second cut. Starting file 3 (mulgyeol_start3.npworld) contains the result of this part as is, so continue part 3 with your own file or start from starting file 3.

    A scene from the opening cutscene flying along the river (game view)

  • Click the timeline once and press F with the pointer over it to fit the whole sequence on one screen. With Cut preview on, moving the playhead switches the viewport to the cut camera at that time, and fades and titles show over it.
  • The ▶ Play view is driven by the sequence cut by cut. If you turn off “Switch view to sequence cuts in Play” in the ▾ menu of ▶, your own view stays as it is even during the cutscene.
  • A cut reads best with 2 keys and one smooth move. Blend between cuts moves smoothly from the previous cut camera’s pose to the new camera, and a “Player view” cut switches with no blend, so always do it inside a fade.
NameIn this tutorialValue
SequenceThe opening cutsceneLength 20 s · 6 cuts · 5 fades · 1 title · 10 camera tracks
Variablein_cutsceneint · player · 0
Ruler_join_introWhen a player joins (once per player) → teleport · set variable · play sequence
Ruler_skip_introWhen sneaking + condition {in_cutscene} == 1 → stop sequence · set variable · chat message
Ruler_intro_doneWhen a sequence ends → set variable · chat message

Since the 0.11.0 installer, the top row of the Sequencer has one more button, a frame-shaped “Render…” button, to the right of the eye icon, so you see one more button than in this part’s Sequencer pictures. This tutorial does not use it.

When you select a fade key, the key fields below have one more field, Key colour (this key’s cover colour; empty = the sequence colour), so it looks slightly different from picture 08. Leave it empty as you follow along. The interpolation list also has more entries: ease in, ease out, auto, and bezier.

The detailed explanation of each feature is in the pages below.