// All KPL programs start with the word "Program" followed by the // name of your program, and end with the words "End Program". Program NewProgram // This is the starting point of the program, and is 'called' // by KPL automatically when the program is run. // // To expand this method, double-click on the box below or click // the plus symbol to the left of the words "Method Main()" Method Main() Define flag As Bool flag = True LoadSprite ("CALVIN", "Animated.gif") ShowSprite ("CALVIN") Define Timeline As Int[11] Timeline[1] = 100 Timeline[2] = 100 Timeline[3] = 100 Timeline[4] = 100 Timeline[5] = 100 Timeline[6] = 100 Timeline[7] = 100 Timeline[8] = 100 Timeline[9] = 100 Timeline[10] = 100 Timeline[11] = 100 SetSpriteAnimationTimeline("CALVIN", True, Timeline ) While flag = True MoveSpriteToPoint("CALVIN", 0,0) End While End Method End Program