Creating a new Project - GameDevWeek/CodeBase GitHub Wiki
This guide if for Managers that prepare a new GameDevWeek. You might also be interested in this, if you want to create a game based on the GDW code. If you are just a participant, this is not for you.
- Create a new EMPTY repository in the GameDevWeek organization named like this:
GDW-<year>-<SS or WS>
.
- Year is the starting year of the semester.
- WS = WinterSemester, SS = SummerSemester.
- Add an additional suffix if you have more projects.
- Example:
GDW-2015-SS
- DO NOT initialize this with any content, readme, license, etc.
- Check out a clean copy of the CodeBase master branch.
- Change the URL of your checked out code to the new git repository (see below).
- Push the master branch to Github.
- You should now see the code in your repository.
- Open the Menu-Entry repository->Repository Settings
- Edit the entry "origin"
- Change the URL to the new Git Repository.
- Click OK on both Windows to save it.
- Refactor the package
de.hochschuletrier.gdw.ss14
tode.hochschuletrier.gdw.ss14<ss or ws><year>
or similar. - Open the pom.xml and change the entry for
<mainClass>
to match the new package path - Build and run it to see if everything still works.
- Commit & Push your changes
- Initialize Gitflow and create a develop branch.
- Commit & Push your changes
- Add participants as contributors to the project
- Create a folder for the new game.. for example gdx-the-longest-yard
- Copy the contents of GDX-Test to this folder
- Open the copied pom.xml in this folder.
- change the
<artifactId>
and the<name>
tag accordingly. - Strip any code and resources from this project that is not needed anymore.
- Build and run it to see if everything still works.
- Commit & Push your changes