Questions tagged [text]

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

0
votes
2answers
65 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
17 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
45 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
19 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
129 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
53 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
13 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
69 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
26 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
102 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
395 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
127 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
66 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
119 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
41 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 ...
0
votes
1answer
47 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
118 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
84 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
16 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
222 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
114 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
91 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
79 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
289 views

Monogame - SpriteBatch.DrawString() won't work

Here is my Game1.Draw() method (Constants.HeroLayerDepth is equal to 1): ...
2
votes
2answers
142 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
138 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
360 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
313 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
245 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 ...
2
votes
0answers
352 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
70 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
77 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
46 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? ...
0
votes
2answers
44 views

Tag object in map in Unreal

Is there a clean way in unreal to place text in the map to tag different buildings and areas for developper that can easily be turned on/off for all the tags in the map?
0
votes
1answer
147 views

C++ Freetype advance X problem

I'm currently working on a font-rendering system for my OpenGL based engine. I sure got something to work, but the only thing I still have problems with, is the horizontal advance! This is what it ...
1
vote
2answers
89 views

Making quick time events in my text adventure more noticable

I'm making a post-apocalyptic text adventure in Unity. One of the gameplay features I've added is a quick time events on certain parts. Whether a part is a quick time event is defined inside the story ...
-2
votes
1answer
121 views

Problem using SDL_TTF

I'm trying to create a 2D game, and I'm trying to use a layered drawing model. First I draw the background, then the world, then the constructs (buildings etc.), then the objects (NPC's etc.) and ...
3
votes
1answer
75 views

View individual UI Rect boxes when multiple UI elements are selected?

I have 2D UI layout with multiple text boxes over the canvas, I need to easily be able to see where the Rect boxes for each are positioned, so that I can see where the safe areas are for placing ...
1
vote
1answer
289 views

Is it possible to make an input field with non selectable text in Unity?

Can I make an input field with non selectable text in Unity?
0
votes
3answers
233 views

Alternative to canvases (unity)?

I have a Unity project which requires a bunch of Canvases and, surprise surprise, they're creating a lot of lag. I've already turned off the graphics raycaster for every single one, but they still ...
0
votes
1answer
570 views

Unity text component not updating text properly

It was worked fine previously, but after some point, it's not working. This is the code. It's not a pseudo code, actual code in game: ...
0
votes
1answer
2k views

How to align text dynamically inside a rectangle with Phaser JS

I am just starting to learn the Phaser JS framework with my first game. I did not managed to find a way how i can align text inside a rectangle element dynamically without specific coordinates. Here ...
0
votes
1answer
178 views

Unity 2d text not rendered properly in scene mode

I am a beginner in Unity and trying to add a text box to my scene. I have done this before and was able to do it properly. Problem But recently I created a new project, added a text element to it, ...
3
votes
1answer
2k views

MonoGame “couldn't find a default importer” for .txt file?

I'm trying a solution in MonoGame to create levels from a .txt file, but the pipeline tool fails when trying to build the Content.mgcb correctly: ❌ Skipping HighResolutionContent\Backgrounds\...
0
votes
1answer
97 views

Problems with the Unity text field

Let say I have this list and currently there are three animals inside the list. These names below are displayed on the text field in the scene. Cat Bird Goat If there is a new animal is added to ...