IsmAvatar/LateralGM

Fonts corrupton when using to display numbers

Hughtech opened this issue · 1 comments

Describe the bug

Fonts being displayed corrupted after the 7th digit. This happens you use the functions font_add_sprite or using a standard font in the Font category to display scores.

Steps To Reproduce

  1. Go to 'Fonts...'
  2. Click on 'Add Font....'
  3. Use any font
  4. Create object
  5. in the create event, type score = 1234567890
  6. in the Dtaw event type draw_text(x, y, string(score))
  7. run the game

Expected behavior

the score should be displayed "1234567890' but instead there is "1.234566+09" or something to that effect
font_corrupted2

Exceptions & Error Messages

Game Files & Screenshots

font_corrupted1
font_corrupted3_draw_event

Additional context

This is not a LateralGM bug, you are describing the scientific notation issue in ENIGMA.
enigma-dev/enigma-dev#488