Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

For Visual Novel Console Games.

Notifications You must be signed in to change notification settings

Entertainmasters/Texted-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Texted Engine

The Texted Engine allows you to create Console visual novel games

Init

#include "UnexpectedFeelings.h"

TextedEngine engine("Player", "Friend of the Player");
Sleep(2000);

Examples

User can type its name

void StoryClassName::StartStory(){

    TextedEngine te* = new TextedEngine("Emily");
	system("cls");
	Sleep(1000);

    // story...
}

Choices

    int choice;
	PrintChoices(choice1, choice2, choice3);
	std::cin >> choice;

	switch (choice) {
	case 1:
		YourMessage(choice1, 2);
		FriendsMessage(res1, 1);
		break;
	case 2:
		YourMessage(choice2, 2);
		FriendsMessage(res2, 1);
		break;
	case 3:
		YourMessage(choice3, 2);
		FriendsMessage(res3, 1);
		break;
	default:
		YourMessage(failchoice, 1);
		FriendsMessage(failres, 1);
		break;
	}
	Flush();

About

For Visual Novel Console Games.

Resources

Stars

Watchers

Forks