Yo
AGK is required in my class, and we have installed it. We go in to Visual Studios 2010, make a copy of the template, and work from there.
Basic code is:
// Includes, namespace and prototypes
#include "template.h"
using namespace AGK;
app App;
const int ScreenWidth = 640;
const int ScreenHeight = 480;
// Begin app, called once at the start
void app::Begin( void )
{
// Set the virtual resolution.
agk::setvirtualresolution(ScreenWidth, ScreenHeight);
}
// Main loop, called every frame
void app::Loop ( void )
{
}
// Called when the app ends
void app::End ( void )
{
}
but the AppGameKit is not recognized to begin with. it says:
Error: namespace must be a namespace name
I figure that means the AppGameKit needs to be installed in some special way to be recognized by VS2010.
Please help.