darijs1
Member
Basically, im trying to make very simple grass, from single lines (draw_line). The problem is, i have 1 piece of grass ready to go, but i want as many as an "ammount" variable would say.
To explain more simply and easy to understand, i have the draw event saying "draw_line(x,y,xx,yy)"
now how do i draw as many as i want without rewriting the code 50 times. each "draw_line" would have their own randomized position within a range (32 in this case.)
ive copy/pasted scripts that do something like this with "i += blablabla" but ive never done this myself and have no idea how to do it or what it means.
my appologies if i havent been very clear or do not know what im talking about.
To explain more simply and easy to understand, i have the draw event saying "draw_line(x,y,xx,yy)"
now how do i draw as many as i want without rewriting the code 50 times. each "draw_line" would have their own randomized position within a range (32 in this case.)
ive copy/pasted scripts that do something like this with "i += blablabla" but ive never done this myself and have no idea how to do it or what it means.
my appologies if i havent been very clear or do not know what im talking about.