Here is the original post (also pasted back in above).
The purpose of a forum is to benefit everyone, not delete your post when you have your answer
-------------------
I have created one large image with 9 'frames' of images, much like an old fashion real of film.
I made it using Windows Paint. and made on large sprite with 8 images on it.
I then animated it and can play it forward and backwards, using AGK2
It animated pretty good, but I noticed it wavers a bit, and does not stayed centered very well.
Therefore, I am seeking a better way to do it. Is there an application I can use ? I want it to look more professional.
//
// Project: Play a sprite
// Created: 2017-10-14
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "Play a sprite" )
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
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
// load resources
Right_up = CreateSprite(LoadImage("RU.png"))
// create initial layout
// SetSpriteSize( iSpriteIndex, width, height )
SetSpriteSize(Right_up,-1,498)
SetSpritePosition(Right_up,10,150)
// width height
SetSpriteAnimation(Right_up,240, 240, 9)
// PlaySprite(Right_up)
// PlaySprite ( Right_up, fps, loop or, first, last )
PlaySprite ( Right_up, 10, 1, 0, 8 )
do
Sync()
loop
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt