Description

Looking for something that is faster than surface_getpixel? Well you came to the right stop.

Introducing buffer_getpixel scripts! This asset will provide you a short list of commands that will help you get a pixel color 10x faster than the average surface_getpixel command.

Its easy to set up and you can control on the performance it runs too.

Includes not only the default scripts with the buffer_getpixel, but it comes with buffer_getpixel_ext (to get the RGBA value) and it comes with separate scripts to pick up each color value individually.

So much reliability on this, this will become your replacement for surface_getpixel for sure. Its so fast, its likely possible to imitate shader effects with a color pick up code like this!

Get it now!

UPDATE 1.0.4 - Fixed bug that returns incorrect buffer index when after removing the buffer. - buffer_getpixel_end has been removed. Uses buffer_delete instead. - buffer_getpixel now relies only on one buffer index. - Two new arguments are applied for every buffer_getpixel command; width and height. Make sure to apply these changes to your code before running.

NOTE: The Width and Height specifies the surface size to use.

End User Licence Agreement (EULA).

Changes in 1.0.6

  • Notice that the colour formats were returning incorrectly since GMS follows an inverted pattern. The colour formats are now fixed with BGRA instead.

  • buffer_seek has been replaced with buffer_peek instead.

  • Minor fixes

Version 1.0.6. Published August 18, 2017

Created with GameMaker: Studio v1.4.1772

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Jacob G 25 September 2017


Gravatar

George M 30 August 2017

how do I use this?

There's a ReadMe folder but none of the files within it are readable. This is my first thing from the marketplace so maybe it's supposed to be obvious but help me out here.


Gravatar

Bart B 03 August 2017

Great!

Also, nice Minecraft build ;)

This review was left for a previous version of this asset.


Gravatar

Anonymous 03 July 2017

This review was left for a previous version of this asset.


Gravatar

Anonymous 18 May 2017

Improving the standard GM:S one asset at a time

This review was left for a previous version of this asset.


Gravatar

Ryan S 17 May 2017

Why is this not a built-in function???

Seriously, for my use case it was a 56x improvement. That's ridiculous!

This review was left for a previous version of this asset.


Gravatar

Iain B 09 May 2017

Much faster than surface_get_pixel

Used it to compare 2 images. Using surface_get_pixel took minutes. This buffer_get_pixel took seconds. Amazing speed improvement.

This review was left for a previous version of this asset.


Gravatar

Anders W 03 May 2017

Easy to use and very powerful

This review was left for a previous version of this asset.


Gravatar

Ali A 28 April 2017

its good

This review was left for a previous version of this asset.


Gravatar

amadou m 27 April 2017

Five stars for buffers.

-1 star because it's not expensive enough.

This review was left for a previous version of this asset.

What is the issue?

Back to Top