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.
79 questions
9
votes
8
answers
4k
views
How to add skill expression to a text based turn based game?
I’m working on a text based and turn based roguelite. I want to have some way of requiring more skill than just mastery of the characters abilities. The dilemma I’m facing is that I’m not sure how to ...
0
votes
1
answer
341
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 ...
3
votes
1
answer
646
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 ...
0
votes
0
answers
141
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)
...
0
votes
1
answer
357
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, ...
0
votes
2
answers
902
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?
...
0
votes
1
answer
254
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 ...
0
votes
0
answers
72
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 ...
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:
...
1
vote
0
answers
701
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 ...
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:
...
-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 ...
3
votes
3
answers
301
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 ...
1
vote
2
answers
222
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 ...
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'...
0
votes
1
answer
190
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 ...
0
votes
2
answers
174
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 ...
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 ...
-1
votes
1
answer
1k
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 ...
3
votes
1
answer
394
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.
...
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 ...
6
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 ...
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:
...
41
votes
9
answers
16k
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 ...
0
votes
1
answer
694
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 ...