GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - StickyCoolDev/TextScript: A terminal based game engine made in c++ with cmake

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
Engine
Engine
 
 
Sandbox
Sandbox
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
clean
clean
 
 
message.txt
message.txt
 
 
run
run
 
 

Repository files navigation

TextScript

a conosle base game engine made with C++(Ncurses) and Cmake

How to Run

first clean any unwanted files

chmod u+x run clean # add permissions to run as an executable
./clean

then run the run script:

cmake .
./run Sandbox # set the executable as Sandbox

How to use

#include "TextScript.h" // include game engine
#include "sandbox.h"    // import our 'game'

int main() {
   Game game("Sandbox App"); // initialise the app
   game.Run(); // run the app
   return 0;
}

top level CMakeLists.txt:

cmake_minimum_required(VERSION 3.10)

project(TextScript CXX)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")

add_subdirectory(Engine)

add_subdirectory(Sandbox)

About

A terminal based game engine made in c++ with cmake

Topics

cmakecmake-game-enginecmake-projectcppcpp-cmakecpp-game-enginecpp-projectgame-enginegame-engine-textterminalterminal-basedterminal-based-game-engineterminal-game-engineterminal-project

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.