Game Development Community

PVR issues with itgb 1.5

by Hitesh Patel · in iTorque 2D · 07/07/2012 (9:32 am) · 0 replies

I have created a 512 x 512 PVR (RGBA8888 & Image only). But when I try to use it in my game the graphics are totally messed up. My datablloack is as follows:

new t2dImageMapDatablock(spriteImageMap) {
imageName = "data/images/sprite";
imageMode = "CELL";
useHDImage = "1";
frameCount = "-1";
filterMode = "SMOOTH";
filterPad = "0";
preferPerf = "1";
cellRowOrder = "1";
cellOffsetX = "0";
cellOffsetY = "0";
cellStrideX = "0";
cellStrideY = "0";
cellCountX = "8";
cellCountY = "8";
cellWidth = "64";
cellHeight = "64";
preload = "1";
allowUnload = "0";
compressPVR = "0";
optimised = "1";
force16bit = "0";
};

Any ideas?