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

  1. 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...
  2. L

    Question - Code Unknown Function font_add_sprite

    Keeping it short, basically trying something new with Studio 2 and this showed upon 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 =...
  3. I

    Legacy GM Sprite font not displaying unicode characters?

    I have a sprite font with 223 subimages, where index 0 represents a space (character value 32). I've double and triple checked, and I can also confirm that the subimage with index 201 (that is, the image representing character code 233) is in fact an image for the character é (which is character...
  4. S

    GML Proportional Letter Spacing with font_add_sprite_ext ?

    Okay, so I'm attempting to make an animated font for my game, and it seems using bitmap fonts is going to be the best way to achieve what I need. But, this problem has been tying me up for days. In the GMS:2 documentation it states that if I want letters in a bitmap font to be proportionately...
  5. D

    Mac OSX [SOLVED] Text not displaying using sprite font

    So I added a sprite font in the created event of the first object created in the room like so: global.myFont = font_add_sprite(s_font, ord(" "), false, 2); And then in the draw event of my score display object I have this: draw_set_font(global.myFont); draw_set_color(c_white)...
  6. P

    Issues with spaces with font_add_sprite()

    I am using Game Maker 8.1. I am trying to create a custom font using font_add_sprite(), but when I test the font it seems to act as though the spaces have a negative size. That is to say, whenever a space should appear, it instead puts the following character overlapping the previous character...
Top