Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 2.21 KB

File metadata and controls

63 lines (45 loc) · 2.21 KB

COS30008 Programming Project

This is the Programming project for the COS 30008 Data Structure and Patterns.

Game Descriptions

This is a lightweight RPG developed entirely in C++.

The core narrative centers around the player, a programmer, who is literally snatched from the real world and pulled into a perilous digital adventure by a pair of mysterious, unseen hands.

Gameplay involves navigating a labyrinthian environment: The player must strategically choose between different rooms, each presenting a unique combat challenge defined by varying monster quantities and threat levels. The ultimate objective is to successfully identify and secure the correct escape route needed to safely return home.

Basic Setup (for Beginners)

  1. Install MSYS2 Download and install MSYS2, then open "MSYS2 MinGW64"
  2. Open MSYS2 MinGW64 terminal
  3. Install G++:
pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain

Press Enter to install all package

  1. In you Powershell or CMD terminal, run:
# Build exe
g++ src/*.cpp -Iinclude -I external/SFML-3.0.1-mingw/include -L external/SFML-3.0.1-mingw/lib -o ./external/SFML-3.0.1-mingw/bin/app.exe -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio 
# Run exe
./external/SFML-3.0.1-mingw/bin/app.exe

Project Setup (CMake)

In Visual Studio Code, you can choose CMake to automate the build process.

The CMake deployment files are already included in this GitHub repository, so there is no need to set up any additional files.

If you wish to use CMake for automated builds, you may wish to refer to the configuration guide for CMake in Visual Studio Code.

Create a CMake hello world project with CMake Quick Start

Game Control

Menu Control:

  • Choose: Up, Down
  • Change Setting: Left, Right
  • Select: Enter

Player Control:

  • Move: W, A, S, D, Up, Down, Left, Right
  • Skip Story: Space

Source

Backgound Music

NoCopyrightSounds Official Website

AYUDA: by MXRCVRY
teamo: by c8o
harinezumi: by waera

Image (Generate by Gemini: Nano Banana Pro)

Gemini Google