F
Freedom2Fight
Guest
I've been trying to achieve this:
I can move the images left and right but I'm having trouble making the images to cycle as shown above.
Pressing right key increases the variable [item] and pressing left key decreases [item].
For drawing the images:
I can move the images left and right but I'm having trouble making the images to cycle as shown above.
Pressing right key increases the variable [item] and pressing left key decreases [item].
For drawing the images:
Code:
for (i = 0; i < 3; i += 1)
{
draw_sprite(spr_images, list_images[|i + item],550 + (i*120),display_get_gui_height()-50);
}