Asset - Scripts ATEX extension

Vishnya

Member
ATEX - extension for advanced text drawing

You can add text with images, animations, different fonts and colours, oulines, underlines, links that executing scripts or open urls, different effects like waves, shake and you can create your own effect




Features:

  • You can combine tags without any limits

  • High customization

  • Easy to start

  • Stable work without alerts if you or user input wrong tags or arguments

  • You can limit width of text, break lines, change halign and valign of any lines, and set count of symbols that will be drawn(images are considered as 1 symbol) for typewriter effect(for example)

  • Word wrapping

  • Justify text

  • You can create your own tags and effects

  • Three ways of drawing text with different features and capabilities

  • Works in GMS1 and GMS2

  • Animations

Supported tags:

  • ts_image - insert image in text

  • ts_line - line break

  • ts_lineback - line break without changing line's y-position

  • ts_font - change font

  • ts_outlime - set or reset outline

  • ts_underline - set or reset underline

  • ts_shadow - set or reset shadow of text

  • ts_link - set link on url or script_index, for example:

    txt='please visit our '+ts_colour(c_green)+ts_link('https://mysite.com', c_red)+'site'+ts_link()

  • ts_halign - change halign of current line

  • ts_valign - change balign of current line

  • ts_colour - change colour of text

  • ts_space - insert empty space(you can change width of the space)

  • ts_wave - text wave

  • ts_shake - shaking text

  • ts_script - user's effect
Also you can create your one tags, effects, constants and keywords

All tags and their arguments showed in tutorial inside extension or in DOCUMENTATION

Screenshots:




GIF:




Link to extension: https://marketplace.yoyogames.com/assets/6533/atex


Also you can create or download extensions for ATEX extension. Official extensions for ATEX:
basicset - easy extension that makes it easy to edit text
DOWNLOAD

Last version
 
Last edited:
L

Lahssoo

Guest
Just tried it, it looks pretty nice! I'm going to delve into the code now.
Thanks :3

BTW, it works fine in GMS2 with a single change in ts_smoothspace.gml line 8 : replacing ' with ".
 
Last edited by a moderator:
L

Lahssoo

Guest
typo in ts_delete_lastchar line 43 : en=crag[| 2] should be en=ctag[| 2]
 

MeBoingus

Member
Fantastic asset! A recommendation to most game creators, as it really simplifies the drawing process.

Quick question: When using ts_image - is there any way to set the image_index of the sprite being added? This would make a huge difference, as it would allow users to add variable-controlled images to the text.

I.E. if a user wanted to display a gold coin instead of a silver coin when the coin variable was > 100, for example.
 

Vishnya

Member
!UPDATE!
version: 1.5.1

changes:
  • Now you can insert animation with any image_speed(frames per second)
  • And you can place specified frames of any sprite
  • Fixed small bug in ts_image
I place project with extension here because marketplace didn't load update:

EKSTANSHEON
 

MeBoingus

Member
Fantastic update! Thank you very much!

Just a suggestion - but why don't you try editing your original post to include a link to the update?
 

Vishnya

Member
OMG MOM TURN ON MY COMPUTER!
I should update ATEX extension in my project to NEW version!
New version features:
  • Clear :)
  • Useful :D
  • Powerful :mad:
  • Fast* :cool:
  • And absolutely FREE:eek::eek::eek:
Just keep watching and write your feedback, and extension will be ! PERFECTLY !


*not sure that it will be fast, i didn't end it yet
(it is good announce, isn't it?)
 
Top