Baldielocks,
First go to the folder with the brick images and change the file name "AGK_Breakout subimage.txt.txt" to "AGK_Breakout subimage.txt"--delete the extra ".txt" if your file shows an extra .txt--mine did. Now copy the "AGK_Breakout subimage.txt" file and the "AGK_Breakout.png" to the media folder of your project. You must then use the LoadSubImage command in your code to load each subimage. I do not know if the visual editor would be helpful, but if you have it, try it out.
Here is an example:
//
Project: Subimage Test
// Created: 2019-01-24
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "Subimage Test" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( 1024, 768 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 ) // since version 2.0.22 we can use nicer default fonts
ldimages() //load the images and sprites
do
Print( ScreenFPS() )
Sync()
loop
Function ldimages()
dim img[32]
imga=loadimage("AGK_Breakout.png") //This is the parent image
for i=1 to 32
If i < 10 //This if statment is used because the subimage txt file includes a zero in front of the numbers 1 through 9.
img[i]=LoadSubImage(imga,"brick"+"0"+str(i)) //get one image by virtual image name in "AGK_Breakout subimages.txt" file
Else
img[i]=LoadSubImage(imga,"brick"+str(i))
Endif
next
//-------------------------- dummy sprite for width & height because display aspect
spr=createsprite(img[1])
setspritesize(spr,-1,-1) //-1 = automatic height
w#=getspritewidth(spr)
h#=getspriteheight(spr)
deletesprite(spr)
//--------------------------
//-------------------------- some sprites on screen
i=1
for y#=50.0 to 700.0-h# step h#
for x#=0.0 to 1000.0-w# step w#
spr=createsprite(img[i])
setspriteposition(spr,x#,y#)
setspritesize(spr,w#,h#)
i=i+1
if i>32 then i=1
next
next
endfunction