game-template

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

README

Oak Game Template

This repo is meant to provide a basic starting point for an Oak game. You should feel more than free to customize everything.

In addition to providing a scaffolding there is a set of mage (the rake like go build tool) scripts. These scripts are meant to help get you up to speed even faster but do require mage to run.

Install Mage

Get mage from here, or:

git clone https://github.com/magefile/mage
cd mage
go run bootstrap.go

Ensure $GOPATH/bin is in your PATH if, following this, the mage executable cannot be found.

Run the Mage Targets under bootstrap

To replace your project name run mage bootstrap:replaceProjectName <username>/<repository_name>

For example, mage bootstrap:replaceProjectName oakmound/game-template

Where to Start

  1. See internal\scenes\sample\mainloop.go and start making your first scene!
  2. Check out the places with "CONSIDER:" and see if you want to perform the follow up steps. These locations are generally a bit out of the way (ie not in the sample scene).
  3. Setup a project in Itch and connect your github actions pipeline to push builds to it. Follow the steps in .github\workflows\README.md to get your itchupload pipe running!
  4. Remove or adjust the license to your project's needs.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
layers
Package layers provides a set of utilities for sharing a general schema of layering that should help provide unity between games and helper packages.
Package layers provides a set of utilities for sharing a general schema of layering that should help provide unity between games and helper packages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL