Questions tagged [text-based]

A game which eschews the use of graphics and instead relies on text to descriptively illustrate the world. Often involves parsing text input from the player to determine action.

Filter by
Sorted by
Tagged with
0 votes
1 answer
75 views

Complexities regarding starting resources

My text-based game will be a sims clone. I'm having problems though deciding what resources the player should start out with. I'm wanting to implement a form of the legacy challenge from the Sims 2, ...
user avatar
0 votes
1 answer
194 views

Implementing building structures in a text-based game?

Basically, I'm trying to make a text-bases sims-like game. Obviously, making a text version of a graphical game while keeping it actually interesting to play is proving quite difficult. One of my ...
user avatar
2 votes
1 answer
172 views

Converting a real-time game with regeneration into a turn-based one?

I'm wanting to make a text-based game, it'll be about managing families like the sims games. I'm running into innumerable problems with such. One is how to make it turn-based. I know its technically ...
user avatar
3 votes
1 answer
367 views

How to use Inkle-style state machines to help with the creation of open world quests?

I've been fascinated by this talk ever since I watched it: GDC Vault Jon Ingold (Inkle) - Narrative Sorcery: Coherent Storytelling in an Open World It proposes an implementation to simplify the ...
Daniel Kaplan's user avatar
0 votes
1 answer
370 views

How to set up server architecture using C++

I'm trying to make a Multi User Dungeon (MUD) game, and obviously a pre-requisite to that is a server. I've seen stuff like this: ...
Henery Johnson's user avatar
0 votes
0 answers
108 views

Server-Client Communication

I have a client, and it's basically a potato client. What I mean by that is it's code is something like this: (This is a junky version of the code, just to make a point) ...
Henery Johnson's user avatar
1 vote
0 answers
1k views

How to prevent Unity's ScrollRect from moving as the size of the content changes?

I'm writing a Text-RPG and I have set up a ScrollRect where new paragraphs and choices are added and removed at every turn. This makes the size of the Content change constantly, which I handle with a ...
ireth92's user avatar
  • 81
0 votes
1 answer
269 views

Make types, levels, armor and weapons for an text based adventure game, java

So i plan on doing a text based adventure game in java. And right now iam planning my game. I came up with different types of player (exp. attacker, defender. etc) weapons, potions (health potions, ...
vampsz's user avatar
  • 15
0 votes
1 answer
134 views

How can I make 3D lighting smooth?

I'm trying to view 3D objects in a terminal. Everything was looking good until I implemented lighting. I'm using shadow rays to determine where the object should be lit. Although it's working I don't ...
Hamza Nasab's user avatar
0 votes
2 answers
327 views

How can I handle input in C without halting the main loop?

I want my C program to update the console every second, and it was working fine until I tried to handle input. Now the program halts since it waits an input from the user. How can I do this? ...
AliTeo's user avatar
  • 35
2 votes
2 answers
377 views

how to structure game logic for user interfaces of different nature (gui, tui, cli)?

I would like to implement a simple game logic engine that is agnostic to the rendering system, but I don't know how to do that, really... so I would like to have advise and know the state of the art! ...
Marie Cunnie's user avatar
0 votes
1 answer
187 views

How to add multiple floors to a map in a text-based game?

I decided to learn how to make games during this quarantine. I am reading Mission Python, a book that teaches how to make games using python and pygame. I'm halfway through it, but the game only has ...
BeastSlayer's user avatar
0 votes
2 answers
261 views

Parsing "pick up" action in a text-based RPG

I’m coding a text-based RPG and I have my controls working: I have a string checking what you write in against an array of if statements. It can get it right with ...
Tj Stringer's user avatar
0 votes
0 answers
59 views

Abstraction for dialogue and quests in web game

I'm not very experienced with web languages, but I know a little bit of JavaScript. I'm working on creating a text-based rpg in HTML and need a way to modify dialogues for main story or quest ...
Al.'s user avatar
  • 1
0 votes
1 answer
116 views

Command Shell text adventure - input methods for scrolling through text (lua)

I'm writing a simple text-based adventure in lua. The intent is the user clicks on the game.exe and it loads up the command prompt or whatever command shell they have and they play the game there. ...
kite's user avatar
  • 207
2 votes
1 answer
1k views

RogueLike - Map and Entities - how to store it?

Started to write my own RL, and already fell into analysis (paralysis?) when implementing map class. My TILE class looks like: ...
PeeS's user avatar
  • 475
0 votes
2 answers
162 views

How can I display only the new state of the grid?

I am making a console based snake game. I am able to move the snake using grids that show up successively on the console. I want to animate the snake using always the same grid. ...
gamer67's user avatar
  • 39
1 vote
0 answers
646 views

Python:Adding enemies and weapons in game (Text-based adventure game)

I'm a beginner in coding and game-design also and try to make text-based adventure game, where player should move between rooms, fight with zombies and pick up weapons. Any help, namely tips and ...
Ray's user avatar
  • 11
1 vote
1 answer
585 views

Text Adventure - Engine actions based on dialogues

Building forward my text adventure i stumbled upon how to actually drive the actions that can be caused by dialogs. I wrote the dialogues and the logic around handling them already, but i'm missing a ...
PeeS's user avatar
  • 475
0 votes
1 answer
6k views

Native C++ console screen buffer [closed]

I'm trying to display a game in the console window using a screen buffer but cannot compile it. I have this simple code: ...
Kerdo's user avatar
  • 65
0 votes
1 answer
341 views

How do I port a game which uses print-output to pygame font rendering with the least amount of work?

I've been working on a text based RPG. It's pretty simple, I'm not very experienced with Python, or any other language for that matter. Edit: For context, I recently posted this question: Python 3: ...
Schrodinger'sStat's user avatar
-1 votes
1 answer
3k views

Python 3: How can I make my Text-based game windowed?

I've been making a text-based RPG in Python, and I'm a bit lost in transitioning from a console to a window. I'm not trying to do anything fancy (I think). I'd like my text to display normally, as it ...
Schrodinger'sStat's user avatar
-2 votes
2 answers
2k views

How to develop a PBBG?

I enjoy playing a lot of text-based PBBGs (Persisent Browsing Based Games). A good example of the style of game I'm referring to is lyrania. I would like to work on developing this style game but have ...
Shniper's user avatar
  • 129
3 votes
3 answers
261 views

How can I un-bloat my player input processing in my text based game?

I'm writing a text based game, and I hit a snag with the user commands processing: so far I have a huge hardcoded ifelse block, and that does not seem good or scalable. With single word non session ...
lxknvlk's user avatar
  • 236
-2 votes
1 answer
86 views

Creating an Item to be taken, then used latter in C# for a texted base-game

I need to create an item that the player decides to take and then use at a later time. Really I am looking for a command to open up a backpack that lists the items the player has collected. then the ...
Travis's user avatar
  • 1
1 vote
2 answers
160 views

Making quick time events in my text adventure more noticable

I'm making a post-apocalyptic text adventure in Unity. One of the gameplay features I've added is a quick time events on certain parts. Whether a part is a quick time event is defined inside the story ...
Garflington's user avatar
  • 1,055
0 votes
2 answers
11k views

Movement in a text-based game using room class (Python)

I'm a newbie to game design and coding in general, and I've started working on a text-based adventure game project (like Zork) to work on my narrative writing skills while teaching myself Python. Any ...
Schrodinger'sStat's user avatar
3 votes
2 answers
4k views

What is the most efficient way to render a textbox in C++ SDL2?

I'm a beginner in sdl2 and I'm trying to make a window, with a gui (where you can move a sprite around) and a CLI (a textbox where the game can return some text and the user can insert commands). Let'...
Exercise To The Reader's user avatar
1 vote
2 answers
553 views

Chatbot AI game

I was looking into getting started with AI and machine learning. As an excuse I wanted to try and make a chatbot centred game. The idea would be to have the player stuck with a chatbot and only be ...
Sorade's user avatar
  • 283
0 votes
1 answer
130 views

How to call the logic of a class into another class?

I am new to c# game development and just start. I decided to start with the basics, Console Applications. I am try trying to recreate a game created by Lincoln Li and it's called Mr Sprinkle's Great ...
Jami Rocha's user avatar
1 vote
1 answer
265 views

Twine game animated blur effect

I'm making a horror text adventure using Twine (snowman version, which uses HTML, CSS, Javascript, JQuery, and Markdown). I wanted to know what the best (easiest) way is, you think, for creating a ...
Ghosty's user avatar
  • 111
0 votes
2 answers
118 views

Time series for creating new events in a PVP game

This is more like a mathematical problem, but I guess this is the best place to ask it. I am working on a PVP concept and I have the following problem. There is a "battle" between two players that ...
Tasos's user avatar
  • 571
0 votes
1 answer
768 views

Advice on Story Text-Based Game [closed]

I am currently in preparation on making a game. This game will be looks like Lifeline by 3 Minute Games, which is a story text-based game. My game will have the same concept with it. Where there will ...
Ronald Sumbayak's user avatar
0 votes
1 answer
3k views

Replace text in Unity [closed]

i tried to look up my question but didn't really find an answer that works for my situation. I'm using this unity asset called Dialoguer to create interactive dialogues. What I'm trying to do is to ...
JB162's user avatar
  • 3
0 votes
2 answers
3k views

Should clients in an online game access the database directly or through a game server?

first im total noob about c# and mysql. Just trying to find which way is better. i believe your answers prevents me from losing plenty of time. Online game(not more than 50 users at pre-alpha. Not ...
Corviuse's user avatar
-2 votes
1 answer
929 views

How to create a seemingly infinite text-based map in Python

I am looking to create a text-based map in which a player could (hypothetically) move through out infinitely. I was thinking I could do this through class objects defining towns / dungeons / etc. and ...
Mochamethod's user avatar
2 votes
2 answers
308 views

c++ text based duel game, buggy turn mechanic

so ive checked this code 100 times for mistakes and everything checks out and should be working, I've tried everything I can think of but for some reason nothing works, this makes the movement super ...
Spencer Hopkins's user avatar
3 votes
1 answer
374 views

Making a text only console game in C#. Can't figure out a way to organize states

When I say states I mean like what you would call scenes in unity. As in each phase of the game. But in straight up code for a console application in C#. Example: Name select. Race Select. Store. ...
Chaz Carey's user avatar
1 vote
3 answers
372 views

Browser-Based Game Design: Keeping track of NPC stats (Attack, Defense, Health, etc)

Hope this is a proper question to ask here. If not, I'd appreciate somebody pointing me to other game developer communities. Since I am creating my game by myself it'd be nice to communicate with ...
Draven's user avatar
  • 119
2 votes
2 answers
1k views

Proper Text-RPG Monster Generator [closed]

I'm making a text-based RPG in C++ just for fun, and in a way that I can keep adding to it and hopefully give it graphics one day, and I've got a lot of code for everything. My only problem is that I ...
RoryHector's user avatar
0 votes
1 answer
687 views

Adding movement to a text-based rpg battle

Outline I have the bones of a text-based RPG - the player can progress through a branching storyline and activate some simple events (recieivng/giving/trading items). As I am designing the battle ...
Kvothe's user avatar
  • 103
5 votes
4 answers
4k views

How can I implement a real-time game loop in a text-based game?

I am trying to make a short text game with c++ to help me learn the language. I have made a version that basically displays texts, waits for an input, once the input is received it displays text, and ...
user59523's user avatar
0 votes
2 answers
2k views

Better ways to parse text adventure commands? [duplicate]

Currently I have got a system set up where I split each sentence handed to me into it's baser parts and then compare each word against a list of known words. Once I have the verbs, adjectives and ...
J-''s user avatar
  • 1
2 votes
0 answers
2k views

In GM Studio, how do I prompt the player for a password?

I could make strings in earlier Game maker versions, but it doesn't work in the Studio version when I try. The code I used: When Left Mouse Clicked on Password Bar: ...
Nicole Gamer's user avatar
2 votes
0 answers
542 views

Battle Engine for Text based browser game [closed]

I am starting to code a browser game, I have a rudimentary chat set up, and would like to start creating the battle engine, I have a general idea of how I want it to play out, but I don't know where I ...
Malachi's user avatar
  • 125
41 votes
9 answers
15k views

Why is it bad to hard-code content?

I know most games store dialogue text in files, but I've also seen a few text-based games actually program the content (map, choices, possible player commands, story text) into the game code. I can ...
user50286's user avatar
  • 509
5 votes
1 answer
1k views

What is a reasonable terminal size across Linux distributions?

I'm working on a Curses-based roguelike; it should (and does) work in both Linux and Windows (various flavours of each). Currently, I'm enforcing a hard requirement of "your terminal size must be <...
ashes999's user avatar
  • 11.3k
0 votes
1 answer
651 views

Player & Level class structure in 2D python console game?

I'm trying to create a 2D console game, where I have a player who can freely move around in a level (~map, but map is a reserved keyword) and interfere with other ...
Markus Meskanen's user avatar
0 votes
1 answer
597 views

Need help thinking of a way to code a text parser

Apologies if this has been asked before, or if it is a bit too simple for this forum. I'm new to C++ and as one of my first projects I have decided to try a textual adventure. Step 1: the text parser. ...
Nicholas's user avatar
0 votes
1 answer
615 views

Storing player's tilemap position inside the player object

I'm trying to create a multidimensional array as a sort of 2D map for a text-based RPG game. I want to create a multidimensional array that's, for example, 5x5. The array would be filled with 0s to ...
Anthony Hackett's user avatar