Questions tagged [text]

You're reading text right now. Characters representing primarily letters and numbers, usually arranged to present a message.

Filter by
Sorted by
Tagged with
1 vote
0 answers
29 views

trying for a Typewriter effect on a JTextPane [closed]

i'm pretty new to coding (about 5 months) and i've been trying to make a custom terminal for a text based RPG. so far i have the terminal working the way it should but i'm looking for ways to rewrite ...
user avatar
0 votes
0 answers
41 views

Three.js Animate Text error geometry.faces

In this three.js Text example they animate text, i am trying to implement it on React/Three.js but i got the error TypeError: can't access property "length", geometry.faces is undefined in ...
user avatar
0 votes
1 answer
34 views

Applying animation only to part of a text

Using the built-in text UI, is there a way to animate only a selected number of letters? What I want to do is something like the word "you" in this video and "I'd" in this one
user avatar
  • 599
0 votes
0 answers
27 views

Howto animate text in Three.js

In this example they animate text, but i got a error in generateTextGeometry function the error is TypeError: can't access property "lineHeight", this._opt.font.common is undefined, this ...
user avatar
1 vote
1 answer
55 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 ...
user avatar
0 votes
0 answers
40 views

How to implement spelling autocorrect in a TextMeshPro InputField?

How can I implement spelling autocorrect for Unity's TMP InputFields on Android?
user avatar
1 vote
0 answers
51 views

How to achieve something like anti-aliasing on 8x8 pixel font using TextMeshPro

I use TextMeshPro for my UI text. My text is currently very crispy and looks like this I'd prefer if it looked more like text in 90s arcade games, with more "...
user avatar
  • 1,297
0 votes
1 answer
148 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 ...
user avatar
0 votes
2 answers
565 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 ...
user avatar
0 votes
2 answers
103 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*)...
user avatar
  • 1
3 votes
1 answer
2k 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?
user avatar
0 votes
1 answer
1k views

Unity text is very blurry. How can I fix it?

Unity text is very blurry. How can I fix it? To be honest, I have no idea why it behaves this way: Hope that someone faced the same problem and will be able to share how it was tackled.
user avatar
0 votes
1 answer
60 views

How to justify text that appears character-by-character

I'm currently using the latest version of phaser framework and I have a problem to which I haven't been able to figure out how to approach. I need to have a block of text appear letter by letter and ...
user avatar
0 votes
0 answers
28 views

How to make counter unity? [duplicate]

How do I count how many diamonds my player has collected in my 3d world What I need to do is to make a script which will update my text ui when the player collides with a diamond but I do not know how ...
user avatar
0 votes
1 answer
42 views

Dialogue System only plays the same words

I'm trying to modify brackeys dialogue system using raycast in an interactableOjects Script so that I can talk with multiple characters, however, when I talk to Character A it appears Characters B ...
user avatar
0 votes
1 answer
40 views

Calling functions that needs to be on update()

So I have a function DialogueRun() for a Dialogue System that changes the line on the dialogue box whenever you click. Which means it has to be in ...
user avatar
1 vote
1 answer
55 views

Comparing strings doesn't work

I'm making something for a dialogue system that reads "cues" from a textfile to identify which emotion to show in the character's portrait during a conversation. Basically if the current ...
user avatar
0 votes
1 answer
106 views

Hiding text/choosing which text to show in unity

i'm making a dialogue system that reads from a text file with a portrait that changes expressions depending on the context. I'm thinking of putting in a "cue" in the text file to determine ...
user avatar
3 votes
2 answers
129 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, ...
user avatar
  • 131
0 votes
1 answer
782 views

Text boxes keep on moving in Unity

I have added a few text boxes in my Unity game and they are at the bottom. When I fullscreen the game after building it, the text boxes show up in the right place but if I shrink the tab, the text ...
user avatar
0 votes
1 answer
59 views

Text mesh not visible on a container

I have probably dumb problem with a text-mesh game object. I want to use it as a title on a top of container. I will give you all information that you need to find a problem. I'm using pixel font <...
user avatar
  • 21
1 vote
1 answer
135 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 <...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
0 votes
0 answers
42 views

Unable to wire UI Text object to C# Script

I have created UI text object And then created Text field in behavior class: ...
user avatar
  • 151
0 votes
0 answers
635 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) ...
user avatar
1 vote
0 answers
680 views

How to create pixel-perfect text in TextMeshPro with a shadow?

Problem Making the font asset of type Raster creates a pixel-perfect font, but it doesn't have the underlay option inside its material to give it a shadow. Making it of type SDF (or one of the ...
user avatar
0 votes
0 answers
178 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 ...
user avatar
3 votes
2 answers
164 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 ...
user avatar
0 votes
1 answer
237 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. ...
user avatar
  • 185
0 votes
2 answers
232 views

How to spawn one dummy for each "d" in the message string?

Im working on a script building game, I have the executor etc done. However, I have one problem. To spawn a test dummy, you say pse/d You can spawn no more than one dummy, how would I make it so if ...
user avatar
5 votes
1 answer
2k views

Completely Pixelated Font in JavaScript Canvas?

I'm making a game with a canvas scaled up such that each pixel is pretty big. I want to display some pixelated text without anti-aliasing but I have idea how I would accomplish this. Is there I way ...
user avatar
0 votes
0 answers
55 views

Text based cards tracker

I wish to build a card tracker that reads in game text and keeps track on the cards that are out. Like an Overwolf app, but for a card game. I mailed Overwolf and asked what are my options, they ...
user avatar
  • 124
0 votes
0 answers
14 views

Scrollable Text On Object

I want to put Scrollable Text On Object / Mesh. I looked after it on YT but I did not find anything useful. How could I do this?
user avatar
0 votes
0 answers
143 views

Clickable Text Render Actor

So I couldn't find anything online for this, but I want to make my text render actor clickable for my main menu. For example, when "New Game" is clicked it starts a new game. If you have any answers, ...
user avatar
0 votes
0 answers
30 views

Adding Score to score canvas after collision [duplicate]

Simply a player has to move through pipes falling down, once the player moves through the gap it should add a score and increase the scoring after each pipe the player goes through, pretty basic. I ...
user avatar
1 vote
1 answer
228 views

How do I render a word in the middle of the screen using FreeType and OpenGL?

I'm following this tutorial series on making a simple 2D clone of the classic Breakout game, but its author doesn't mention how to render a whole word or sentence in the middle of the screen. He ...
user avatar
  • 113
0 votes
1 answer
33 views

Bubble Text appears issue?

I'm trying to make a dialogue between characters using bubbles witth text. But the text appears not clear to player. The Cam is far from the canvas 13.5f. What to do fix it ?
user avatar
  • 507
2 votes
1 answer
337 views

Making text scroll correctly with a textbox

So let me just get this right out of the way, I'm using SDL1.2 (Lispbuilder-sdl specifically, as I'm using Common Lisp), so on to the problem. I'm trying to make a scrollbar that can scroll text in an ...
user avatar
  • 21
0 votes
1 answer
183 views

Unity "Text Mesh Pro UGUI" component rewrites my text! Make it stop?

I'm having this terribly annoying problem where my text is being overwritten by Unity. This Happens regardless of whether I am using tags or not. Here is what I want to appear (more or less, I don't ...
user avatar
0 votes
0 answers
51 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 ...
user avatar
  • 1
1 vote
0 answers
91 views

Text is unreadable at fov's edges with HTC Vive

Not sure if this is the good place to ask or if should asked it in photography, sorry if it's not. I was trying stuff in Unity for a vr game based on text but as I tested it I saw that the center of ...
user avatar
0 votes
1 answer
190 views

Libgdx: converting between two camera coordinates

I had a similar issue to the question here: Why is my text is too large even when scaled to .05f in libGDX? So I created a second camera for my text elements. I'm rendering the text above some other ...
user avatar
3 votes
1 answer
350 views

How to draw a string into a polygon? (Libgdx, Java)

I am working on a 2D grand strategy game (like Hearts of Iron from Paradox but as I said only 2D game) and I would like to render the area names on the map. I made the Polygons for each area. How can ...
user avatar
0 votes
0 answers
38 views

Text Pooling Optimizations

In my game I have created popup text for gained points when enemies are killed. it pops up wherever the enemy was and will say something like "+32" float up a bit and fade away at the same time. ...
user avatar
2 votes
3 answers
6k 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 ...
user avatar
2 votes
2 answers
780 views

How do I render text in a view in SFML 2.5.1 without artifacts?

I'm using the following code to render text in a letterboxed view. ...
user avatar
0 votes
2 answers
122 views

How to improve the look/aspect/resolution of a Text Render in my game?

In my game there are warriors who walk the map following a path. Above their heads is shown their life (text render). It turns out that unlike when I'm simulating the game (I'm not possessing the ...
user avatar
1 vote
5 answers
5k views

How to make TEXT RENDER stand facing the camera of my character and also for the camera of simulation?

I have an actor (Minion) with a Text Render just above it mesh: As you have seen, I defined your rotation as absolute, so the text does not rotate along with the actor. In the game the rotation ...
user avatar
0 votes
0 answers
130 views

How to spawn objects and control the content in each spawn

I'm using unreal engine and would like to spawn multiple actors and control the text in each spawned actor. How can this be achieved in unreal engine?
user avatar
0 votes
1 answer
68 views

Why is integer value not updating as a text?

I have a space shooter game and I am trying to create a shield power for the player ship. My mechanic for shield is working. When I press the shield power button(P), the shield power decreases from ...
user avatar

1
2 3 4 5