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
0
votes
0answers
29 views

How to properly space characters for world-space text?

I'm following this very helpful tutorial to get text rendering. I've even fancied it up by caching all of my fonts to a single bitmap. Fun stuff. However, this tutorial assumes that text is going ...
0
votes
0answers
5 views

How could I position the pivot point of a `GameObject` in the center of a text added by the `TextMeshPro` in Unity?

How could I position the pivot point of a GameObject in the center of a text added by the TextMeshPro in Unity? Oh. I Just ...
0
votes
0answers
32 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, ...
0
votes
0answers
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 ...
1
vote
1answer
85 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 ...
0
votes
1answer
31 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 ?
0
votes
0answers
103 views

Need some help for reading JSON/XML structured files in Lua language for Corona SDK

I have been trying to read a JSON/XML or simple text file in Lua language for Corona SDK with little to no success. All the tutorials I followed, people were basically writing a file and then reading ...
2
votes
1answer
187 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 ...
0
votes
1answer
66 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 ...
0
votes
0answers
40 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 ...
1
vote
0answers
55 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 ...
0
votes
1answer
32 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 ...
2
votes
1answer
95 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 ...
0
votes
0answers
32 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. ...
0
votes
3answers
1k 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 ...
1
vote
2answers
176 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. ...
0
votes
2answers
51 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 ...
1
vote
3answers
786 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 ...
0
votes
0answers
29 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?
0
votes
1answer
52 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 ...
0
votes
1answer
26 views

How to make UI text longer?

I'm working on a menu that needs a wordy description, but I've noticed that it only shows 4 letters, then cuts off and this doesn't seem right. I right click, select UI > text and again, it only ...
1
vote
1answer
29 views

How to change the alpha of an uneditable LineEdit to 1?

I noticed that Godot changes the alpha of the LineEdit text when editable = false. I want the alpha to stay 1. What I'm trying to do here is let the user input a name and then when they press enter it ...
0
votes
0answers
14 views

NullReferenceException: Object reference not set to an instance of an object [duplicate]

Hi so im displaying food, health an water on the screen in a text box by using UnityEngine.UI and making text variables. They are all defined in the update function so they will keep changing and are ...
1
vote
1answer
168 views

Why Unity3D 2018 UI looks bad and very sharpy?

I update my project from Unity 2017.1.1 to 2018.3.9 and almost everything is OK except UIs. All of UIs like Images,Buttons,texts,text mesh pro, sprites and others looks very sharpy and pixel pixel ... ...
0
votes
1answer
63 views

Make a variable go down as another goes up?

I am making a JavaScript game called "Spoop: The Clicker", and I have a variable shown by text: ...
1
vote
0answers
39 views

Incorrect placement of diacritics in Arabic fonts

I put AdobeNaskh font on my texts and use Arabic text support for unity and use show Tashkeel function then the text appears so what is the solution of this problem?
0
votes
1answer
20 views

Rewriting a text object [duplicate]

I'm trying to set up a UI system. Say I have a text object 'text' which is visible onscreen. I want to change it with a button press using a script such that the text box's previous string is replaced ...
1
vote
2answers
1k 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 ...
-1
votes
1answer
329 views

How to Destroy Text after certain Time

So, I have this 2D game built. In it, a text pop ups in the beginning but I want that text to stop appearing after certain seconds. (Using Unity)This text is also attached to a panel
0
votes
1answer
112 views

Remove hidden values within string

I tried removing the Unicode Whitespaces in the string using words[len].Trim() but still there's still an extra character. Every letter represents the coordinate ...
0
votes
1answer
171 views

How can I implement a scrolling text ticker?

How can I implement a right-to-left scrolling text ticker in libGDX (like stock tickers)?
0
votes
1answer
87 views

Do I have to re-assign localized text every time the game loads?

I am trying to build a localization system for games. And I have stumbled upon a problem where in Unity you basically have to change all the text in Text components ...
1
vote
2answers
828 views

How can I outline text in Unity?

Since it generates more triangles and vertices, the official outline script isn't a good way to do text outlining in my project. How can I outline my text, with better performance? TextMesh Pro may ...
0
votes
1answer
49 views

First “If” Enemy Selection Function being recognized as a syntax error in Python

I have an issue with trying to under the syntax error with the line if enemy_select = 1: in this type of code: ...
1
vote
2answers
156 views

c++ text rpg loading rooms/mobs

So for practice and as a learning exercise i foolishly decided to make a text based rpg on my phone using the c4droid ide. ive done well and have learned a lot. So far you can create a new character ...
0
votes
1answer
105 views

Inspector does not appear to match actual value

A text object is where the inspector says, but not where I expected it, and not where Debug.Logerror says it is. What I read as my "strengthTextObj.transform.position.x" is -213 in the inspector but ...
0
votes
1answer
23 views

How to render text on an 3d Object?

I want to render text on an 3d object. I'm trying to simulate a digital signage LED panel. My lcd Panel has a material and a texture. How can I do ? Using 3d Text ? Thanks
1
vote
1answer
443 views

ds_map_find_value returning number instead of array

Currently messing around on how to make a text engine in GameMaker and figured I would hold all my conversations in JSON format stored in a .txt file, which I'll convert into a ds_map and draw the ...
1
vote
2answers
159 views

Trouble creating a “Game Log” for a text-based RPG

I've made significant progress porting my game from print-output to Pygame over the last few days, and I think I'm almost there! Unfortunately, I'm beginning to suspect one of the methods I'm using ...
0
votes
1answer
134 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
vote
0answers
184 views

TextMeshPro Shader choices difference (when to use)

Actually I can see the visual difference that bitmap/sprite shows blurry text like this: pink distance field seems like ...
1
vote
2answers
537 views

Monogame - SpriteBatch.DrawString() won't work

Here is my Game1.Draw() method (Constants.HeroLayerDepth is equal to 1): ...
2
votes
2answers
176 views

How to draw a string to the screen by fading in one letter at a time?

I'm making a text adventure-style game with MonoGame. I have created a TextBox class which prints text onto the screen one letter at a time (like it's being typed). It does this by storing received ...
0
votes
1answer
49 views

BitmapFont draw nothing on some devices

I use libgdx and I draw some text with BitmapFont, it works, but on some devices with Android 5.1 game draw only numbers and punctuation symbols, without any text. I tried two ways: 1) Font ...
0
votes
1answer
210 views

Reading a text file and changing each digit into a value inside an array c#

I'm having a bit of an ordeal with the StreamReader. I'm working on a game where you build the map with a 2D array by imputing different numbers so the array like this: ...
1
vote
1answer
532 views

How to use SDL_RWops and SDL_RWseek to read text files, line by line?

I'm right now looking for alternative ways to read text files on a line-by-line basis, for cross-platform compatibility (Windows / Linux). My current solution is to go look for (or seek out) the ...
1
vote
1answer
581 views

How to get the position of individual characters in TextMeshPro (Unity)?

I am making a typing game. There are words falling down what the user have to type, before they can call the OnBecameInvisible() event. When the user types a character I want to apply a force and a ...
1
vote
1answer
476 views

How to make a string[] from the words of a file in Unity?

I have .txt file containing all the English words separated by line breaks. I want to turn them to a string[] so I can easily pick a random one from them. The way I would do that in normal C# is ...
3
votes
0answers
458 views

Find Max Line Count for Unity UI.Text

I'm trying to determine the max line count of a UI.Text with VerticalOverflow set to truncate...
0
votes
0answers
95 views

Make Unity Text Area to act like a logger

I'm trying to create a text area in Unity using UI.Text that contains multi-line text which should act like a log view, i.e the text area ...