I'm trying to dynamically add an everchanging amount of images to my screen through an everchanging ATL argument transform.
How many images is based off an integer that changes.
In this integer case I'd use a while loop, but I think range() is needed inside a screen, right? The problem for me is my dynamically changing ATL argument.
Code: Select all
for i in range(int):
add "myimage" at myATLtransform(number_needed_here)
$ number_needed_here += 1
So how can I get around this? Inside the screen would be my preference, but if it must be through a function/python, what is the simplest way to render images in a function? I can't seem to wrap my head around the documentation surrounding this, because mostly it's about creating a class to render? Which in this case, is overkill for my purposes.
Is there just one line of code that mimics the "add" functionality of screens that I can use inside a function?