Questions tagged [text]
You're reading text right now. Characters representing primarily letters and numbers, usually arranged to present a message.
229 questions
0
votes
0
answers
177
views
How do browsers render text using any font, any modifier (like bold, italic...) so fast?
Background:
I am implementing a 2d renderer using OpenGL and currently working on rendering text.
What I have so far:
you can generate bitmap fonts from given font files (like .ttf). It works by ...
0
votes
0
answers
77
views
How to display text dialogue in a RPG using GML Code
I’m currently working on my first ever rpg game, and trying to figure out how to use GML code as this is my first time using the software.
Anyways, any ideas on how to code in-game dialogue? (e.g. ...
0
votes
2
answers
813
views
Adding text label to sprite
I'm completely new to Unity. I'm trying to create something similar to Scrabble.
I've simply got a tile as a sprite (red arrow).Firstly, I don't understand it being so small.. I'm trying to give the ...
0
votes
1
answer
67
views
0
votes
1
answer
293
views
How do I play a video in Unity using input text
I'm trying to play a video when a text command is typed.
What I expect to happen is the user inputs "play video 1" in an input text box, and after the command is sent via a button press, the ...
0
votes
1
answer
461
views
How to display localized text from the selected language's script file?
I am trying to make a textbox engine for my RPG using Gamemaker Studio 2 as my game engine, and so far I have managed to make a pretty good-looking animation for when the textbox comes in and out. I ...
4
votes
1
answer
7k
views
How to integrate images into text lines in Unity?
Here are two screenshots from Stellaris, where images are seamlessly integrated into the text. How can I achieve this in Unity?
0
votes
1
answer
533
views
In pygame I am trying to add the text as an integer and it keeps crashing, why?
I am trying to convert the string as an integer when I am using the font.render() function but it keeps saying different things like it has to be a unicode or ...
9
votes
3
answers
29k
views
How to dynamically create an UI text Object in Unity 5?
I have been searching for something that should be simple, but Unity 5's documentation on that is fairly outdated. What I want to achieve is to be able to create UI Text totally from script, i.e. ...
0
votes
1
answer
4k
views
How to align text dynamically inside a rectangle with Phaser JS
I am just starting to learn the Phaser JS framework with my first game. I did not managed to find a way how i can align text inside a rectangle element dynamically without specific coordinates. Here ...
0
votes
2
answers
2k
views
Help Me Make Sense of the Canvas and Text-Based Non-UI Objects in Unity
I am trying to wrap my head around the concept of the Canvas in Unity and its many uses especially outside of user interfaces. However, I cannot really find a good tutorial that digs deep enough into ...
0
votes
0
answers
288
views
Not being able to display pygame.freetype text
I'm trying to make a game where the player has to dodge asteroids coming, and I'd like to display the lives. I looked up some tutorials and decided to settle on pygame.freetype. When I run the code ...
1
vote
1
answer
275
views
Can I disable auto-correct on text fields in Godot?
Background
I'm working on a word game and I found it kind of nice to use a hidden LineEdit as my text input. I hide it off screen, force focus on it, and then ...
0
votes
1
answer
4k
views
How can I customize/remove the caret from Input Fields in Unity?
Goal
Change the caret to a non-blinking asterisk.
Description
I'm using the TextMeshPro variant of the InputField, and my Unity ver. is 2019.3.
Potential Solutions
Remove Caret
I could remove the ...
0
votes
2
answers
851
views
Read actor instance's text variable for widget when triggered on different objects
What I'm trying to do:
(a 'long story version' is linked in comment below)
(and another user example is hyperlinked in comment below - i couldn't post over 8 images and/or links in this first comment*)...
3
votes
2
answers
1k
views
Change Text - Inside A button, inside a Canvas, inside a GameObject: Access all the texts inside of hierchy?
//....
Gameobject tile;
int count = 1f;
float posX = 0;
float posY = 0;
....//
GameObject blueTile = (GameObject)Instantiate(Resources.Load("block_blue"));
tile = (GameObject)Instantiate(blueTile, ...
3
votes
3
answers
8k
views
Unity UI - Value of text input (assigned with OnChange event) is always "one letter behind"
I am having a problem in unity setting up a search field.
I will post pictures down reggarding my problem but first let me quickly explain what is going on.
I have input element in my ui and i have ...
0
votes
0
answers
2k
views
How can I get what key was pressed in Unity?
Description
I'm working on a chat that will immediately record input when any (compatible) key is pressed, so I need to record the keys pressed and turn them into a string.
Attempted Solutions
1) ...
1
vote
1
answer
478
views
What is the Unity 2019.3.5 version of `UnityEngine.UI.Text`?
I was following a tutorial on how to create a dialogue Box in Unity, and in one part of the tutorial the tutor imports UnityEngine.UI and creates an object of type <...
3
votes
2
answers
6k
views
Godot: What options are there for removing the filtering or anti-aliasing from text
If I were to start making a pixel-art game with the Godot engine, what options do I have for removing the filtering or anti-aliasing from text?
EDIT:
I want to know how to remove the AA from ...
9
votes
5
answers
8k
views
How to clip cut-off text in a textbox?
I'm writing a textbox class for my XNA game and I'm using SpriteFont to draw the text. It's only a single line textbox so when the text width exceeds the size of the rectangle box, it currently just ...
0
votes
1
answer
615
views
LibGDX Letter spacing is reduced if I use GlyphLayout to draw a bitmap font
I need to use glyphlayout so that I can centre the text, but I found if I do the text gets distorted due to the spacing being incorrect.
...
3
votes
2
answers
232
views
How to store and update presentation strings describing effects with parameters?
Consider this spell:
As you can see in my design a Spell is a composition of one or more Effects. An Effect has properties on ...
17
votes
5
answers
20k
views
Preferred way to render text in OpenGL [closed]
I'm about to pick up computer graphics once again for an university project. For a previous project I used a library called FTGL that didn't leave me quite satisfied as it felt kind of heavy (I tried ...
0
votes
0
answers
364
views
Is my game at risk of fines due to CVAA if I don't support text-to-speech in chat?
Looking at a similar game like Among Us: as far as I know, it only has in text chat as a norm of communication. Shouldn't the game be obligated to have more options for disabilities like text to ...