Afegides les animacions noves per al segon jugador
sustituides les paletes de .gif a .pal canviat smb.gif a smb.png i smb_grad.png
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
// Constructor
|
||||
Title::Title()
|
||||
: text_(Resource::get()->getText("smb2")),
|
||||
: text_(Resource::get()->getText("smb2_grad")),
|
||||
fade_(std::make_unique<Fade>()),
|
||||
tiled_bg_(std::make_unique<TiledBG>(param.game.game_area.rect, TiledBGMode::RANDOM)),
|
||||
game_logo_(std::make_unique<GameLogo>(param.game.game_area.center_x, param.title.title_c_c_position)),
|
||||
@@ -43,7 +43,6 @@ Title::Title()
|
||||
fade_->setColor(param.fade.color);
|
||||
fade_->setType(FadeType::RANDOM_SQUARE);
|
||||
fade_->setPostDuration(param.fade.post_duration);
|
||||
Resource::get()->getTexture("smb2.gif")->setPalette(1);
|
||||
|
||||
// Asigna valores a otras variables
|
||||
Section::options = Section::Options::TITLE_1;
|
||||
@@ -60,7 +59,6 @@ Title::Title()
|
||||
// Destructor
|
||||
Title::~Title()
|
||||
{
|
||||
Resource::get()->getTexture("smb2.gif")->setPalette(0);
|
||||
Audio::get()->stopAllSounds();
|
||||
if (Section::name == Section::Name::LOGO)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user