Hey! Guest! The 40th (!!!) GMC Jam will take place between February 25th, 12:00 UTC to March 1st 12:00 UTC. Why not join in this very special anniversary jam! Click here to find out more!
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.
Hello
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
draw_text_ext(x,y,thisText,-1,1200)
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...
Can I make a way for the player to type something in my game?
I would like the player to be able to type in a number and it sets a variable to that number.
I am using GMS 2 and DnD
Thanks!
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
else if....c,
*button as...
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?
draw_self();
draw_set_halign(fa_center);
draw_set_font(fnt_pixelman);
xt = x+lengthdir_x(15*image_xscale, image_angle+90);
yt = y+lengthdir_y(15*image_yscale...
If I start the game from the room the text works well. :
But if I start my game from the beginning, and the moment I change rooms to go into the text room, the text becomes buggy... :
HOW TO FIX ? :'(
Following some advice I was able to read from a .txt file and get a dialogue system working with english.
if file_exists(path+file)
{
read = file_text_open_read(path+file);
var num = 0;
while (!file_text_eof(read))
{
str[num++] = file_text_read_string(read);
message[num] = ""...
hey yall,
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?
code here:
CREATE:
showtext =0;
STEP:
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;
switch(room) {
case rm_start:
draw_text_transformed_color(200, 100, "GAME_TITLE", 100, 100, 0, c, c, c, c, 1);
break;
}
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?
If you want to draw text with different colours, fonts, images and effects - this asset for you!
Easy to write:
text="<shadow>Hello</shadow>, this is GAME"
Easy to customize tags:
text="<shadow: x=4, y=8>Shadow is big"
Use variables or scripts in tags:
text[0]="<shadow...
Hi beautiful people out there!
I'm not really a programmer, more a storyteller by trade. But really been enjoying Game Maker Studio.
However, I've been having a tough time drawing text that someone could scroll through. For example, creating something like the textboxes in games like...
Hello there,
I am new to GameMaker 2 and I'm working with Drag and Drop, and I have a problem with text in my game project.
I would like to do the following: I click with the mouse (event "Left released") on my text object, and the text changes with every click, like this:
click 1 = "Hello,"...
I plan localizing my game and I have two ideas rolling around in my mind on how to load text. Either load the strings from an .ini file into a ds_grid in a centralized way and have the objects access the strings form that grid or load strings in each object when a room starts (or object spawned)...