• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Operation With Sprites without creating object

Sourav

Member
I have generated a scroll view after watching a video where continuously generates sprites with a loop. but now I have to work with these generated sprites . if the sprite lies in a specific position then will change the index. Is it possible to create?
I used these codes for scroll view :

for(i = 1 ; i < 50 ; i++){
yy = (((btn_height / 2)+spaceBetweenItem) * i) + scr_scrollable_get_scroll_data(obj_scrollable) ;
draw_sprite(spr_btn,0,screenWidth/2, yy );
}
 

Attachments

Top