Welcome

The mission of GMLscripts.com is to provide the highest quality GameMaker: Studio scripts available. These GML scripts are completely free for use in your GameMaker projects. Credit is never required but is always appreciated.

This is a collaboration. Every script on this website has been donated by a GameMaker user just like you. If you have a useful script, or have improved an existing one, please consider donating it.


March 1, 2015Irregular Monthly Update for March

Another four weeks and a lot of progress. Not as much as I'd hoped but doing well.

On the site side of things, most of the changes have been minor tweaks, both visual and semantic. The only major new feature is a system for identifying recently changed scripts. Any script changed or added in the last 30 days will display an icon (currently a lightning bolt). Along with this, I've added a section to the landing page which displays the most recently updated scripts.

As far as the scripts themselves go, I think all remaining scripts have been ported to GM:Studio. More documentation and demonstrations have been added and there will be much more to come. Some optimizations and bug fixes have made it into the mix as well.

Some new scripts which have been added include:

  • draw_sprite_halfpixel - Draws a sprite transformed about the center of its origin pixel instead of the top-left corner.

  • ds_grid_draw - Draws the data of a given grid at a screen location.

  • ds_grid_filter_gaussian - Performs a Gaussian convolution on a given grid.

  • ds_grid_filter_gaussian_wrap - Performs a Gaussian convolution on a given grid, wrapping around the boundaries of the grid if needed.

  • ds_grid_get_bicubic - Returns the bicubic interpolation of the sixteen grid cells surrounding the given fractional coordinate.

  • ds_grid_get_bilinear - Returns the bilinear interpolation of the four grid cells surrounding a given fractional coordinate.

  • string_nato - Returns a given string as expressed by the Nato phonetic alphabet.

There are many more new scripts in the pipe.

I wish I had been able to do more but recent events have taken focus off of the site.

I'm now lead engineer on SilverQuest: Gaiden, a game in Steam Early Access. I've been working full-tilt to get up to speed with the vast amount of code that's been dropped into my lap. It's a bit like reverse engineering, figuring out how things work, which is something that greatly appeals to me. But, it's also been a monumental chore cleaning up code so that I can more easily understand and manage it. As I write this, almost all of the legacy code is now formatted to my liking but there is still much to learn about the way this game does things. In the long view, I can see a lot of refactoring will need to be done to improve performance and facilitate more features and more robust modding.

In another week, once a few more bugs have been squashed and a new update has been pushed onto Steam, I should be able to make more time for the site.

Stats for February

Website: 25 commits, 17 files changed, 88 insertions(+), 2214 deletions(-)

Scripts: 125 commits, 111 files changed, 1379 insertions(+), 212 deletions(-)

Posted by xot at 12:02 AM - Comments: 0

Read More News


Recent Changes

draw_background_tiled_area(background,x,y,x1,y2,x2,y2)
Draws a repeated background image, tiled to fill a given region and with a given offset.
draw_sprite_tiled_area_ext(sprite,subimg,x,y,x1,y2,x2,y2,color,alpha)
Draws a repeated sprite image, tiled to fill a given region and with a given offset.
draw_sprite_tiled_area(sprite,subimg,x,y,x1,y2,x2,y2)
Draws a repeated sprite image, tiled to fill a given region and with a given offset.
sprite_replace_color(sprite,oldcolor,newcolor)
Replaces one color in a given sprite with another.
draw_background_tiled_area_ext(background,x,y,x1,y2,x2,y2,color,alpha)
Draws a repeated background image, tiled to fill a given region and with a given offset.
string_nato(text)
Returns a given string as expressed by the Nato phonetic alphabet.
save_screenshot(name,folder)
Saves a successively numbered screenshot within the working directory.
gauss(mean,deviation)
Returns a pseudo-random number with an exact Gaussian distribution.
roll_dice(num,sides)
Returns the sum of a number of die rolls using dice with a given number of sides.
exp_dist(mean)
Returns a random number with exponential distribution.
factorial(number)
Returns the factorial of a given number.
draw_sprite_inverted_ext(sprite,subimage,x,y,xscale,yscale,rot,color,alpha)
Draws a sprite with inverted colors.
draw_sprite_inverted(sprite,subimage,x,y)
Draws a sprite with inverted colors.
word_max_value(length,size)
Returns the largest unsigned integer that can be stored in a given number of words of a given size.
value_min_bits(n,size)
Returns the smallest number of words of a given size that can be used to store a given value.

Recent Comments

Powered by Disqus