• 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!

font functions

  1. L

    GameMaker Rendering symbols in GMS2- help

    Hi, I have some symbols I want to render in my game. They render fine in the programming area so it's odd that they wouldn't otherwise render in game. I've tried using several fonts... Is this just not possible? I'm attaching two images, the first shows the symbols rendered in the programming...
  2. Saintheiser

    GameMaker Strange Sprite Font behavior

    Tried to add my own font via font_add_sprite_ext and draw with draw_text_transformed When I draw text with this font it has strange behavior. All wide letters are scaled and trimmed (see attachment). I've tried to use separate texture page. And tried to add all fonts to different texture group...
  3. D

    Is it possible to add smiles number to the font ?

    I am working with GM Studio 2 and using asynchronous dialog functions to communicate with user in the game. The dialog window supports text , smiles and another small images. I want to store this information in the text file and then to show on page by draw command. To do so I just need to add...
  4. Drell

    How can I add chr(vk_enter) to font_add_sprite_ext()?

    Title, I'm trying to add a font for displaying the current keyboard mappings in the help sections as Steam requires this for completed games. To do so, I'm trying to add a font from a sprite which works for the vast majority of the keys. Specifically, the numeric value of each mapped key is...
  5. D

    GameMaker Text with font created using font_add() is not rendered

    Hello everyone. I created a new font with font_add function. When I select this font, the text is not rendered. create event active = false; point_selected = false; point_x = 0; point_y = 0; font = font_add("Arial", 12, false, false, 48, 58); draw event if (active) {...
  6. A

    Adding & Deleting Fonts

    I've been getting back into game development using GMS 1.5.x and I want to double-check: I don't recall ever needing to delete fonts, and as a result, I want to know: When should I be deleting fonts? Typically I'd be doing code like the following in a script when loading the game...
  7. Pineapple Lake

    Question - IDE Fonts in GMS 2 not created properly [FIXED in 2.2.2]

    Hi everyone, I'm trying to make the big leap from GMS 1.4 to 2, but I keep running into a problem with my fonts. For some reasing my fonts are rendered differently in GMS 2, making them look shaky and weird. The problem lies with rendering the font texture pages (not in-game). My font is...
  8. M

    GML How to use font_add to support Asian languages?

    So, I'm trying to add support for Asian languages in my game. However, the languages have so many characters that, if I just try to add the all the characters in the editor they won't fit on a texture page. So, I want to use font_add to create a font for the languages at runtime by looking at...
  9. L

    GameMaker Unknown Function or Script font_add_sprite

    Keeping it short, basically trying something new with Studio 2 and this showed during compiling. Object: object0 Event: Create at line 5 : unknown function or script font_add_sprite CREATE EVENT: x1 = 64; y1 = 64; outline = 4; text = "Hello World!"; newFont =...
Top