示例#1
0
CParticleSystem* CGameScene::PushEffect(float x, float y)
{
	CParticleSystem *p = new CParticleSystem("resource/particle/particle.png",50);
	p->SetPosition(x, y);
	m_pEffectScene->PushScene(p);
	return p;
}
示例#2
0
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();
}