Difference between revisions of "Team Files"

From The Official Visionaire Studio: Adventure Game Engine Wiki
m (Text replacement - "{{toc}}" to "")
m (EK moved page Team files to Team Files)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
If multiple users are working on the same .ved file you have to use team files. Load the project (.ved file) in the editor and export a team file. In the game section under the tab 'Game info' you find the project type. Possible values are 'Default', 'Master project' and 'Team file'. For a new project the project type is 'Default'. When you export a team file the project gets the project type 'Master project'. The exported ved file gets the project type 'Team file'. On the first export the Revision (also in the 'Game info' tab) is set to 1. The Revision is increased after each export, the exported team file always gets the same Revision. When you import a team file it should have the same Revision as the master project.
+
[[File:Master file.png|thumb|200px|Information on the project type after exporting a team file]]
 +
If you develop your game as a team and multiple users are contributing to the Visionaire project file, you may use the "team files" feature. It enables you to simultaneously work on the same .ved file and merge your edits.
  
 
The workflow is the following:
 
The workflow is the following:
* export team file
+
 
* the team file can be distributed to one or multiple team members
+
# Load the project (.ved file) in the editor and choose "Export team file" from the menu. The file you exported from will become the "Master project", the exported .ved file will become a "Team file". Find the "project type" of each file in the "Game properties > Game info" section (see image; you may have to close and reopen the master file after exporting to get the info updated). Master and team files share a "revision number", which gets increased with every export.
* you can work on the master project and on the team file(s) in parallel
+
# Keep the master file and distribute the team file to one or multiple team members.
* keep in mind that primitive types cannot be merged (e.g. scripts cannot be merged because a script is internally just a string), it is recommended that you work on separate objects (agree in advance who is working on which character/scene etc.) to avoid conflicts when merging the files
+
# Continue working on the master and team file(s) in parallel. It is recommended that you work on separate objects, so agree in advance who is working on which character/scene etc. to avoid conflicts when merging the files. Keep in mind that primitive types cannot be merged (e. g. scripts cannot be merged because a script is internally just a string).
* after a certain time you should collect all modified team files and merge them into the master project
+
# After a certain time you should collect all modified team files.
* to merge a team file you have to load the master project and import the team file
+
# Open the master project and choose "Import team file" from the menu. Select a team file to merge it with the master file – you get an overview of the modified objects. If there are multiple team files, import them one after another. Make sure master and team file(s) all share the same revision number.
* after all team files are imported you can export a new team file and all files get a new revision -> start workflow at beginning
+
# After all team files are imported you may export a new team file and start work-sharing again. All files get a new revision number.

Latest revision as of 13:31, 9 January 2023

Information on the project type after exporting a team file

If you develop your game as a team and multiple users are contributing to the Visionaire project file, you may use the "team files" feature. It enables you to simultaneously work on the same .ved file and merge your edits.

The workflow is the following:

  1. Load the project (.ved file) in the editor and choose "Export team file" from the menu. The file you exported from will become the "Master project", the exported .ved file will become a "Team file". Find the "project type" of each file in the "Game properties > Game info" section (see image; you may have to close and reopen the master file after exporting to get the info updated). Master and team files share a "revision number", which gets increased with every export.
  2. Keep the master file and distribute the team file to one or multiple team members.
  3. Continue working on the master and team file(s) in parallel. It is recommended that you work on separate objects, so agree in advance who is working on which character/scene etc. to avoid conflicts when merging the files. Keep in mind that primitive types cannot be merged (e. g. scripts cannot be merged because a script is internally just a string).
  4. After a certain time you should collect all modified team files.
  5. Open the master project and choose "Import team file" from the menu. Select a team file to merge it with the master file – you get an overview of the modified objects. If there are multiple team files, import them one after another. Make sure master and team file(s) all share the same revision number.
  6. After all team files are imported you may export a new team file and start work-sharing again. All files get a new revision number.