Live collaborative level editing possible?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By till
:warning: Old Version Published before Godot 3 was released.

Hello,
Is it possible to set up Godot somehow that more than one person at once can work on a scene? Like person A is only working with the tileset-grid system and person B inserts other objects to the scene (while live mode is running)?

I just figured that the editor itself doesn’t reload the current scene file, if its modified by another user (same files were shared via MegaSync, the modified file was shared immediately). I guess that has something to do with a temp file the editor users (so it doesn’t recognize that “new” changed file). Maybe its possible to turn off the temp-file use?

Thanks in Advance.

:bust_in_silhouette: Reply From: Zylann

Currently Godot doesn’t support live editing like Google Docs would. It’s very hard to do right, something even more complicated than making a multiplayer game in the first place.

If what you are talking about is running Godot on a project where files are modified externally by others, there is a very, very high chance that you will step on each other’s toes or overwrite changes.

The best way to work collaboratively is currently using version control such as Git, SVN or Mercurial. It’s not “live” editing, but it has been working great already for a very long time.

Thanks for the Answer.

I found out it almost works - When you share a changed scene file between user A and user B while the game is running at user B’s acount, the “live” game gets updated correctly - but the the file in the editor gets not reloaded. According to the follwing link, this problem should have been fixed already, but it still exists :frowning:
Editor doesn't reload changed resources. · Issue #4769 · godotengine/godot · GitHub

Maybe its useful to write a script for this that automatically reloads the scene file in the editor, every few minutes - do you think that solution would work?

Of course you could still step on each other’s toes or overwrite changes. But I am aiming more for a fun “live” thingy than for serious development.

till | 2017-10-15 21:29

If you can reproduce the problem about reloading files, you could post a new issue about it (note that Godot should probably not reload stuff if it’s not focused, it would be a nightmare when syncing large projects)

Zylann | 2017-10-15 22:21