A completely transparent sprite I think because I check if the sprite exist. I thought it was my code but when I made a program I did this. I am using the latest beta version of agk.
for(int icnt=firstcreatedsprite; icnt<lastcreatedsprite; icnt++)
{
agk::SetSpritePhysicsOn(inct,1);
agk::SetSpriteShape(icnt,3);//this is the spot it messes up
agk::SetSpriteShapeGroup(icnt,1);
}
So I even checked if the sprite existed or not.
for(int icnt=firstcreatedsprite; icnt<lastcreatedsprite; icnt++)
{
if(agk:GetSpriteExist(icnt))
{
agk::SetSpritePhysicsOn(inct);
agk::SetSpriteShape(icnt,3);//this is the spot it messes up
agk::SetSpriteShapeGroup(icnt,1);
}
}
and it did exist. if I commented the agk::SetSpriteShape out it works.
it says it is the file.\common\box2d\collision\shapes\b2polygonshape.cpp
I got this error: Expression count >3 && count <=12.
Developer of Space Chips, pianobasic, zipzapzoom, and vet pinball apps. Developed the tiled map engine seen on the showcase. Veteran for the military.