hema
13th July 2011, 04:04
hi,
i have a doubt in stickman demo project.
anyone please clear
Animation animation;
{
QFile file(animationFileName);
if (file.open(QIODevice::ReadOnly))
animation.load(&file);
}
const int frameCount = animation.totalFrames();
in this code,animation file name is "dead" with "file" ext.what does file contains?
what it returns while loading?
please clear my doubt.
thanks in advance.
i have a doubt in stickman demo project.
anyone please clear
Animation animation;
{
QFile file(animationFileName);
if (file.open(QIODevice::ReadOnly))
animation.load(&file);
}
const int frameCount = animation.totalFrames();
in this code,animation file name is "dead" with "file" ext.what does file contains?
what it returns while loading?
please clear my doubt.
thanks in advance.