Description

GMS1.x ATTENTION! Load "constants.txt" to Macros (Resources -> Define Macros -> Load)

Starting v1.1 was addeded colors support. Use BBCode-like tags for it:

[c=FFFFFF] - set color (hexadecimal, RRGGBB)

Keep in mind that any tag interpreted as words sepearator.

If you want place "[" as char instead of tag, just double it: "[[". Example:

[c=ff0000] - tag [[c=ff0000] - text

justify_draw_text(text, left, right, top, font, [first_line_indent, space_width, space_height, [space_paragraph]])

use -1 in [first_line_indent, space_width, space_height] for default values

Returns: height in pixels

example:

justify_draw_text(text, 100, room_width - 100, 0, myfont);
justify_draw_text(text, 100, room_width - 100, 0, myfont, 80, 8, -1);
justify_draw_text(text, 100, room_width - 100, 0, myfont, -1, 8, -1);
justify_draw_text(text, 100, room_width - 100, 0, myfont, -1, -1, -1, 0);

End User Licence Agreement (EULA).

Changes in 1.1.1

Fixed a bug (in some cases last line might be missed)

Version 1.1.1. Published October 24, 2017

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Pol G 20 November 2018

Excellent support

Works great!
Besides, support is excellent, Dmi7ry did very quickly the feature I requested (different color coding) - faster than I expected ^^
Thanks for this script!


Gravatar

Moisés A 04 April 2018

Works

Support comes quickly too ^^


Gravatar

Marco V 11 December 2017


Gravatar

Łukasz Ś 02 November 2017


Gravatar

Anonymous 24 October 2017

Works great AND support is far above expected

This adds perfect right+left justification and hex colors inside the string. Pretty awesome for my text adventure.

Not only that, I had an issue where the last line of my strings weren't being drawn. I emailed Dmitry about the problem 2 hours ago and he came up with a solution for me just now, which was dead simple to implement. He also told me that he would be fixing the issue in an update. A+

Logo

Dmi7ry (Publisher) 24 October 2017

Thank you!


Gravatar

Ricardo Z 06 January 2017

Awesome

If you need to justify a text, this extension is a bargain and a must buy. The developer is very friendly and offer an awesome support in the case you need a new feature. Thank you so much for this excellent extension and your support, Dmitry.

This review was left for a previous version of this asset.

Logo

Dmi7ry (Publisher) 09 January 2017

Thank you, Ricardo!


Gravatar

Attila K 06 July 2016

THANK YOU

Exactly what I was looking for THANK YOU THANK YOU!!

This review was left for a previous version of this asset.

Logo

Dmi7ry (Publisher) 07 July 2016

Welcome. Thank you for review and vote.


Gravatar

Dawid K 23 January 2016

Great one

This provides what its prommis. Very nice one - thanks.

This review was left for a previous version of this asset.


Gravatar

Victor B 07 August 2015

Super!

Fast and high-quality solution, big thanks.

This review was left for a previous version of this asset.


Gravatar

Constantin G 02 October 2014

Wonderful

Does everything it promises and looks fantastic. Thanks a lot!

This review was left for a previous version of this asset.

Package contents

Loading, please wait

What is the issue?

Back to Top