text

  1. mbeytekin

    file_text_open_read() doesn't open file for reading with associated files

    My code like this if projectfile = "" || !file_exists(projectfile) { exit; } var _fname=file_text_open_read(projectfile) ... as you see I checked file exists and then open it for reading. Normally it works, but if I try to double click my programs own associated file and...
  2. A

    GML Can I use the same font with 2 different sizes in the draw gui?

    I searched on google and found no way to change the font size Help me pls, i'm noob xd
  3. Y

    Question - IDE Is it possible to emulate the middle click functionality?

    Hey folks, The mouse I currently use (Logitech MX Anywhere 2) does not have the ability to perform a middle click as input. I am wondering if it is at all possible to emulate the documentation functionality that would otherwise be present when selecting methods in the text editor. Thank you.
  4. Kyrieru

    GMS 2 Seperate numbers in a string into an array? (solved)

    I'm loading a text file with lines like; 1,5,12 And I need to convert it into an array. I understand (more or less) how I would have to do this, but frankly as more of an artist than a programmer; when I think about it my soul tries to leave my body. Because I know I will stumble over it...
  5. Jesus17

    GMS 2 Could you guys please help me? Text and talking sprite animation

    Hey guys I'm new at this. I'm from Colombia bu I had to come here bc I can't get enough information for my "problem" As you can see at the title I wanna know how to stop my sprite animation "How to stop its mouth when the text finishes (bc it is a typewritter effect)" because its mouth keeps...
  6. flyinian

    SOLVED Help with adjusting sprite size to fit text

    I am trying to have the sprite adjust itself so that the text fits within the sprite. Along the x and y axis. I am also trying to have the sprite adjust itself no matter the width or height of the text. The issue I am having is the sprite is stretching and certain parts of it is larger than it...
  7. C

    Simple Text Problem

    Hiya! <3 Still bit new to game maker, little slow. Followed Shaun Spaldings platformer video on Signposts. Everything is working just as it should. I'm using the string variable trick to make it easier to change later on. The only question I have is I am unsure how to make multiple pages...
  8. Gleeson

    Question - IDE Text Kerning - "GMKerning" data found in font.yy files?

    (image above is a snippet from the font Quicksand when imported into GMS2 - this is in the .yy file) Hey there - this is probably a very technical question that's probably appropriate for someone at YoYo, but happy to have a discussion about it and spark some interest. So, in going down a...
  9. J

    How to have multiple text input boxes

    So I need up to 6 players to enter their name. That's it! I know how to make 1 textbox, but not how to make multiple boxes that you need to select before typing a name in it. Any help would be appreciated! :) The code I currently have for 1 working textbox comes from this page...
  10. If Programable_Matter

    Windows How to make Program with the ability to highlight the text with the mouse (Cursor)

    I've been making a lot of programs and they have been going well however I cannot make the text that has been drawn "highlightable" like you would be able to in Microsoft Word, Notepad, or other software which deals with characters. Is there are particular code which can enable me to highlight...
  11. Startoz

    Fastest way to load a JSON/text file with tens of thousands of lines?

    Hi, I want to load a large JSON file (more than 40k lines when formatted) and decode it. The system that I'm using at the moment works perfectly fine if all the data is contained in one line (loading the text into a string takes less than 1 second). However, if the JSON is formatted, it takes...
  12. Grez1

    Simple way to implement basic text input

    Ok, n00b to the forums here. I've cranked out a couple of simple games so far and am enjoying GameMaker (note: I'm still on 1.499999 - evaluating as to whether to invest in 2.x). The one thing that I'm finding completely confounding is what would be the most simple of functionality way back the...
  13. T

    Question - IDE GMS2 Text Completely broken after Compiling

    Hey Guys. Yesterday i Updated my GM to 2.2.4.474 and when i try to compile my game on Android the Whole Text is broken. The R´s, S´s And Space´s are broken. It doesnt affect the Performance but its annoying as hell. Does someone know how to fix this?
  14. MaxLos

    Legacy GM [Solved] Text is blurry when drawn in Draw Event, looks fine in Draw GUI

    Hihi, Basically what the title says, just wondering how to fix it... besides using the Draw GUI event of course :p My view port is half the size of the resolution if that helps
  15. Daniel Mallett

    GMS 2 text border issues

    x = 500; y = 500; string_val = "string"; draw_text(x, y, string_val); width = string_width(string_val); height = string_height(string_val); draw_rectangle(x, y, x + width, y + height, 1); I am trying to implement a dialogue with form controls, text, etc. I have been having problems...
  16. R

    Partially transparent text

    Hi, I'm trying to get a part of the text to have a different alpha value. Do you not know how to achieve this?
  17. S

    GML How to program Credits into the game

    I have looked over the internet and I have a general idea on how to code in GML but I just can't work out how to implement credits in to my game. I would appreciate anything like a link to a tutorial or some instructions. please and thanks you.
  18. Zek

    Asset - Fonts Pixel Font Pack

    GameMaker: Marketplace Itch.io Price: $1.99 7 clean pixel fonts for retro styled games. Preview: Contains: Retro1.ttf Retro2.ttf Retro3.ttf Retro4.ttf Retro5.ttf Retro6.ttf Retro7.ttf All of these fonts are TrueType Fonts and the font outlines in the preview images are just for visualization.
  19. Occupant

    GML Does scaling text involve loss?

    If text is being dynamically generated and drawn to some confined space, there seems to be two ways to deal with sizing the font correctly: 1. use draw_text_transformed to draw a scaled version of the string, after string_width_ext and _string_height_ext so that you can compare it to the...
  20. G

    Need Text Help

    I am looking for a way to display text when I hit a button. An example would really help. But so far I used this in the Draw Event for my button, but it add the text at game start. draw_set_alpha(1); sc_tier1(); draw_set_colour(c_fuchsia); draw_set_font(fnt_Courgette)...
Top