Skip to content

SCCapstone/turn-based-rpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

turn-based-rpg

A turn-based roleplaying game designed with 2D pixel graphics. Players will interact with a game world that includes a main overworld map, instanced levels, and instanced battle sequences.

For Developers: To clone the repo, go to "<> Code", click "Open with GitHub Desktop", and choose your GameMakerStudio2 folder for Local path. Launch GameMaker, click "Open", navigate to the "turn-based-rpg-main" folder, open it, open the folder inside it, and select "Turn-Based-RPG.yyp". From here you can edit existing code, write new code, etc. To run the code, press F5, or click the play button (located directly below tools, and to the right of debug).

External Requirements

In order to work on this code and run it without building an executable, you will need to download GameMaker. GameMaker is available for free at https://gamemaker.io/en/download for both Windows and Mac. This will download an executable installer which can run to install GameMaker on your system.

Setup

As mentioned earlier, you will have to open GameMaker, click "Open", navigate to the "turn-based-rpg-main" folder, open it, open the folder inside it, and select "Turn-Based-RPG.ypp". As long as you are storing everything for this code in the same place, you should only have to do this once. After the first time, the project should be shown in the "Recent Projects" list on GameMaker's Start Page.

Running

Open project in GameMaker. To run the code, press F5, or click the play button (located directly below tools, and to the right of debug).

Testing

All tests are located in the "Testing" directory, accessible from the root of the repo. Its subdirectories "Unit Testing" and "BehavioralTest" hold the unit tests and behavioral tests, respectively.

Running Tests

To run the unit tests, navigate to the "Testing" directory and then navigate to the "Unit Tests" directory. From there, simply click on the "Run Unit Testing" shortcut. Press 'E' to cycle through the groups of unit tests.

To run the behavioral tests, navigate to the "Testing" directory and then navigate to the "BehavioralTest" directory. From there, simply click on "BehavioralTest.exe". It will play itself, but some input will be required during the battle test. To navigate the battle menu, use WASD to move and 'E' to select a choice.

Testing Technology

Since unit testing is not a supported feature in GameMaker Studio, all unit tests are enabled by functions created by the team, which compare expected and received output and display the compiled results in an executable game window.

Authors

Lyn Cork lyncork@sc.edu

Chris Moore cpm12@email.sc.edu

Zandair Watkins zwatkins@email.sc.edu

Hollis Langford hollisol@email.sc.edu

Hadley Blalock hblalock@email.sc.edu

Meet Patel meet@email.sc.edu (former member)