It seems that the first two image IDs of an Atlas texture are the same.
Or is it just me doing something stupid?
This is the subimage file I'm using:
0:0:0:16:16
1:0:16:16:16
2:16:0:16:16
3:16:16:16:16
And this is the test code:
imgList as integer[]
img = LoadImage( "testImage.png" )
for k = 0 to 3
imgList.insert( LoadSubImage( img, str(k) ))
next k
do
for k = 0 to 3
print( imgList[k] )
next k
Sync()
loop
The code simply extracts the sub images (any image will do) and displays a list of the image IDs assigned to it.
The results of the test are:
10002
10002
10003
10004
As you can see, the first two are the same but what happened to 10001?
I'm using 2.0.14b
AGK V2 user - Tier 1 (mostly)