Skip to content

13eryllium/gml-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

GML Scripts

A repository of GML scripts I've made.

Drawing

draw_sprite_anchored_ext(sprite,subimg,x,y,xscale,yscale,rot,col,alpha,xoff,yoff)

Draws a sprite at an anchored offset.

draw_sprite_anchored_ext(spr_cat,0,x,y,image_xscale,image_yscale,image_angle,image_blend,image_alpha,0.5,0);

Assuming that spr_cat has its origin set to middle center, this draws the sprite as if it were anchored on middle right.

JSON

read_and_parse(file name)

Reads a JSON file as a string and parses it into a struct/array.

var path = program_directory + "test.json";
data = read_and_parse(path);

About

A repository of GML scripts I've made.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published