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

learn more… | top users | synonyms

1
vote
1answer
101 views

C# OpenTK Text rendering

I've been looking everywhere for a solution on how to render/draw text for my 2D OpenTK-based game. Been trying quite a few QuickFont ones without success (either a AccessViolation exception or text ...
2
votes
1answer
249 views

UI Text Won't Change Color in Unity 5

In Unity 5 on Windows 10, I try to change the text color from the Inspector and in scripts, but the color won't change. Here are some screenshots of my Text objects open in the inspector, with there ...
1
vote
1answer
46 views

Print string letter by letter in UI Text

i'm trying to print a string letter by letter for UI Text of Unity. With each click of a button, the Stampa function, must print a letter. Up to this point everything is working perfectly. But if I ...
1
vote
0answers
13 views

Unity 5.3.5 - Blurry UI text after switching canvasses - until text is refreshed by turning visibility off/on or changing resolution

I have multiple scenes in my project where the canvasses are switched between, each canvas having UI text included on it. The project was originally created in 5.0 and I have just updated to 5.3.5 ...
0
votes
0answers
16 views

Unity 5.3.5 - UI 'BestFit' Text no longer appearing correctly after updating project from 5.0

I have a project that was originally built in Unity 5.0.0, it is very text heavy and includes hundreds of UI Text boxes. Due to the fact I have a translation plugin that changes the text into 7 ...
2
votes
2answers
19k views

How to add a UI Text for keeping Score in Unity 5

My Problem is simple I want to show scores on my game. The examples on internet are good but in Unity 5 there are no GUI elements but instead these are now UI elements. I was following this example: ...
1
vote
3answers
507 views

UNITY : I want to make my UI text fade in after 5 seconds

I know this question has been asked and asked but none of the topics i visited gave me an answer. I'm making a game programmed in c# where you control a boat and i want my UI to appear smoothly by ...
3
votes
5answers
1k views

Working with multiple language text files in multilingual games

What kind of tools and practices are used for maintaining text for multilingual games? By "text" I mean literally any piece of text you see in the game: dialog, menu options, tutorials, etc. I want ...
0
votes
0answers
17 views

(Game-Maker GML) Keyword based conversation system with text input box (Ultima 6&7 style)

I would like to create a keyword based conversation system for my game with a text input box (like in Ultima's 6 & 7). For example an NPC may say "I'm going to the CASTLE to the NORTH but I need ...
0
votes
1answer
37 views

In gamemaker studio, how do I make text boxes?

How to make text boxes in gamemaker studio?
0
votes
0answers
40 views

How to create words as objects in Unity?

I am working on a game that has words as obstacles, i.e. the player needs to climb over and around them. There will be hundreds of words in the game therefore I need a way to automate the placement. I ...
1
vote
1answer
79 views

Why are there aliasing artifacts with my text?

I am using a World Space Canvas, with a UI Text on it, using the Outline script, to produce the following text. I'm noticing a number of strange artifacts on the text, as seen below. Note for instance ...
1
vote
0answers
77 views

How can I use ImGui to render simple text instead of using stb_truetype directly?

Since ImGui builds on top of stb_truetype for its font rendering, I thought it could be nicer to use its already built font-processing capabilities (ImGui::GetIO().Fonts), and render with those, ...
1
vote
1answer
620 views

How to update UI after changing text in a view

After applying a text change to a scrolling view, how do you get the new height of the text, resize other UI elements around the changed text length, etc? Many have posted this question. Some have ...
4
votes
1answer
150 views

Need help with making a journal system

My game uses a system similar to Metroid Prime's logbook, in that it logs things the player encounters and discovers on their journey, categorizing it, etc. I want to write out all of the possible ...
0
votes
1answer
54 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
1answer
101 views

Why is my TextMesh always on top?

I have a 2-d game that I am making, using 3-d assets, including TextMeshes for text. I have decided that in some instances, I would like to have the TextMesh appear behind objects in the foreground. ...
1
vote
2answers
389 views

How to make a function in Haxe that reads content from text file and does something with each line?

How can I make a function in Haxe that reads a line from a text file, prints it/saves it to a variable, and then goes to the next line? My objective is to make the dialogues on a text file, having ...
0
votes
1answer
62 views

Libgdx unable to enter input in TextFields

Hello I am trying to make login screen for my game, I use TextField's. 1. I am not satisfied with how they look I want it to look like this but simpler - basically to have a white field next to the ...
8
votes
2answers
2k views

How do games handle rendering Asian unicode text?

I'm currently in the process of implementing text rendering in my game engine, and I decided to utilize AngelCode's BMfont to generate font textures, and then have OpenGL render textured quads for ...
0
votes
3answers
94 views

Get pressed character in LWJGL (Ignoring modifier keys)

I have a basic text field setup in LWJGL, however pressing any modifier keys (Shift, F1-19, Page Up, etc.) inputs a space into the text field. How would I ignore those characters? Here's some code so ...
0
votes
2answers
83 views

Detecting Left and Right Mouse clicks on UI Text objects that are dynamically created

So, in my game I create a bunch of UI Text game objects dynamically (in the C# script), but I just can not find out how to properly detect Left and Right mouse clicks on these UI Text that were ...
2
votes
3answers
1k 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. ...
1
vote
1answer
76 views

How to Programm A Dialog box with a typewriter effect in Java? [closed]

Im am very new to java and programming so I might be a bit annoying to work with but please bear with me :D So As the title says I'm trying to figure out how to properly program a working dialog box ...
1
vote
1answer
47 views

How to set Text in C# code?

I'm trying to make a series of text appear programmatically. It's not quite showing up, and I'm struggling to understand exactly why. Any ideas? GameObject row = new GameObject("Row"); row.transform....
0
votes
1answer
53 views

OpenGL: strange thing with depth and text rendering

TL;DR I render a scene with M,V,P matrices as always. Than I render something (in this case - text) without any matrices and using separate shaders pair on coordinates with Z = -1. Somehow it's ...
2
votes
2answers
165 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 ...
0
votes
0answers
74 views

Can't display sf::text using custom class, crash

I have my own Text class which uses sf::Text to display text on the screen. First I couldn't get the text to display on the screen, my solution was that I forgot to give the text a font before ...
0
votes
3answers
137 views

Text independent of screen resolution in Unity? [closed]

I have the following code that depends on the resolution of the user's display: void OnGUI() { GUI.Label(new Rect(432, 525, 9000, 9000), ("Hello!")); } And of course, the location of the text ...
0
votes
2answers
69 views

Text in game with not english alphabet

I need to render some special text in my game. Currently I can render any text that use classic letters of english alphabet, but I have some problems with special alphabets. How do I render text: I ...
3
votes
3answers
487 views

How do I make dialogue text appear with a beeping effect?

I'm interested in old-school RPG dialogue boxes, where text appearing in dialogue boxes is accompanied by a subtle beeping sound. This is demonstrated in a video here. Is this morse code translated ...
-4
votes
2answers
832 views

Which font does Crossy Road use? [closed]

I took some screenshots from Crossy Road and I'm wondering what font the developers used. What font is this? I wish to implement the font in the Unity game engine.
3
votes
4answers
382 views

Optimizing Texture Text Rendering?

I have an implementation currently that stores each letter as it's own separate texture, usually only a couple pixels in width and height. So this has some problems as i am unable to do a batch render,...
-1
votes
1answer
44 views

Change Andengine Text By clicking and typing a new text like native android EditText

I have a board in my game, with a name. I want to edit it on a button click (not by text.setText("text") method ) i want the user to enter a text and set it there. I couldnt find, how to change the ...
0
votes
1answer
15 views

New textblock after click on button

I have made a box where you can type in your name in unity. After typing your name you can click on the button. Clicking on the button it will copy the string that you typed in within a sentence. so ...
1
vote
2answers
121 views

Limit buttontext to one line in Unity?

I have many buttons in my game. There are different texts on them every time. But some texts are too long and get split up into two different lines. Is there any way I can fix this without resizing ...
1
vote
2answers
89 views

Unity doesn't show always the score

I don't know if this issue is in Unity or in my script, the score work well in scoreText, but in the scorePanel its show before last score like it showing 1 rather than 2; the issue doesn't always ...
0
votes
1answer
109 views

Certain Unicode Characters not displaying when setting text to TextButton in libgdx

Ok I am trying to do a word game much like Hangman Pro but for a different language(specifically amharic) using libgdx . And I have got a list of words saved to text file and I have taken care of BOM ...
0
votes
1answer
45 views

deformable and variable text on a mesh in unity

So I am working on a sports game and I want the jerseys to be customizables with names and numbers. I have the character models as a single mesh however I can't place a text on the back of the jersey ...
1
vote
0answers
51 views

What is a simple way to pull input from a keyboard and attach it to a std::string?

The question says it all to be honest. I have a game that I am making in Ogre3D, using OIS as the main input library. My issue is that I am attempting to use CEGUI (with tons of errors) all to simply ...
0
votes
1answer
54 views

Direct3D - Get screen coordinates for printing multiple text elements

I have a function that I use to print text PrintText(char* text) that stores the text to a vector, which is then displayed if the vector is not empty. I'm trying to figure out how can I correctly ...
1
vote
1answer
1k views

Creating a 3D text mesh from a 2D glyph

I have thought of three steps for doing this: Acquire the vertex coordinates which will represent the glyph's form Extrude them Render Can you suggest a better method? Can you give me an insight ...
0
votes
1answer
205 views

Small text is very light / faint with FreeType and OpenGL

I'm able to render large text with FreeType just fine: But when I want to render small text (and the only parameter that changes is the font size), the quality is much poorer: As you can see, ...
0
votes
2answers
71 views

LWJGL True Type Fonts - Calculate width and height of box

I want to center some text on the screen. At the moment I divide the display height and width by two, and then render. But I also need the height and width of the textbox, so I can subtract it from ...
3
votes
1answer
440 views

In MonoGame, how can I disable font anti-aliasing?

I am building a game with a "low resolution" aesthetic, so I would like to disable the default font anti-aliasing. The text is drawn using the built-in SpriteFont and SpriteBatch classes. Here is ...
0
votes
1answer
403 views

How can I render text using the new(ish) JOGL GPU curve rendering classes?

I'm fairly new to OpenGL/JOGL, working through various tutorials and books and making steady progress. Text, however, is an area where I'm stuck. I figured out one way using BufferedImage and ...
0
votes
1answer
142 views

In Pygame, I can only display text once I stop updating and drawing, why?

At this moment, I can only display text once I stop updating and drawing sprites. In the code below (which is actually the game loop), you can see how if GAMEOVER == True (gameloop stops drawing), the ...
0
votes
0answers
119 views

How to improve textmesh quality?

In my game I using textmesh, but textmesh has a pixel problem even adjusting scale, character size and font size. How to solve it?
1
vote
1answer
399 views

How do I go about making a text box that allows for highlight-able and copyable text in the new UI?

I'm trying to make a simple chat system for our games lobby, however I am having issues making a text box that allows for text-highlighting. The Text component does not have interactible text, and the ...
1
vote
0answers
451 views

How do I manually submit a new UI InputField in code?

I need some conditions for submitting the text inside of an Inputfield, however I cannot find a way to do this via code. I was expecting something simple like with WPF or WinForms, but I cannot find ...