I have been trying to track down a bug that causes my Tier 2 WIP to crash when I attempt to replay a specific level. If I fail the level, I can retry it with no problem. But, if I pass it and use the Retry option, it crashes. The problem appears to be in timing of creating/deleting sprites, syncing and physics. I'll figure it out.
But the thing that amuses me is the error message that pops up (assertion fails!):
[quote]File: C:\TGCSHARED\AGKWorkspace\GDKPro\.../b2DynamicTree.h line 159"
GDKPro? Really?
And, of course, there is no such directory (at any level mentioned) on the computer. And The file mentioned (as either b2DynamicTree.h or DynamicTree.h) does not exist on my computer.
But the call stack does show (in reverse order):
app::Loop()
the_player::step_physics()
AGK::agk::StepPhysics(float time)
b2World::Step(....)
b2ContactManager::Collide()
b2BroadPhase::TestOverlap(...)
b2DynamicTree::GetFatAAB(...)
_wassert(...)
But, clearly, AppGameKit was based on the GDK library and some assertions and things are still hanging around.
Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master