This set of scripts let you create highlighting syntaxes, then draw a string of text with the syntax highlighted in real time, just as you would use draw_text(x,y,string). Brilliant for any applications or games that involve the user viewing code snippets.
Incredibly easy to use. Create a syntax group with syntax_create(), add colour groups with syntax_add_group(), then add keywords to the group with syntax_add_keyword(). Draw the syntax highlighted code in the draw event, with draw_text_syntax().
I have added GML's syntax as an example (included in this asset). It currently uses Game Maker Studios dark colour scheme.
Version 1.0.0. Published October 24, 2014
Created with GameMaker: Studio v1.4.1398
This asset hasn't received enough reviews yet.
You can only review assets you've bought.
No reviews have been left for this asset - be the first!