I am trying to create a very basic sprite image.
First off i have an existing image (Width=100px, Height=100px).
I will be looping through this image between 10 and 100 times, each time placing it on the sprite next to the previous one.
The sprite is limited to 3000px wide.
Placing the images next to each other is fine, cause i can just combine them with a simple method, however, i need to limit the width of the combined images to 3000px, then start on a new line.
Let me try with some pseudocode: