I'm a bit confused here. I don't see anything when creating an animated sprite and how would I use this to draw my terrain? Wouldn't I still need to create as many sprites as the amount of tiles/splats that I need to draw? Or am I missing something?
agk::LoadImage(imageID, path);
agk::CreateSprite(spriteID, imageID);
agk::SetSpriteSize(spriteID, width, height);
agk::SetSpriteAnimation(spriteID, width, height, frames);
agk::SetSpriteOffset(spriteID ,width / 2, height / 2);
agk::SetSpritePosition (spriteID, 50, 50);
agk::SetSpriteFrame(spriteID, 1);
So there I create the sprite with the required properties and frames....but lets say in the main loop I set the sprite frame and position for each splat I need to draw, isn't it only going to draw the very last one every time? First things first though, as I said above, I currently don't see anything being drawn.