Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
Hello, I'm calling the function draw_text_ext with a width of 220 but my text is bleeding out, I noticed that this only happens because I'm appending some spaces at the start of the string so I can create this artificial indentation below.
draw_text_ext(textX, textY, string_lower("...
Hello everyone, I need help with my code regarding a line break in a textbox.
Well, I'm creating an interface for my game that will be a small tutorial for the player, and it will appear on a screen like this (Illustrative image of how the separation of the text with the margin will look):
I...
i have this code on draw event.
draw_self();
draw_text(0, 0, "hello");
I have this simple code because I was testing. And when I play the game the text looks stretched and blurry. I tried changing the font but nothing worked, does anyone know what I could be doing wrong?
There is this command: "draw_text_ext()"
I know that the last argument is the width in pixels of the string before a line break.
The Problem is that the line only breakes when the line contains a space.
But when there is no spaces, the line just does not break.
You see there is no...
Hello!
I am working on a notebook/notes-like feature for my game, where players can open a notebook and type whatever they want.
I've encountered problems when inserting a newline when the current line of text exceeds the notebook sprite width. It either doesn't work or inserts a newline at each...
Hello everyone, I've been trying to make text boxes, and I have no idea what I'm doing wrong. I'm using draw_text_ext() to draw the text letter by letter, but for some reason, whenever another letter is drawn, the text is drawn in the center of the pre-existing text instead of to the right of...
in 2560x1440 the text reaches the ideal position before wrapping to the next line. As the resolution goes down the wrapping largely moves to the left.
800x600 the text wraps around 1/4 of the width. This is at the extreme, but it's even noticeable at 1920x1080.
Everything else conforms to...
I know I can do a lot with draw_text (and ext) but what about outlines? There's not a lot of contrast as is and I want to play around with it. Can I do that at all?
Hey, people. I have a simple typewriter effect for my text but it's lagging after the line break. How I can fix it?
Code:
/// Create Event
message = "Hello, World! This is my typewriter effect test!";
count = 0;
// Step Event
if (count < string_length(message)) {
count ++;
}
// Draw Event...
Hi All,
I'm trying to get the draw_text_ext_transformed() function to draw the text to fit into a box that is scaled to the menu scale ranging from 0.25 to around 1.25
The manual states the following:
Note that the "width" argument is based on a scale of 1, so if the scale is different, this...
Hey hey folks,
For a while now I've been using Shaun Spalding's (@ShaunJS ?) excellent 'text over time' tutorial which, along with the rest of his tutorials, have been a fantastic means for me to learn and get started in GameMaker.
Here it is in case you haven't seen it -
Thanks Shaun...
Hey folks,
Just dabbling with text. It seems that the method for doing new lines has changed to GMS2 to use \n however I can't seem to get this to work when using draw_text_ext()
Anyone else had that problem?
Hi my situation is this: I have a string that is read from a file and then drawn to the game screen via 2 text boxes, txtbx1 and txtbx2. the second text box starts out under the first text box, and when you scroll down with the scroll bar they swap places, scrolling further down swaps them back...
I have a game running full-screen, and when I change my resolution from 1600x900 to 800x600, the text wrapping gets all wonky. I have maintain aspect ratio checked, by the way.
Specifically, I've tried setting the width to a multiple of gui_width, and a multiple of gui_height, but neither of...