void CGameScene::PushEffect(float x, float y) { CParticleSystem *p = new CParticleSystem("resource/particle/particle.png", 50); p->SetPosition(x, y); p->setScalep(1, 1); p->setColor1(400, 200, 220, 200); p->setLife(0.2, 0.3); m_pEffectScene->PushScene(p); p->start(); }