GameMaker (2.3)
Icon

draw_string_ext

zelenqk

You must be logged in to obtain assets

Description

With this script you can draw a string with multiple colors and even draw sprites inside it! The script automatically resizes the sprite to fit inside the string elements table

<sanitize> - with this element the script will not perform any actions after it no matter the elements inside the string but will keep arguments like color and alpha the same as they were before

<sprite= sprite_name, sub-image, sprite-alpha, xscale, yscale> - If you want to lets say set an image alpha you also need to provide a sub image since you cannot skip arguments but if you want to just draw a sprite you can do <sprite= sprite_name> you don't need to fill all arguments

<rgb=r, g, b, a> - arguments r g and b are mandatory while a for alpha isn't and alpha can be carried over from other elements if not specified

<hsv= h, s, v, a> - arguments h s and v are mandatory while a for alpha isn't and alpha can be carried over from other elements if not specified

<a=0.0 - 1.0> a can be from 0.0 to 1.0 since it is the alpha that will be used to draw the text or sprites

<r> reset any changes to text and or images related to color and alpha

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2.3 - Version 1.0.1. Published December 12, 2023

fixed a uuuuhh.... i forgor

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait