draw_getpixel

  1. Enkim

    Getpixel problem

    The draw_getpixel in my game script works perfectly on any other devices, but on one of my lapotps it doesn't. On that laptop draw_getpixel always return 0. On other devices it returns correct pixel value. I tested it with the same project files and exe files of the same game. What could be the...
  2. W

    SOLVED Problems with draw_getpixel [GMS 2.3+]

    I am utilizing a grid-based battle system and I want the attacks to flip the tiles they affect in the range that differs between attacks. I want to be able to easily create these attack ranges via sprites as shown with the black and white example. It currently draws the sprite to the top left of...
  3. D

    Legacy GM [Solved] draw_getpixel problem

    Hello, I have a problem with function draw_getpixel. var R,G,B; var i = C_Sound; draw_set_color(c_white); draw_sprite_general(spr_exodus_colour,0,0,0,200,200,view_xview+view_wview-220,view_yview+20,1,1,0,c_white,C_Sound_bar[0],C_Sound_bar[0],c_white,1)...
  4. Roderick

    How often is too much?

    From draw_getpixel: The script I'm planning on using it in would be checking a 16x16 pixel square (256 checks) in a single Step. The script would only be called once every several seconds, and would never be called more than once in a single Step. Is this likely to cause any noticeable slowdown?
  5. E

    [SOLVED] draw_getpixel returns only 0

    draw_getpixel returns 0 no matter what I do. I have tried using different colours, different coordinates. How do I use this correctly? I have tried using draw_getpixel_ext and that returns a value. But when I use colour_get_value it returns a 0; Here is the code from my test program...
Top