This commit is contained in:
parent
4e45a631d0
commit
d3062a046c
4 changed files with 57 additions and 8 deletions
|
@ -1161,6 +1161,7 @@ if(PadGetDown(0)&PAD_TRIANGLE)
|
|||
{
|
||||
m_cameraPos.vx=m_currentCamFocusPoint.vx;
|
||||
m_cameraPos.vy=m_currentCamFocusPoint.vy+yoff;
|
||||
CGameScene::shakeCamera(m_cameraPos);
|
||||
}
|
||||
|
||||
// Limit camera scroll to the edges of the map
|
||||
|
|
|
@ -187,6 +187,7 @@ void CPlayerStateButtBounceLand::enter(CPlayerModeBase *_playerMode)
|
|||
if(!m_bounceOffFloor)
|
||||
{
|
||||
CPadVibrationManager::setVibration(0,CPadVibrationManager::VIBE_SHORT);
|
||||
CGameScene::setCameraShake(0,8);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -226,6 +227,7 @@ void CPlayerStateButtBounceUp::enter(CPlayerModeBase *_playerMode)
|
|||
pos=_playerMode->getPlayerPos();
|
||||
CGameBubicleFactory::spawnBubicles(pos.vx-20,pos.vy,40,10,CGameBubicleFactory::TYPE_MEDIUM);
|
||||
CPadVibrationManager::setVibration(0,CPadVibrationManager::VIBE_MEDIUM);
|
||||
CGameScene::setCameraShake(0,8);
|
||||
}
|
||||
|
||||
_playerMode->setAnimNo(ANIM_SPONGEBOB_BUTTBOUNCEEND);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue