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

learn more… | top users | synonyms

0
votes
0answers
16 views

MonoGame rendering text with black boxes?

I have a UI manager that renders a background image and some images and buttons using BlendState.AlphaBlend. This works as intended. However, when I try and draw some text on top of it with the same ...
0
votes
1answer
40 views

How to display text for 3 seconds in pygame

I am trying to print "You Crashed" when car hits wall(or blocks) for 3 seconds and then again start game loop. I tried using time.sleep(3) but it's not working. def crash(): crash_font = ...
1
vote
0answers
35 views

Efficient way of training a chabot AI

I am currently working on a chatbot game using Python 2.7.10. I use the Chatterbot library. This library seems to do all I need but the training data (or corpora) are very very limited. I haven't ...
0
votes
2answers
50 views

Anchored Unity text …not anchoring!

I've added some text to a unity UI and set both the achor and pivot to the top right corner as shown here: When I start this in debug in unity the text looks fine: What's weird is that when I build ...
0
votes
1answer
36 views

Phaser: show text when overlap sprites

I am trying to work out a way to add a text to the top left corner of the viewport when two of my sprites overlap. One of them is a item and the other is my character. I can already detect for overlap ...
-1
votes
1answer
21 views

How do I make Text Mesh appear five seconds later and disappear from the scene in unity3d [duplicate]

I have a text mesh in my scene. I don't want the test to show right when the scene starts . I want to text to show up in the scene five or ten seconds later on the screen and than the text disappear ...
3
votes
1answer
60 views

Using a script to draw an icon next to (i.e. inline with) a text label in Unity

Suppose mystring is a string variable (whose value changes over time) and that myIcon is a texture or sprite of known dimension, say 32x32. Is it possible to write a Unity script that draws myIcon ...
0
votes
1answer
49 views

SFML: Optimizing sf::Text?

I've been noticing that using multiple sf::Text objects has a huge impact on performance. The difference between using 1 or 4 sf::Text objects can result in almost a 40FPS drop (From 120 to 80). ...
0
votes
1answer
63 views

Display Rich Text in a TextMeshProUGUI component

I am rading a text to be displayed in a Text UI from an asset using the standard commands Resources.Load<TextAsset>("nameOfMyTextAsset"); The text is a .txt. The text contains richtext tags ...
3
votes
1answer
115 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
42 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
49 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 ...
1
vote
1answer
462 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 ...
1
vote
3answers
1k 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 ...
0
votes
0answers
35 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
62 views

In gamemaker studio, how do I make text boxes?

How to make text boxes in gamemaker studio?
0
votes
0answers
46 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
0answers
124 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
147 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 ...
0
votes
1answer
122 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
245 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. ...
0
votes
1answer
79 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 ...
3
votes
3answers
569 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 ...
0
votes
3answers
110 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
136 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 ...
3
votes
3answers
3k 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
99 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
51 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
57 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 ...
0
votes
3answers
187 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
0answers
88 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
2answers
72 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
749 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
1k 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.
2
votes
2answers
173 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 ...
-1
votes
1answer
56 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
16 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
155 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
132 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
54 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
1answer
966 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 ...
1
vote
0answers
57 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
64 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 ...
0
votes
2answers
86 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 ...
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 ...
3
votes
1answer
530 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
500 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
167 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
141 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?