draw_sprite(sprite,subimg,x,y)

From ENIGMA

Jump to: navigation, search

Description

Draws the sprite with the selected subimage (-1 = current) at the chosen origin (x,y).

Parameters

Parameter Description
sprite the sprite to get the sub image from
subimg the sub image of the sprite to draw
x x coordinate of the point to draw the sprite at relative to its origin
y y coordinate

Return Values

void: This function does not return anything.

Example Call

// demonstrates drawing an objects sprite
draw_sprite(sprite_index, image_index, x, y);
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox