Skip to content

dresseswithpockets/gungame

Repository files navigation

GunGame

Cloning This Repository

If you are new to Git (the command line tool), follow these instructions to get started:

  1. Create a GitHub account
  2. Follow the official GitHub instructions to set up Git locally
  3. Follow the official instructions to clone this repository

Getting Started

You must follow these instructions before attempting to run or build the project, and before attempting to create or edit maps in Trenchbroom.

If you're on Linux, these instructions should work about the same, you'll just need to download/install the linux releases of each of the following dependencies.

If you're on MacOS... good luck (:

First Time Setup

  1. Download and Install the .NET 8 SDK
  2. Download Godot 4.2.1 (Mono/.NET Build) for Windows, and extract into vendor_godot/
  3. Download Trenchbroom Nightly for Windows, and extract into vendor_trenchbroom/
  4. Open the project in Godot through one of these means:
    • run the Godot executable in vendor_godot, then select the source/project.godot project file.
    • run open_project.bat in the root of this repository
  5. Build dependencies by pressing Alt-B, or by clicking "Build" in the top right of the editor
  6. Close & reopen the project in Godot

After setting up, you should have a folder structure that looks roughly like this: Desired folder structure

Trenchbroom Game Configuration

Before using Trenchbroom, you must configure it with our game's info, entities, asset types, and texture location.

  1. Open the project in Godot
  2. Under the FileSystem panel, double click on the qodot_trenchbroom_config_folder.tres asset
    • the Inspector panel will now be inspecting this asset
  3. In the Inspector panel, ensure that the "Trenchbroom Games Folder" property is set to ../vendor_trenchbroom/games
  4. Click the "Export File" check box in the Inspector Panel
    • it will automatically uncheck immediately after you click it
    • this button exports all trenchbroom configurations for this project to ../vendor_trenchbroom/games/GunGame/
  5. Open trenchbroom by running vendor_trenchbroom/TrenchBroom.exe
  6. Open preferences in trenchbroom
    • from the "Welcome to TrenchBroom" dialogue, you can get there by clicking "New map..." -> "Open preferences...".
  7. Update the GunGame Game Path to point to the absolute path to gungame/source/trenchbroom.
    • e.g. C:\Users\DressesDigital\source\repos\gungame\source\trenchbroom
  8. Click "OK"

You should be able to select "GunGame" when creating a new map now. You can also edit existing maps in the project.

Creating a New Map

WIP

License

The source assets authored by Dresses Digital members is licensed under the Apache License 2.0:

   Copyright 2023 Dresses Digital

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Some assets distributed may be licensed differently. See licenses for licenses of other libraries and tools used.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages