U
Ukaygee
Guest
Hey, so in my game, I have a list. The entirety of the list is being drawn using this code:
Now, what I want is for a check mark object to be created at the side of every entry of the list, I want the check marks to be able to remove the corresponding item in the list and itself... I have tried messing around with code for hours, but I can't seem to find anything that works.
I would want it to look like this
(So far, I have done this by adding the line "draw_sprite(sCheckMark,0,xx+(sprite_width-25),yy); )
Does anyone have any ideas?
Thanks!
Code:
var yy = y+5;
var xx = x+10;
var incval = 32;
for (var i = 0; i < ds_list_size(date); i++)
{
DrawAlignColour(fa_left,fa_top,c_black);
draw_text(xx,yy,ds_list_find_value(list,i));
yy += incval;
}
I would want it to look like this
(So far, I have done this by adding the line "draw_sprite(sCheckMark,0,xx+(sprite_width-25),yy); )
Does anyone have any ideas?
Thanks!