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
114
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, ...
0
votes
1
answer
345
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 ...
2
votes
1
answer
232
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 ...
3
votes
1
answer
650
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
1
answer
635
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:
...
0
votes
0
answers
142
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)
...
2
votes
2
answers
2k
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 ...
0
votes
1
answer
359
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
1
answer
203
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 ...
0
votes
2
answers
913
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?
...
2
votes
2
answers
499
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!
...
0
votes
1
answer
257
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
2
answers
350
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 ...
0
votes
0
answers
73
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 ...
0
votes
1
answer
205
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.
...
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:
...
0
votes
2
answers
202
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.
...
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 ...
1
vote
1
answer
729
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 ...
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:
...
0
votes
1
answer
419
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: ...
-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 ...
-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 ...
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 ...
-2
votes
1
answer
100
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 ...
1
vote
2
answers
223
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 ...
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 ...
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'...
1
vote
2
answers
728
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 ...
0
votes
1
answer
191
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 ...
1
vote
1
answer
328
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 ...
0
votes
2
answers
175
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
800
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 ...
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 ...
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 ...
-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 ...
2
votes
2
answers
388
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 ...
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.
...
1
vote
3
answers
448
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 ...
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 ...
0
votes
1
answer
733
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 ...
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 ...
0
votes
2
answers
3k
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 ...
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:
...
2
votes
0
answers
558
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 ...
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 ...
5
votes
1
answer
2k
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 <...
0
votes
1
answer
697
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 ...
0
votes
1
answer
621
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. ...