Shared Projects - Survey

Game development with Board Game Arena Studio
User avatar
quietmint
Posts: 262
Joined: 31 July 2017, 00:28

Re: Shared Projects - Survey

Post by quietmint »

The solution is to decouple the project name from the files.
  • Change the file structure so the filenames are generic, like view.php instead of myproject.view.php
  • Change the file contents so the class names are generic, like game_view_implementation instead of view_myproject_myproject
If multiple devs are working on the same game, they each need a studio project of their own so they can deploy/test the game independently. But today, the project name is embedded in the filenames and the script contents so this cannot happen. It needs to be possible to take the same code and drop it into any project folder without making changes. Then, the project can live in Github as others have suggested. Each dev checks out the code from Github, make local modifications that sync to their own studio projects, and push to Github once their changes are suitable for sharing. All the devs sync their local with Github version to incorporate changes from others made on the team.

This change also makes it easier to learn from existing projects. Instead of just looking at the code, you could deploy the game on your own studio project (e.g., hanabi code could be deployed to a new project quietminthanabi), allowing devs to make and test their own modifications to existing games.
Post Reply

Return to “Developers”