Should this not produce a sprite that is rectangular and yellow?
When I step through in debug mode, I can see the box drawn, but then I do not see the sprite. I have done this in the past and it has worked. Am I missing something this time??
unsigned int c_black;
int imgTest;
int sprTest;
c_black = agk::MakeColor(255, 255, 0);
agk::DrawBox(1.0, 1.0, 60.0, 30.0, c_black, c_black, c_black, c_black, 1);
agk::Sync();
imgTest = agk::GetImage(0.0, 0.0, 61.0, 31.0);
sprTest = agk::CreateSprite(imgTest);
agk::ClearScreen();
agk::SetSpritePosition(sprTest, 10, 10);
agk::SetSpriteDepth(sprTest, 1);
agk::SetSpriteVisible(sprTest, 1);
agk::Sync();
home.wavecable.com/~mindsclay