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
56 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 ...
1
vote
1answer
107 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
32 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
34 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
34 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
21 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
59 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
29 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
335 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
88 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
46 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
168 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
23 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
51 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
22 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
141 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
56 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: ...
0
votes
0answers
16 views

TextMesh animation not working when attached to a new TextMesh object

I created an animation on one TextMesh object. Then I duplicated the TextMesh object (Ctrl-D) and disabled the first one. The same animation is - of course -attached to the new TextMesh. However, it ...
0
votes
0answers
97 views

Simple Text Drawing OpenGL ES 2 .Net Core

As the title suggests I would like a simple way to render reasonable amounts of text (20-30 lines @60fps) to the screen in opengl ES 2.0 under .Net Core 2.1. I have tried many libraries however I can'...
1
vote
0answers
34 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
17 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 ...
0
votes
0answers
173 views

Adding drop shadow to text in Minecraft

I would like to know how to take a text object rendered using the default Minecraft font renderer and add a drop shadow behind it. I believe what I need to do is make a copy of the text object, ...
1
vote
2answers
864 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
255 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
89 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
148 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
59 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
572 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
140 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
99 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
22 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
337 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
139 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
104 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
140 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
396 views

Monogame - SpriteBatch.DrawString() won't work

Here is my Game1.Draw() method (Constants.HeroLayerDepth is equal to 1): ...
2
votes
2answers
157 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
47 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
166 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
441 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
468 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
371 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
400 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
78 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 ...
2
votes
1answer
84 views

Why am I hitting a small character limit when rendering with SDL_TTF?

I'm making a text based game using SDL2 and SDL_TTF. I just started working with TTF, and I've noticed there is some kind of character limit regarding how much text you can render at a time! I can ...
0
votes
3answers
67 views

How to delete a score after collecting all collectibles

I'm making a small game for my English class, and in the beginning, you have to collect rocks. I already have the code for counting how many rocks have been picked up, and the GUI to display while the ...
1
vote
0answers
50 views

XNA Displaying/Drawing from a text file [closed]

I wrote this code in the Load Content of XNA 4.0 for reading the star map, after actually adding it to my content, and I have no idea how to write/draw it onto my application, any suggestions? ...