Skip to content

Cinematics ​

The Cinematics plugin lets you build real cinematics on a timeline: instead of chaining blocks one after another, you place clips on tracks and each clip starts at the second you choose. Clips run together: a fade while the character keeps walking, a zoom that goes with a dialogue, music that comes in at second 6…

Since not everybody needs it, it is not enabled by default: each project installs it separately, and a game without the plugin does not change at all.

The Cinematics studio: cinematics list, clip library, viewer, timeline with tracks and the inspector

Turning it on ​

  1. Open Plugins (side menu, Project group) and choose Cinematics.
  2. Press the Enabled switch.
  3. The Cinematics section appears in the side menu.

The timeline ​

  • A cinematic has a name, a total duration (it does not end earlier, even if the clips do) and the Can be skipped option (with the skip-cinematic key, Esc by default, what is left is done instantly).
  • Mode: Takes control away from the player (default) is a classic cinematic: no mouse or verbs and no saving while it lasts (neither F5 nor from the menu; you can save right before or after). If it can be skipped, pressing Esc twice skips it (the first press warns “Press Esc again to skip”, so an accidental tap does not make you lose the scene) and what is left is applied instantly: only how it ends matters (intermediate scenes are not loaded and the remaining sound effects do not all play at once). If the player opens the pause menu in the middle of a cinematic, the picture and all the sound (music, effects, voices) freeze at that point and carry on when they come back, without drifting apart. The player keeps playing is an ambient cinematic (someone crossing the square, a bird, a camera that zooms in for a moment): it does not take control away, cannot be skipped, the Play the cinematic block does not wait for it and it cuts itself off if the player changes scene. If you save while it runs, the game is saved without it.
  • Test scene: the scene where it is tested and where the names (characters, waypoints…) you choose in the clips come from.
  • Tracks: Camera, Characters, Audio, Screen and Logic. Each type offers the blocks that fit (the Logic one accepts any other action). You can have several tracks of the same type, mute one (it does not run) or remove it. Tracks with their default name are shown in the editor language (in Spanish, Cámara, Personajes…); if you rename one, your name stays.
  • Clips: each clip is an ordinary logic block (Zoom, Walk to, Say, Fade…) with its editable slots below. They are added with + on a track at the second where the cursor is or, if that track already has a clip there, right after it (so after Walk to, Say lands when the walk ends instead of on top); by double-clicking the track, at the second you click; drag them to move them and their right edge changes the drawn length (Shift: no snapping to tenths).
  • Cursor: click the ruler or a track to place it. Play cinematic plays it in the test game (Esc skips it and, once it has finished, closes the test) and From the cursor starts at the second where the cursor is (earlier clips are applied instantly, unseen). If at that second a character is halfway through a walk (Walk to, Run to), they appear where they would be and keep walking to their destination, just like in the game. The cursor and the timeline scroll are remembered for each cinematic, also when you reload the page (F5).
  • Snapping and zoom: clips snap to the edges of other clips and to the cursor; Ctrl + wheel zooms the timeline.
  • Camera path: the Camera path clip has a keyframe editor: each one sets a second, a position and a zoom, with a curve (smooth, linear, ease in, ease out) towards the next. The camera goes through all of them in a single animation.
  • In a 3D scene (plugin 3D scenes): the Camera path (3D) clip has keys with where the camera is and where it looks, in meters, and its field of view. You frame the shot by flying in the viewer itself (with camera editing: drag to look, W A S D to move) and Key here puts the key at the cursor's second with what the viewer shows, with the Scene Editor view or with one of the scene's cameras. The Object path (3D) clip moves and turns a hotspot or object through its keys. Switch camera (3D) cuts between the scene's cameras, and the usual tracks also take Animate in 3D, Play clip (3D), Change light (3D) and Ambient light (3D).

A clip's length

A clip's length is only how it is drawn on the timeline (by default, the block's own seconds). What it really lasts is decided by the block: a Walk to lasts as long as it takes to arrive, a Zoom as long as the “seconds” say.

The viewer and shortcuts ​

The viewer shows the cinematic at the cursor second, with the same engine as the game; its shortcuts are in the table below.

The cinematics studio ​

Cinematics (in the side menu) opens a full-screen studio, like UI PRO: it takes over the whole editor and you only go back with the arrow at the top left.

  • Top bar: the back arrow, the project's cinematics as tabs (the + creates an empty one or one from a template), From the cursor, Play cinematic, undo, redo and help. With many cinematics the tabs scroll sideways and the chosen one always stays in sight. With the plugin off, Ctrl+K “cinematics” offers Cinematics (turn on and open).
  • Icon rail (left): shows or hides each window: Cinematics (the list), Clip library, the Inspector and the Viewer.
  • Clip library: every block each track type accepts; drag it onto the track and second you want (the track lights up and a line marks the second), or click to add it at the cursor (or right after the clip that occupies it), on the first track of its type (it creates one if there is none). Long names wrap onto as many lines as they need instead of being cut off.
  • Timeline, more hands-on: click the transport time readout and type a time (14.5, 1:24 or +2); drag a track header to reorder tracks; drag a track's bottom edge to change its height (double click: the general one); while moving or trimming a clip a label shows the second and the change; the buttons and the [ / ] keys jump to the previous or next clip; and the Ripple button makes removing a clip or changing its length shift the following clips on that track to close or open the gap.
  • Center: the viewer, the transport bar and the timeline, with a divider to split the height (double click: 45 / 55).
  • Windows: drag a window's title bar to the left or right to dock it (an orange line shows where it will land), or drop it in the middle to leave it floating; docked ones stack and are resized by dragging the edge between them or the side edge (double click: original width); floating ones from any edge or corner. Double-clicking the bar folds the window; the Windows button in the transport bar shows or hides them and resets the layout. Everything is remembered.

Above the timeline there is a viewer: the real game, with the scene and everything that happens in it. Stopped, it shows the frame at the cursor's second: whatever started earlier has already run, and anyone halfway through a walk appears at the point of the path they reach at that second (at 0 s, where they start; once the walk is over, at the destination), as in the game. While you drag the cursor along the ruler, the viewer waits until you pause for a moment to show that frame (and shows the last one when you let go), so dragging stays smooth even with a large cinematic. If the viewer is black because a Fade left the screen that way, a label at the bottom left says so (“Black because of “Fade” (0.0–2.0 s)”); clicking it moves the cursor to the end of the black screen. With ▶ or Space the cinematic plays live and the cursor follows it. Any change to the clips updates it. Drag the edge between the viewer and the timeline to share the height (double-click: default size), change the viewer zoom (Fit, 50 %, 100 %…) or hide it with the button on the right.

When you choose a clip, its settings (the editable sentence, when it starts, how long it lasts, duplicate, split, remove) appear in the inspector. The text of Say is typed in a small box that always fits on the screen; everything you type in one opening of the box is undone with a single Ctrl+Z, even if you paused. The inspector is a panel on the right that folds away with the panel button (above the ruler) to give the tracks all the width and height.

The viewer's full screen button is left with Esc or F; a notice reminds you when you enter. The viewer is only for watching: it does not save or load games (F5 / F9 do nothing) nor open the pause menu.

On the timeline:

ActionHow
Select several clipsCtrl or Shift + click; Ctrl+A selects all. Dragging one moves them all
DeleteDel
Duplicate, copy, cut, pasteCtrl+D, Ctrl+C, Ctrl+X, Ctrl+V (pastes at the cursor)
Split at the cursorS or C: cuts the chosen clips or, if none is chosen, the ones under the cursor in unlocked tracks; also from the clip menu
Nudge the selected clips← → (0.1 s; Shift 1 s; Alt 0.01 s)
Move the cursor← → with no clips selected, Home and End
Clip, track and ruler menusRight-click (duplicate, copy, split, delete, paste here, set the end here…)
Move the viewRight or middle button + drag (the page doesn't scroll)
ZoomCtrl + wheel around the mouse, the slider or Fit to window
Play, pause, step backSpace toggles; L plays, K pauses, J jumps 1 s back (Shift+J, 5 s). Playing needs the viewer to be visible
LoopI and O set the in and out points; playback repeats that stretch. Alt+X clears the loop
MagnetThe Magnet button or the N key; Shift inverts it while dragging (snaps to clips, cursor, markers and the end)
Pick with a boxShift or Ctrl + drag over an empty area of the tracks
Copy by draggingAlt + drag a clip: a copy is moved
TrimDrag the left edge (changes the start) or the right edge (changes the end)
Move to another trackDrag a clip over another track of the same kind
GroupCtrl+G joins the picked clips (picked and moved together); Ctrl+Shift+G splits them
MarkersM puts a named marker at the cursor (drag it, rename it with a right-click); , and . jump between markers

The inspector, the tools and tracks in depth ​

Inspector (the window on the right), with four tabs:

  • Clip: the chosen clip's settings (the editable sentence, when it starts, its length), its color label, a note and the duplicate, split, Copy settings and Paste settings buttons (copy one clip's settings and paste them onto other clips of the same type). With several clips chosen: if they are the same type, the editable sentence changes the setting in all of them at once; you can also give them the same length, shift them a few seconds, match them to the first or the longest, align them to the cursor, the nearest marker or the first one, put them one after another with no gaps, and label or annotate them together.
  • Track: name, color, volume (0–200 %: it multiplies the volume of the track's sounds and music when it plays; a plain Play the sound becomes its “with settings” version), active, solo, locked, row height, lanes and folder. It opens when you click a track header.
  • Cinematic: name, duration, preview scene, mode and whether it can be skipped.
  • Markers: every marker with its second and name, to jump to, rename or remove them.

Tools (in the timeline bar): V select and move, B blade (click a clip to cut it there), T trim (click to bring the clip's nearest edge to that point), H hand (dragging pans the view). S or C still split at the cursor. Alt + dragging the edge of a clip that touches another does a roll trim: one grows as much as the other shrinks.

Lanes: inside a track every clip sits in a lane (a row). Drag a clip up or down to change lane; if it overlaps another it drops to the first free lane by itself. The track height no longer jumps while you move clips: + Lane (track menu or the Track tab) adds an empty one and Compact removes the empty ones at the end. The height button in the bar picks small, medium or large for all tracks, or resets their own heights; the slider next to it fine-tunes it.

Track folders: right-click a track → Folder → New folder with this track… (or from the Track tab). Folders collapse (showing a summary of their clips), can be renamed, and mute or lock all their tracks at once. Dragging a track into the middle of a folder puts it inside.

Search and filter (Ctrl+F): finds clips by dialogue text, the name of the character, item or scene they use, the block type or the note. Enter and Shift+Enter jump from one result to the next (the clip is selected and the cursor goes to its second) and the other clips dim. You can also show only clips with warnings from Problems or only those with a color label.

Moving a text or sticker in the viewer: with an Animated text, Sticker or Animate layer clip chosen (for the last one the box is where the layer ends up: moving it changes the offset, the corner the size and the circle the rotation) and the cinematic stopped, a transform box appears over the viewer: drag the body to move it (it snaps to the center; Shift turns that off), the bottom-right corner resizes it and the circle on top rotates it (snapping at 45°). The same numbers are in the inspector; the viewer updates when you let go.

Anchoring a character or object to a layer or another character (Characters track): the Anchor to a layer, Anchor to a character and Release an anchor blocks. What is anchored to a layer travels with it: if the boat layer moves away, shrinks or turns with Animate layer, the character riding it inherits that displacement, scale and rotation around the same pivot, with no need to draw it inside the boat's PNG. What is anchored to a character goes with it and follows its size. An anchored character can keep walking (its movement adds to the anchor); releasing it leaves it where it is. Anchors release by themselves when the scene changes.

Scenes on the timeline: if the cinematic crosses to another scene (Change scene clip), a stretch bar above the tracks shows the scene of each moment (click a stretch: the cursor goes to its start). The viewer mounts the scene of the cursor second and the inspector offers the characters, points and exits of the scene where the chosen clip starts, not only those of the test scene.

Real walking time: on a Walk to or Run to clip, the Fit length to the route button (inspector or the clip menu) measures the character's route to the destination with the viewer's engine and gives the clip the time it really takes to arrive. If you then stretch or shrink it by hand, a dashed white line marks where the movement really ends. It needs the viewer visible and the character and destination to be in the test scene.

Walk to a new point: on a Walk to or Run to clip, + New point creates a waypoint in the scene, on the other side from where the character is and inside the floor, and the clip walks to it (in a new project the only entrance is where the character already is). Move it later in Scenes if you want another spot. And if a Camera follows character would not move the camera because the scene fits, its warning has Add a zoom first, which puts a ×1.5 Zoom at that second.

If a walk clip has no destination, or the destination is exactly where the character already is (the start entrance in a new project), Problems and the clip inspector warn about it ("it will not walk") and the warning has + New point highlighted. A block dropped by dragging onto a clip of its track goes right after it, as with a click, and a new Camera follows character lasts as long as that character's walk.

Combos: pick several clips (from one or several tracks), right-click → Save as combo in the library…. They show up in the library's Combos and effects tab for every cinematic: a click drops them at the cursor and dragging drops them at the second you want, each clip on the first free track of its type (one is created if missing) and all of them grouped. Rename and delete them from the library itself.

Audio: sound and music clips have a fade in and sounds also a fade out: drag the white handles at the clip's top corners (the dark triangle shows the fade) or type the seconds in the inspector. On an audio track, the Lower the music while characters speak option (Track tab) drops the music to 35 % in about 0.2 s while a character speaks in the cinematic and brings it back when the line ends.

Which track is in front: in the game, animated texts, images and characters' spoken lines are ordered by their track: the topmost track is in front, as in a video editor. If a line shows behind an image, move its track up or the image's track down (drag the header).

Long lists (scenes): dropdowns with more than twelve options have a search box and remember the last five picked (“Recent”). Scenes are grouped by chapter and, with very long lists, only the chapter of the current scene stays open (click a chapter to open or fold it).

Tracks, viewer and tools ​

  • Tracks: each track has solo (🎧: only soloed tracks run, to play one on its own), lock (its clips cannot be moved or deleted by mistake) and mute. Right-clicking its name moves it up or down, duplicates it or removes it, and the toolbar button changes the track height (S, M, L). Sound clips draw their waveform and image clips a thumbnail.

  • Edit the camera in the viewer: turn on the camera button; dragging moves the camera and the wheel zooms. With a Camera path picked, Set keyframe saves what you see as a keyframe at the cursor's second (in the inspector, Key here does the same and turns this mode on to frame it), and Record camera plays the cinematic and records whatever you do with the camera as a path. Each keyframe's easing curve is drawn next to its selector.

  • Viewer guides and full screen (safe areas, thirds, center).

  • Length from the text: on say or narrator clips, Fit the length to the text draws the clip as long as the line takes to read.

  • Problems: the triangle button checks that what the clips use still exists (blocks, assets, characters, scenes, other cinematics), clips that start after the end, incomplete paths and Camera follows character in a scene that fits the screen (the camera would not move: zoom in first); click a warning to jump to the clip. The chosen clip's warning also shows at the top of its inspector.

  • History and versions: the clock button lists the latest changes and undoes back to the one you pick; the archive button saves versions of the cinematic to go back or compare.

  • Templates: the + in the top bar creates a cinematic already filled with tracks and clips:

    • Scene entrance: fades in from black, the protagonist comes in through the first entrance and walks to a spot with the camera following, and says a line on arrival. The walk is measured with the viewer when it is created, so the line lands right on arrival.
    • Shot / reverse shot: two characters take turns to talk and the zoomed-in camera moves from one to the other before each line.
    • End credits: the screen goes black and the credits roll (title, roles and names, to change); then the picture comes back. The black is a Screen effect, not a Fade, because the fade would hide the credits.
    • Fade in and out and Camera pan.

    New lines go in the project's text language, and creating it is undone with one Ctrl+Z. Copied clips can be pasted into another cinematic.

  • Export video: the video-camera button opens a dialog where you choose the format and codec (WebM VP9, VP8 or AV1, or MP4 H.264, depending on what your browser can record), the quality (draft, normal, high or custom), the size (original, 1080p, 720p, 540p, 480p), the frames per second (24, 30 or 60), the bitrate, whether it has sound, what part to record (the whole cinematic, from the cursor, the loop or a range of your choice) and the file name; below you see the size and approximate weight. It remembers your choices. There are two ways to export:

    • Render in the background (recommended, WebM): nothing plays. The editor draws the cinematic frame by frame in a hidden engine, mixes the sound separately and encodes it with your browser's encoder (WebCodecs; Chrome, Edge and Brave). It always comes out smooth, regardless of how fast the computer is or whether the tab is in view, even if it takes longer (or less) than the cinematic; you get a window with the progress, a preview and the time left, and you can cancel.
    • Record in real time: records the viewer while the cinematic plays (the only option for MP4 and for browsers without WebCodecs). It does two things at once, so if your computer is struggling it will come out choppy: lower the size or the frames per second (MP4 H.264 is usually lighter because the video card encodes it). When it ends it downloads the file, with duration and an index so you can seek forward and back. It does not ask to share your screen: the editor records the game canvas by itself, a snapshot of the texts, images and effects drawn on top (about 12 times a second, so fast text animations come out a little less smooth than in the viewer) and the sound the engine mixes. Limits: fonts loaded from project files come out in the system font and, with the viewer muted, the video is silent. When it finishes, the editor rewrites the file so it carries the duration and a position index: that way you can seek forward and back in any player (Windows, VLC…). If your browser does not support it, the old method is used (sharing the tab) or, as a last resort, only the game image.

Using it in the game ​

In logic, the Play the cinematic block (Flow category) starts it: “and wait until it ends” stops the script until the end; “without waiting” lets it continue. While it plays, the player does not control the character.

From code: await game.cinematic("Intro") (see Scripting).

Text, images and comic effects ​

Besides the camera and the characters, the plugin brings the blocks that give an intro its rhythm: titles that pop, objects that jump onto the screen, flashes of light, layers that move… They are normal logic blocks (Multimedia and Scene actions categories), so you can also use them in your scripts while the plugin is on; in a cinematic they go on the Screen, Characters and Logic tracks.

BlockWhat it does
Animated textA title on the screen with a style (Title, Comic caption, Card, Shout, Whisper, Lower third —big name with a role underneath and a color bar— and Stamp), how it comes in (bounce, fade, slam, letters that drop or rise in a wave, typewriter, slide, comes into focus, creeps closer, is revealed left to right), how it leaves, position as a % of the screen, tilt, size (% of the style's own), color and seconds. In the Lower third the first line is the name and the following ones are the role
Rolling creditsA credits list that crosses the screen from bottom to top. One line per person in the form Role | Name; a line starting with # is a section heading and a blank line leaves a gap. Two styles (Classic with serif type and Comic with thick letters), size, color and the seconds they take to cross
Animated imageAn image from Assets that jumps onto the screen (a sticker): position, size (% of the screen height), tilt, entrance (bounce, drop, rise, from a side, spin…), motion while it is there (float, wobble, pulse, shake, spin) and exit
Screen effectFlash, tint, vignette, sepia, black and white, freeze the frame, comic rays, speed lines, blur, cinema bars (top and bottom) and film grain, with color and intensity. The ones that stay on are removed with clear the effects (which can also fade them out gradually)
Zoom punchThe camera jumps in and comes back in a few tenths of a second: an underline for a gag, a scare or a punch. It goes on the Camera track
Animate layerMoves, scales, rotates or fades a scene layer over a few seconds, with a curve and, if you want, back and forth forever (waves that rise and fall, a pulsing light). The pivot can be the center or an edge. Good for a curtain that rises, a tram that crosses, a ship that sails away…
Run toLike Walk to but at the speed you say (×2 = twice as fast); if the character has a running animation it uses it
Sound with settings and Music with settingsA sound with its volume and pitch (200 % = one octave higher: one sound gives several); music with volume, loop and a fade-in

More things that work anywhere:

  • New scene changes: push to the left and push to the right (the old scene is pushed out by the new one, like in comics) and flash.
  • Curves with character: Bounces on arrival, Elastic, Overshoots and returns and Winds up backwards are available on camera paths, in skeleton animations (VERB Rig) and in Animate layer. Also, Move the camera, Shift the camera and Zoom now have their own curve.
  • Switching protagonist with a fade of your own: Switch control to… has the seconds of fade to black (0 = hard cut), handy to jump from one character to another inside a cinematic without a blink.
  • Your earlier sentences still work: the text readings of blocks that gained options (animated text, move the camera, zoom, switch protagonist) are still understood; the new options take their default value.
  • Marks inside the text: a line can carry [anim:name] so the character makes a gesture right as it starts and [duration:2.4] to fix how long it stays on screen, so dialogue and action match to a tenth of a second.

Something worth knowing

Texts, images and screen effects are a layer above the game: they show in the viewer and in the game, and they come out in the video (see Export video), just like scene texts and the text effects of lines (decrypt looks the same in every export).

An example to open ​

In Tutorials › Cinematics there are three:

  • Your first cinematic: a camera path with keyframes, a character who walks and talks at the same time and a final fade, launched at the start with Play the cinematic.
  • Intro: “The Great Zambombo”: a comic, fast-moving intro in the style of humorous graphic adventures: a magician presents his final trick, out of the hat come a scarf, a rubber chicken, a sock and a telephone, until the rabbit peeks out… on strike. A chase through the city, a ship that sails away and a title with a fanfare. Four painted scenes, two skeleton characters (VERB Rig), synthesized music and sounds and a single cinematic with tracks for the camera, layers, each character, text and effects, music and sounds. It is the best way to see the blocks from Text, images and comic effects at work.
  • Intro: “The Last Light”: a game intro from start to finish with nothing to play, like those of classic adventures. Four illustrated scenes (sea, lighthouse, lantern room and title) made only of image layers with parallax, clouds and fog that drift on their own, rain, lightning, a camera climbing the lighthouse with keyframes, music and sounds, and the lamp lighting up animated by swapping the image of a layer. It is a single multi-track cinematic: open it in Cinematics and try “From the cursor” to see any stretch.

How “The Great Zambombo” is built

  • Gestures and dialogue together: each line carries [anim:tada] or [anim:shock] so the character makes the gesture right as it starts and [duration:2.6] so it lasts as long as the gesture; dialogue and action match without calculating times.
  • Characters changing scene: those who are not the player are taken with Move… to the scene… before the change, and the player travels with Go to the scene… (with push to the left when somebody runs off to the right). To change the player — here, the same magician now without his hat — use Switch control to….
  • Moving layers: the curtain that rises, the tram that crosses, the gangplank that is hoisted (a small layer rotated by its edge) and the ship that sails away (shrunk toward the horizon) are Animate layer; waves and clouds drift on their own with auto scroll.
  • Behind and in front: the table, the hat split into two halves, the lamp and the fish stall are playfield layers with their baseline, so characters pass in front or behind depending on where they stand.
  • A character who “stays” in an image: when the rabbit can no longer be a character (he is on board the ship that sails away), the image of the ship layer is swapped for another one that already has him drawn, waving in two frames.
  • Stickers and punchy effects: the objects that come out of the hat, the flying fish and the title are Animated image; the shouts are Animated text; and a flash, some comic rays or a camera shake underline the hits.

How an intro like this is built

  • Scenes without characters: a scene can be just image layers. Distant layers with parallax below 1 move less than the camera and give depth.
  • Changing scene on the timeline: the Go to the scene… block works on a Logic track. The cinematic waits for the new scene to be loaded before launching what comes next (so a fade to black before, the change with “direct cut” and a fade from black after work best).
  • Animating with images: Change the image of the layer… with several frames, one every few tenths of a second, animates a light beam or a flame.
  • Lightning: a full-screen additive layer that is shown and hidden for an instant.

With an AI agent ​

The AI agent plugin includes get_cinematics_guide, read_cinematics and write_cinematics: each clip is written as the block's sentence (the same as in Human reading), with its start second. check_cinematics reviews a cinematic (blocks, assets, characters or scenes that no longer exist, clips past the end, Camera follows character in a scene that fits the screen); write_cinematics also creates a cinematic from a template (template: entrance, shotReverse, credits, fades or pan), and the agent also reads and writes markers, track solo and lock, and clip groups.