Game Graphics

Sprites

Downloaddraw_me()   Recreates the default Draw Event action. It draws the current subimage of the sprite belonging to the calling instance using the scaling, rotation, blending, and alpha settings of the instance. Downloaddraw_sprite_flip_ext(sprite,subimg,x,y,xscale,yscale,rot,color,alpha,fliph,flipv)   Draws a sprite flipped horizontally and/or vertically inside of its bounding box rather than about its origin. Downloaddraw_sprite_hud(sprite,subimg,x,y,xscale,yscale,rot,color,alpha)   Draws a HUD sprite in a certain position relative to the screen regardless of the view or rotation. Downloaddraw_sprite_inverted(sprite,subimg,x,y)   Draws a sprite subimage to the screen with inverted/negative colors. Downloaddraw_sprite_percent(sprite,amount,x,y,restrict)   Selects and draws a subimage of a sprite based on a percentage, useful for health or progress bars. Downloaddraw_sprite_stretched_direction(sprite,subimg,x,y,scale,dir)   Draws at the given location a sprite subimage stretched in a given direction. Downloaddraw_sprite_tiled_area(sprite,subimg,x,y,x1,y2,x2,y2)   Fills a rectangular region with a repeating subimage of a sprite. Downloaddraw_sprite_tiled_area_ext(sprite,subimg,x,y,x1,y2,x2,y2,color,alpha)   Fills a rectangular region with a repeating subimage of a sprite using color blending and alpha. Downloaddraw_sprite_wave(sprite,subimage,x,y,axis,wavelength,amplitude,phase)   Draws a sprite with wave-like distortion. Downloaddraw_sprite_wave_ext(sprite,subimage,x,y,axis,wavelength,amplitude,phase,xscale,yscale,blend,alpha)   Draws a sprite with wave-like distortion plus scaling, color blending, and alpha control. Downloadmotion_blur(length,direction)   Draws with motion blur, the current subimage of the sprite belonging to the calling instance using the scaling, rotation, blending, and alpha settings of the instance.

Comments? Click to Comment