Size s = Director::getInstance()->getVisibleSize(); Vec2 origin = Director::getInstance()->getVisibleOrigin(); ParticleSnow *snow = ParticleSnow::create(); snow->setPosition(Point(s.width/2,s.height)); snow->setTextureWithRect(Director::getInstance()->getTextureCache()->addImage("snow.png"),Rect(0,0,64,64)); addChild(snow);