A sci-fi point-and-click puzzle/text adventure game built in Twine, an open-source tool for creating web-deployable games built in HTML, CSS, and JavaScript.
In order to keep Git happy when working with Twine (since Twine is not the most friendly when working as a team), please follow the below instructions when working on the Twine story.
- After making changes inside Twine, use Twine's
Publish to File
option so you have the compiled game in the form of theKepler.html
file. - Before pushing changes to Git, make sure that you have done Step 1 to ensure that the
.html
file being pushed is the compiled game and not an empty/old version of the game.
Before doing any work, enter the following commands to ensure that you have an up-to-date master branch and there are no issues with your branch and the up-to-date master branch. Feel free to ask any questions in the team Discord server if there are any issues when trying to work with Git since it is very likely that Twine will not cooperate with Git fully.
git checkout master
git pull origin master
git checkout <branchname>
[assuming you have already created a branch to work in]git merge master
git push
When making changes to the Twine story and testing it in the web browser, rather than clicking the .html file in your file browser every time you use Twine's Publish to File
option, you can simply refresh your browser and the changes should be reloaded and you will stay at the same passage you were working in. This removes a few mouse clicks from the overall steps needed to view new changes.
The most recent deployed version of the game can be accessed at this link. If the latest build is not at this link, feel free ask for the most up-to-date version of the game to be deployed.
While the game can be played remotely using the above link, the size of the game and the image assets can cause some loading issues depending on connection speed and how well the NMSU webhosting service is working. For the best experience, it is best to clone the repo and play the game locally in your browser. The steps to download and play the game are as follows:
- Clone or download the repo to your machine and place it in the directory of your choice.
- Do not move any of the files out of the directory or some parts of the game may no longer function.
- Open the Kepler.html file in the browser of your choice.
- The game should start at the first passage ready to play!
- You can save your progress using the save function on the sidebar. It can be saved locally in a .save file or you can save it within your browser. We recommend saving it locally since clearing your browser cache will result in the save file being deleted.
- Enjoy the game!