Icon

Fast textbox engine

Appsurd

You must be logged in to obtain assets

Description

Introduction

We present you a fast textbox engine by Appsurd! Tested on GMS 1.4, should work on GMS 2 as well, except for the scrolling part. You must first initialise the textbox, and draw it in the Draw Event! You can change a colour using a <c=c_black> tag and the font using <f=fnt_20>. We also included a scrolling script, from our mini-tutorial Smooth Scrolling such that you can scroll through long texts. If you buy the asset, you can contact us anytime, and we will try to help/resolve the issue. Please give credits to Appsurd when you use these secripts in commercial and non-commercial projects.

Advantages

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

Disadvanatages

  • Cannot be used to draw the text letter by letter
  • The '>' character cannot be used in plain text
  • The '#' character cannot be used in plain text, it is treated as a linebreak

Note that

  • Using different fonts on one line might result into strange-looking texts

Information

For colours, use the internal GM code, 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 how this works.

Conclusion

If you have any improvements or if you found a bug, please tell us so we can improve it! Rating and sharing will be appreciated! :)

End User Licence Agreement (EULA).

Age Rating: None

Version

GMS1 - Version 1.0.0. Published August 10, 2018

First version of the engine

Privacy Policy
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait