This repository has been archived by the owner on Jul 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
CSD Format 0.1
psineur edited this page May 17, 2011
·
1 revision
CSD is a PLIST file, that contains info about bg layer and sprites (in 0.1)
Example (plist saved as text plist with plistEditor):
{ // Root - Dictionary
background = { //< Dictionary
anchorX = 0;
anchorY = 0;
colorB = 28;
colorG = 41;
colorR = 122;
opacity = 185;
posX = 0;
posY = 0;
posZ = 0;
relativeAnchor = NO;
rotation = 0;
scaleX = 1;
scaleY = 1;
stageHeight = 600;
stageWidth = 800;
};
children = ( //< Array
{
anchorX = 0.5;
anchorY = 0.5;
colorB = 255;
colorG = 255;
colorR = 255;
filename = "/Users/psi/Desktop/cocoshop example #1/cocoLogoText.png";
flipX = NO;
flipY = NO;
name = "cocoLogoText_png"; //< unique id
opacity = 255;
posX = -111;
posY = -149;
posZ = 0;
relativeAnchor = NO;
rotation = 0;
scaleX = 0.699999988079071;
scaleY = 0.699999988079071;
},
{
anchorX = 0.8899999856948853;
anchorY = 0.8999999761581421;
colorB = 255;
colorG = 255;
colorR = 255;
filename = "/Users/psi/Desktop/cocoshop example #1/Kenny.png";
flipX = NO;
flipY = NO;
name = "Kenny_png";
opacity = 255;
posX = 761;
posY = 348;
posZ = 4;
relativeAnchor = YES;
rotation = 14.34019184112549;
scaleX = 1;
scaleY = 1;
},
);
}