Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

What does "Add source" means and how can I do it

A topic by Secruit Games created May 26, 2022 Views: 361 Replies: 8
Viewing posts 1 to 6
Submitted

Hey Im kinda confuse om how to upload my game properly and how to make it open source. plz someone help

Submitted

I too was wondering about that. For me, Using Unity, do I upload my entire project folder, which is like half a gig? Or, can I just upload my Assets folder, which is much less?

Submitted(+1)

For Unity you do not need to include the Library, Temp, Obj, Build, Builds, Logs, or UserSettings directories with your source as Unity will regenerate these on its own.

To share your source make a copy of the projects directory and after deleting what is not necessary put the directory into a compressed archive. Then just upload it to some cloud sharing platform like Google Drive or Dropbox and make a share link. You could also use a version control system like git if you know how to use one.

Submitted (2 edits) (+1)

If I just upload my games assets will this disqualify my game. Ones building a game u just have an icon to click and the assets. Are all those things you show me necessary?

Also can I make just an installer will that count?


Thanks

Submitted

I think what you are describing is Unity's output when you build a game. That should look something like the attached photo. These files are just what's necessary to run the game on a desktop, and they are not the source code, so posting only these probably would disqualify you. Unity encrypts your assets when you build a game, so the judges can't view your work if you post this alone.

The source code is what Unity looks at BEFORE you build the game. Source code is the un-encrypted project files. The source code is wherever your project folder is, the same folder you open in the Unity Hub when you launch the Unity Editor. If you don't know where that is, do this:

  • Open the Unity Hub,
  • Right click on your project in the list,
  • Select Open In Explorer,
  • This will open a folder in Windows Explorer, (or whatever apple/penguin uses to browse files),
  • Go in that highlighted folder,
  • And there you go, that your source code.

To upload your source code for the judges, do this:

  • Create a new folder somewhere
  • Copy the following folders in you source code folder to this new folder:
    • "Assets", "Packages", and "ProjectSettings"
  • Zip this new folder, and upload it somewhere, like GoogleDrive or something. You can even upload it to Itch.io, if it'll fit.
  • Alternatively, you could zip your entire source code with all it's folders, but zipping just these few is sufficient and saves on space. Unity projects get kinda big.

Be careful about uploading copyrighted assets in your source code upload though. If you used any free assets made by other people under a creative commons license or something, just delete them from your source code copy before uploading (Just don't delete them from your original source code lol). Then leave a text file in the place of the deleted assets and maybe a note of what was deleted and where to downloads it. This seems to be fine by the judges, as far as I can tell. I've not seen explicit instructions from a judge yet on sourcing free assets in this way, but no one has complained so far.

Submitted(+1)

Man thanks so much without you I would have been disqualified.... I hope I can upload it properly and not mess everything up. Thanks again.

Submitted(+1)

Using version control (as casabright mentioned) is highly recommended, even if providing sources were not part of the rules.

Knowing how to use tools like git is a very valuable skill for any software development project!

Submitted

I used UE, and they offer a zipping of the project. I just did this. Hopefully it was the right move for them. It should just give them full access to my project files.

Submitted

In the game dashboard, I just zipped up the source code and uploaded it there.  After uploading it, I chose "Source Code" in the drop down. I'm hoping that's good enough.