A downloadable asset pack for Windows, macOS, Linux, and Android

Buy Now$1.00 USD or more

Format the strings and numbers by 8 different ways and get 1 bonus function for sprite frames.

Works fine in every platform.

Functions:

  • sprite_format_anim(sprite, speed) - put it in the draw event and it will draw sprite animation in real time string_format_startupper(string) - every string can start with upper-case now
  • string_format_resize(string, maxPX) - fit strang in every width and adds "..." - "Hello World" -> "Hell..." string_format_numcode(index, length) - format the number to fit every length
  • string_format_cleanreal(index) - "2.50" -> "2.5" string_format_cash_set(tousands, millions, billions, trillions, quadrillion, quintillion) - set different string for every cash format
  • string_format_cash(index, full) - formats the number to cash - "4530" -> "4 530" or "4,53k" string_format_time(timeinsec) - "121" -> "1:01"
  • string_format_time_ext(timeinsec, dstr, hstr, mstr, sstr, full) - formats time - "530" -> "8m 50s"

Put STRING functions whenever you want. They act like string() function. Put SPRITE function in draw_sprite  functions, or store it in variable, like 

var _fr = sprite_format_anim(spr_coin, 0.1);   // and use it later.

I hope this will be helpful for you :D

Tip: Use this functions outside Draw Event for larger projects for better performance.

Purchase

Buy Now$1.00 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $1 USD. You will get access to the following files:

String Formatting for GameMaker 2.3+ 84 kB

Leave a comment

Log in with itch.io to leave a comment.