Skip to main content

cTurtle Studio reference

cTurtle Studio is the editor for cTurtle games. Open your project in it to edit scripts and data files, lay out scenes, tune models, materials, animations and effects with live previews, run the game with Play, debug your BT scripts, and build release packages.

Your project can add its own tools and editors to Studio with Studio plugins (Experimental).

Starting Studio​

HowResult
Run CTurtleStudioOpens the Welcome page, where you can open or reopen a project.
Run CTurtleStudio <path to .ctproject or game.json>Opens that project. Opening a project never builds or runs it.
Double-click a .ctproject fileOpens it in Studio, after you register the file type (below).
Drop a game.json or .ctproject on the Studio windowOpens that project.

If Studio closed with unsaved work, it first offers to restore it; see Recovery.

To make .ctproject files open in Studio, run the script in the package's integration/ folder once: register-windows.ps1 on Windows or register-linux on Linux.

Pages​

PageRead it to
WorkspaceFind your way around the window: panels, menus, showing, moving and resizing views, small windows.
Commands and shortcutsLook up keyboard shortcuts, use the command palette, change shortcuts.
DocumentsUnderstand saving, Undo, files changed outside Studio, autosave and crash recovery.
Play and debugRun your game inside Studio, set breakpoints, step through BT code.
Building from StudioSet up build targets and build or deploy your game.
Code intelligence and language serversUse completion, go to definition and find usages; add servers for other languages.
Studio pluginsWrite your own Studio tools and editors for your game (Experimental).
Plugin filesLook up the fields of studio.json and plugin descriptors (Experimental).
Studio settings filesFind, back up or reset your settings, shortcuts, layout and recovery data.

Views​

ViewUse it toPage
Welcome / ProjectOpen a project; see a project overviewExplorer
ExplorerBrowse and open project filesExplorer
Game ScriptsSee and open the scripts your game runsGame Scripts
Source EditorEdit any text fileSource Editor
Code IntelligenceSee completions, definitions and usagesCode intelligence
OutputRead messages, build output and problemsOutput
Asset BrowserBrowse the asset registryAsset Browser
InspectorEdit the properties of whatever is selectedInspector
Scene Hierarchy, Scene View, Live SceneEdit and run your sceneScene editing
Models, Model EditorEdit procedural modelsModels
Image ViewerView PNGs and set their mipmapsImage Viewer
Material EditorEdit materials and paint texture mapsMaterials
Animation EditorEdit sprite-sheet animationsAnimation Editor
Model Animation, TimelineAnimate models, rigs and scene entitiesModel animation and Timeline
Effect EditorEdit particle and sprite effectsEffect Editor
Lighting Diagnostics, Render PipelineCheck lights, shadows and render graphsLighting and render pipeline
Debug ToolsControl the debuggerPlay and debug
Build SettingsSet up build targets and the C toolchainBuilding from Studio
SettingsSet autosave; open Keyboard ShortcutsDocuments

Files Studio edits​

FileFormat
Project file (game.json, .ctproject), including build targetsgame.json, .ctproject
Asset registry, scenes, models, effects, motion clips and rigsAsset registry, Scenes, Models, Effects, Motion and rig
studio.json and plugin descriptorsPlugin files
Your settings, shortcuts, layout, recent projects and recovery dataStudio settings files