Hello guys! One thing that is a bit strange in GMS is when you use draw_text_ext and you want to wrap a word it doesn’t work properly if one word is longer ( in pixels) than the width of the text field. Fortunately, I got some help from one user and it works almost perfectly now with one...
Hey, i have an other annoyance...
I have sign posts that act as some kind of tutorial.
The Signs are working perfectly, but after the player died once, no text is apperaing. the camera is still focused on the sign untill the text is written, but there is no actual text...
here is the code...
I'm fairly new to GML, so this question may sound a little nooby. It's also my first post! :)
So I've made a typer object which types out a string, letter by letter, which works fine. I've also made it so that when it detects a certain character, it does some kind of action. Like pausing or...
I learned how to print text a while ago. But I wanted to know how to print text one by one, so I watched the video, and I didn't understand. If you know how to print text one by one, could you tell me? I can only think of how to print one character after another.
I am drawing text into a sprite box of a fixed size, 1200 pixels wide and enough room for 2 lines of text.
I am using the following to wrap the text so it is not drawn off the sides of the sprite
where x,y is the centre of the sprite and thisText is the...
Hello! I have the dialogue system from https://gamejolt.com/f/game-maker-super-easy-typewriter-like-dialogue-example/1908 . I figured out a way to change colors, pause the text and everything I need. But I need help. I don't know how to make every letter shake, like here:
Can somebody help me...
So i tried to make button with different function, i have a way to make it one by one, but im looking for another way, it just same sprite but different text and function actually work like :
if button_a = true go to next room
else if button_b = false decrease point
I don't know what's going on here or if I'm the only one experiencing this. But usually, when I want to add a new line in a dialog text I would enter \n and the text would go to a new line. But recently, the \n just gets ignored.
Is anyone else having this problem?
For example, the dialog text...
I'm experimenting with drawing text to surfaces for the sake of optimization, but the text drawn to my surfaces appear weird. The characters are very thin with some letters even appearing to be missing small segments. I am drawing the text using a for loop; I've also noticed that looping the...
Hi, how can I make a text adapt its X and Y scale within a limited space? Because I tried to do it and I just can not. What should I do?
xt = x+lengthdir_x(15*image_xscale, image_angle+90);
yt = y+lengthdir_y(15*image_yscale...
Following some advice I was able to read from a .txt file and get a dialogue system working with english.
read = file_text_open_read(path+file);
var num = 0;
str[num++] = file_text_read_string(read);
message[num] = ""...
was wondering how to make this textbox appear when you press a button (Z), and only alowing it once at a time so you can't spam. i was thinking about an alarm but dont know how. help?
if (place_meeting(x,y,obj_player)) &&...
Hey there. I've been trying to wrap my head around this for ages now and I think I'm going crazy. I had something that *kinda* worked but I had to scrap it due to it taking up like 200 lines of code (I'm insanely tired).
So what I'm trying to go for is a "tab bar" type of thing. Kinda like tabs...
I'm trying to make a title screen for my game, and the text won't show up. Here is the code.
var c = c_yellow;
draw_text_transformed_color(200, 100, "GAME_TITLE", 100, 100, 0, c, c, c, c, 1);
The game screen is 500 x 500 if that helps.
Well... i need to do a shaking text that every letter shakes apart from the rest (like Undertale) and i found a guy that posted a shaking text but it wasn't letter by letter, i tried EVERYTHING (changing that system) and i get something that don't works well (it's a bit bugged and the text...
I'm using GMS2 and I have been using show_debug_message to get statistics. But I want to be able to track debug info without having GMS2 open. What is the easiest way to put my debug info into a text file while the exe is running?