I have found some examples I can use as a for(i) command, but I don't know how to do it with the panels
This gives you an array of panels:
// global declaration:
PANEL* my_panel_array[10];
...
// create them once:
for(i = 0; i < 10; i++) my_panel_array[i] = pan_create("",1);
Now you can access every panel and assign different bitmaps, positions and so on, f.i. my_panel_array[4].bmap = cookie_bmp;
I really don't need it to be a panel, just a bitmap is what I need (with specific coordinates of course).
Have a look at
draw_quad, you can draw bitmaps without the need for panels anywhere on the screen.