Export to Godot or Unity
Use your scene as an in-game cutscene.
Export → Game engine makes a zip with the art, the sounds and a timeline of every frame, plus a ready-to-use player. Game-engine export is part of Pro and Team.
- Godot 4: open the folder as a project (or copy it into yours) and run main.tscn, or add PixelStoryCutscene.gd to a node and point it at the cutscene folder.
- Unity 2021.3 or newer: copy the folder to Assets/Resources/PixelStory/<name>, add the PixelStoryCutscene component to an empty GameObject and set its Resource Folder to PixelStory/<name>. It plays on Start.
- JSON: the engine-neutral timeline (cutscene.json) for your own engine; the format is documented in the package's README.
Characters, camera, dialogue with text effects, portraits, speech bubbles, music, depth sorting and parallax all come across. Godot also gets haze; video backgrounds become their first frame.
Player input
- Each line waits at its end until the player presses Space, Enter, the gamepad's A button or clicks; pressing while a line types shows it all at once. Turn off Wait For Input on the player to let it run by itself.
- Choices show a menu (arrow keys or a gamepad to move, Enter or A to pick) and jump to the chosen scene. Godot emits choice_made and Unity raises OnChoice, so your game can react.
- Call advance() / choose(index) in Godot, or Advance() / Choose(index) in Unity, to drive it from your own input code.
Didn't find what you needed? Tell us