All right stop
Collaborate and listen
Roblox is back with our brand new invention
A new feature done just rightly
Makes it easier to collaborate daily and nightly
Hey developers,
The holidays are rapidly approaching and weāre dropping some crazy gifts for our developers. Weāre very excited to announce a new feature weāve been working on for the better part of this year. Itās called Collaborative Editing and itās going to revolutionize how you work with your teammates. It takes Team Create and adds on a new way for teams of developers to script together without interrupting each other, inadvertently breaking the game, or losing precious progress. Sounds epic, right? Well, get ready to have your mind blown.
Hereās how it all works:
SCRIPTS UNLOCKED
In the past, scripts would be locked for editing in Team Create. With Collaborative Editing, you can edit any script at any time - even if it is being edited by someone else on your team.
CHANGE IT, TEST IT, PUSH IT, PROFIT
Editing scripts saves them as drafts immediately and these drafts are only visible to you. Edit your script, test it with Play Solo to see if your changes work as intended (Play Solo uses the edited source in your drafts, Team Test uses the server version of the script), and then commit it to the server to update it for everyone in the Team Create session.
Guess what else that means: Scripts can be edited across multiple Studio sessions - start editing a script (draft created and continuously auto-saved), then shut down Studio for some downtime. Go back to Studio on the same computer and observe your drafts waiting for you.
OMNISCIENCE
In real-time, you will know who is editing a script and when they commit their changes to the server. Youāll also immediately know if someone deletes a script on the server that you happen to be editing - donāt worry your draft of that script is always retained so you can restore the script back into the Workspace.
COMPARE AND CONTRAST
At any time, you can compare the differences between your script and the latest version on the server to easily see what the differences are!
MERGE, EVERYBODY MERGE
This feature also comes with conflict resolution and merge tools:
- Real-time awareness of new commits and deleted scripts
- Identification of all conflicts between your drafts and the serverās version
- Conflict resolution by keeping your draft changes or the serverās version, or manual resolution by editing the conflicting code block
- The merged scripts are saved to your drafts, where you can test them Play Solo and commit the changes whenever you are ready
THE TRASH PILE
Youāre easily able to discard your drafts without impacting anyone elseās work or pushing it to the server! Now you can vent your frustration with their code in blocks of comments and then toss away the draft as if it never happened. Like when I write an aside in a draft about @nsgriff trying to take over my announcement, but mine turns out waaaaay better than his. NOTE: DO NOT PUBLISH!!!
THE FUTURE IS BRIGHT (xD)
This is only the beginning. Going forward, weāre bringing you script history, batch commit, and rollback features. Stay tuned for more info about those!
Was that a lot to take in? Maybe a little too good to be true? Well, hereās a video demonstration.
Excited to jump in and turn this on immediately? Good! Hereās how:
- Make sure your game has been published
- Make sure your game has Team Create turned on
- Navigate to Game Settings
- Go to the Options tab
- Turn āEnable Collaborative Editingā on!
- Make sure you close out the Team Create place (and that everyone else has left)
- After that, reopen the place and draft, merge, and resolve conflict to your heartās content! The UI will appear as soon as youāve made your first edit to any script
Thatās all there is to it!
Huge thanks to all of the people who worked tirelessly to bring this feature to the platform. This wouldnāt have been possible without the efforts of @Subcritical_alt, @IcyTides, @vespa_rbx, @CycloneUprising, @chilliflakes19, @qmasterman, @tamtamchu, and @twberg. Oh, and @nsgriff for trying his hand at writing this announcement. Thatās worth a gold star!
Let us know what you think of Collaborative Editing in this thread, weāre excited to hear your feedback!
Thanks,
Developer Relations