
// Project: test images 
// Created: 2015-11-01

// set window properties
SetWindowTitle( "test images" )
SetWindowSize( 1024, 768, 0 )

// set display properties
SetVirtualResolution( 1024, 768 )
SetOrientationAllowed( 1, 1, 1, 1 )


	image_1=100
	counter=1


////////////////////////load image///////////////////////////////
	loadimage ( image_1, "test_image_1 (1).png" )  ``640,400 
	
	createsprite ( image_1, image_1 ) : setspritedepth ( image_1, 51 )

///////////////image anim 1//////////////////////////////////////////////////
	for t=2 to 300 //22
		AddSpriteAnimationFrame ( image_1, loadimage ("test_image_1 ("+str(t)+").png"  ) )
		print ("loading image number: " + str(t))
		counter=counter+1
		
		sync()
	next t


do
    playsprite (image_1)

    Print( ScreenFPS() )
    print( "images loaded: "+str(counter) )
    Sync()
loop
