Skip to main content

Backup & move projects

Projects are saved inside the app (or the browser), on your device. A backup is a single .tge file with everything — scenes, events, scripts and assets.

Where projects are kept​

  • Android app: besides the app's own storage, the app keeps a copy of every project in the phone's Documents/TinyGameEngine folder, as a .tge file. It is written a couple of minutes after you change something, and right away when you close the project or switch to another app. Uninstalling the app or clearing its data deletes the app's own storage, but not this folder: reinstall, tap Import .tge and pick the file from that folder. Android 10 and older ask once for permission to use the folder.
  • Web editor: projects are in the browser's storage for this site. Clearing the browser's data for the site deletes them. The editor asks the browser to keep them for good; if the browser won't promise that, the home screen shows Browser storage can be cleared. Installing the editor as an app (Install app) usually makes the browser keep them, and Safari clears a site not used for 7 days unless it is installed. Either way, back up the projects you care about.
  • Desktop Chrome and Edge: save to a file. File → Save (Ctrl+S) saves the project as a .tge file on your computer too. The first time, the Save dialog asks where; after that Ctrl+S writes the same file without asking. The browser forgets that permission when the site is closed, so opening the project again asks View and edit files…: choose Allow on every visit and it won't ask again, or Allow this time for this visit. With Don't allow, saving keeps the project in browser storage only and the file stays as it was. File → Save as… (Ctrl+Shift+S) picks another file. The save button (the disk at the top right) is bright while there are changes the file doesn't have yet, and dull once they are saved; tapping it saves, and pointing at it shows the file's name. The project keeps saving itself to browser storage as you work; only Save writes the file. Cancel the dialog and the project stays in browser storage only. A file save counts as a backup.
  • Opening a file (desktop Chrome and Edge): the Import .tge button on the home screen opens the file as a project linked to it, so Ctrl+S saves back into it. Opening a file that is already linked to a project opens that project. If the file was saved somewhere else since (another computer) and the project also has changes here, you choose which one to open: the file replaces the browser's copy, or the browser's copy stays.
  • Firefox and Safari can't write files on your computer: there, Save keeps the project in browser storage, and Backup (.tge) downloads a copy.
  • The web editor and the Android app don't share projects: move one with a backup or GitHub sync.

A project changed more than a week ago that has not been backed up since gets an orange No backup (or Backup 9 days ago) tag on the home screen. Tap the tag to back it up. A .tge backup, the Android app's copy and a push to GitHub all count as a backup.

Make a backup​

Either:

  • In the editor: ☰ → Backup project (.tge), or
  • On the home screen: ⋮ on the project → Backup (.tge).
From the editor
From the editor
From the home screen
From the home screen

The share sheet opens: save it to Files or Google Drive, or send it to yourself.

Restore or move to another phone​

On the home screen tap ⬇ Import .tge and choose the file. It is added as a new project — it never replaces an existing one, so importing twice gives you two copies.

Share a project with a friend​

Send them the .tge file. They import it and can open, play and change your project — a great way to learn from each other or work on a game together.

Project as a folder (for git and syncing)​

⋮ → Project as folder (.zip) saves the same project as a zip of many small text files instead of one .tge. Unzip it and you can read it, compare two versions, or put it in a git repository.

FileHolds
project.jsonname, settings, global variables, start scene, and the order of everything else
scenes/, sheets/, prefabs/, timelines/, tables/, animators/, materials/one file for each
scripts/each script as a .json with its settings and a .ts file with its code
shaders/each shader as a .json plus .vert.glsl and .frag.glsl
localization.json, services.jsonthe texts and the achievements, boards and products
assets/index.json and assets/files/the list of images, sounds and models, and the files themselves

The same project always makes the same files, so a change to one scene changes one file. Import the zip with Import .tge like any backup: it comes back as a new project.

Good habits
  • Back up before big changes, or use Duplicate on the home screen to keep a copy.
  • Keep backups outside the phone (Drive, email).
  • Also back up your Android signing key once.

To take only some parts of a project (a prefab, a scene, scripts) into another project, export a package instead.