GameMaker Font sprite spacing issue

D

Dr Nitronio

Guest
So I'm trying to add custom font using sprites and it works mainly fine. besides the spaces between words. Am I doing something wrong with the coding or do I need to do something with the sprite? I made sure it's all in the correct order for the string.

(font sprite setup with the last frame being for space)

upload_2018-11-1_6-4-38.png

(font code)

upload_2018-11-1_5-59-18.png

(the code executing the drawing of the font)

upload_2018-11-1_6-2-24.png

(the font example on how it doesn't do spacing between words)

upload_2018-11-1_6-3-5.png
 
Top