Giter Club home page Giter Club logo

gungame's Introduction

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.

gungame's People

Contributors

dresswithpockets avatar niirana avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.