Here is a little offending example + related images.
What am I doing wrong???
#include "template.h"
using namespace AGK;
app App;
void Loader ();
void app::Begin(void)
{
agk::SetVirtualResolution (768, 1024);
agk::SetResolutionMode (1);
agk::SetOrientationAllowed (1, 1, 0, 0);
agk::Sync();
agk::SetPhysicsDebugOn();
Loader();
}
void app::Loop (void)
{
agk::Sync();
}
void app::End (void)
{
}
void Loader (void)
{
int p0_0 = agk::LoadImage ("p0.png");
int cloud = agk::CreateSprite (agk::LoadSubImage (p0_0, "cloud.png"));
agk::SetSpritePosition (cloud, 20, 20);
int hat = agk::CreateSprite (agk::LoadSubImage (p0_0, "hat.png"));
agk::SetSpritePosition (hat, 110, 480);
agk::SetSpriteShape (cloud, 3);
agk::SetSpriteShape (hat, 3);
}