I wanna create a background by using loops but seems like its not possible to create
Please specify.
Do you want to set backgrounds in an app or device backgrounds?
What exactly do you want to know/get help with? Just the loops or the way you can set a background?
Thanks
Loops are for walking through lists behind the scenes.
A Clock Timer fed from a list is the best for visual loops.
I wanna make a gif on background of login screen but by using loops any loops
I tried Clock timer but its not work
You could make a loop to display images on after another like this:
Clock settings: Not enabled and Interval custom (20FPS - 50ms; 10FPS - 100ms)
You need to adjust the length (and content) of the list aswell as the FrameCount variable too.
Switch the „frame 1“ and so on blocks with these ones (your actual frames):
HQ2000
Send pictures of your blocks then
I did like this its works but its not a loops
Better use these blocks
or include the actual path (im not 100% sure, ABG can help you better with that…)
can you give me advice or some structure about how can I create a background gif by using loops instead of using if statement
As far as I know there is no dedicated „loop“ block where you can set a custom delay…the way you did it is prob the easiest way to do this…
thx so much man
The if statement is important here because otherwise the counter only increments which would quickly lead to an error
Actually there is while and for loops in control but idk how to manage then for background gif
yeah but I think there is no efficient way to utilize this block for this purpose because you can‘t set a delay. When it finished its blocks inside it directly starts again…which could, if you set the statement it refers to to „true“, actually easily make your app unable to react…
Your blocks are perhaps the most concise way of achieving your goal.
I am not sure why it does not loop. Is there anything else stopping the clock ? What interval is the clock timer set to ? Are all images 1.png - 32.png stored in your assets ?
Can you share your aia project for testing ?
Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.
.
there is nothing what's stop the clock i just wanna make a same action with FOR or WHILE loop coz its my assignment
Okay, here's a way to build an image you can use for the background.
Use a Canvas and loop for 12 times, each time drawing a different color circle in a different location, to make a polkadot image.
Save the canvas to a file.
Use that file for your background image.
That uses loops, like you asked.