GameMaker Studio 2 (2.3)
Icon

Fast textbox engine

Appsurd

You must be logged in to obtain assets

Description

Introduction

This is a fast Textbox Engine in pure GML available for GMS 2.3+. Using these scripts is very easy: Just import the scripts in your project and you are ready to go! We have included the scrolling script from the SmoothScrolling tutorial to demonstrate the efficiency of this Textbox Engine for large texts!

How does it work?

  • The script initialises the textbox by placing the text into arrays
  • You can customise the colour e.g. using <c=c_black> and the font using <f=fnt_20>
  • After the initialisation is done, the text is drawn in the Draw Event

Advantages

  • Very fast due to initialisation, much faster than other engines (pure GML!)
  • Change both colours and fonts in the text
  • Flexible, as you can call draw_textbox_init whenever you want
  • Different fonts will not be drawn over each other

Further information

For colours, you can use the internal GM colours, like c_black. If you want to add more colours, add them to draw_textbox_data manually. For fonts, first create a font with a name. Then add it manually to draw_textbox_data. The example should be clear enough to get you started!

Conclusion

If you have any suggestions or found a bug, please let us know so we can improve our product! Rating and sharing will be appreciated! :)

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2.3 - Version 1.1.0. Published August 26, 2021

  • Update to GMS 2.3+
Privacy Policy
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait