Skip to content

Commit

Permalink
Adiciona bozosong e novo cenario feitos pela Inara
Browse files Browse the repository at this point in the history
  • Loading branch information
dremendes committed Apr 9, 2020
1 parent d7037b0 commit 0fce52a
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 28 deletions.
38 changes: 19 additions & 19 deletions Bozorun.js

Large diffs are not rendered by default.

Binary file added assets/images/backgrounds/bgnovo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/backgrounds/bgnovo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/backgrounds/bgnovo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/backgrounds/bgnovo3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/backgrounds/bgnovo4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/backgrounds/bgnovo5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/backgrounds/bgnovo6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/sky.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/music/We're the Resistors.mp3
Binary file not shown.
Binary file removed assets/music/We're the Resistors.ogg
Binary file not shown.
Binary file added assets/music/bozosong.ogg
Binary file not shown.
2 changes: 1 addition & 1 deletion manifest/default.json

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions source/BozoRunGameState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ class BozoRunGameState extends FlxState
// make sure world is wide enough, 100,000 tiles should be enough...
FlxG.worldBounds.setSize(TILE_WIDTH * 100000, 300);

// background music
FlxG.sound.playMusic("assets/music/We're the Resistors.ogg");

configurarFundo();

configurarBozo();
Expand All @@ -134,7 +131,7 @@ class BozoRunGameState extends FlxState
private inline function configurarFundo():Void
{
_bgImg0 = new FlxBackdrop(AssetPaths.sky__png, 0.1, 0, true, false, 0, 0);
_bgImg3 = new FlxBackdrop(AssetPaths.foreground__png, 0.4, 0, true, false, 0, 0);
_bgImg3 = new FlxBackdrop(AssetPaths.bgnovo__png, 0.4, 0, true, false, 0, 0);
_bgImgGrp = new FlxGroup();

_bgImgGrp.add(_bgImg0);
Expand Down Expand Up @@ -226,8 +223,9 @@ class BozoRunGameState extends FlxState
_laranja3.visible = false;
add(_laranja3);

_bgImg3.y -= 94;

_bgImg3.y += 30;
_bgImg0.y -= 90;

_score = _record;
}

Expand Down
7 changes: 5 additions & 2 deletions source/MainMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class MainMenuState extends FlxState
FlxG.mouse.visible = true;
#end

ceu = new FlxSprite().loadGraphic(AssetPaths.sky__png, false, 300, 300);
ceu.scale.set(0.967, 1);
ceu = new FlxSprite().loadGraphic(AssetPaths.sky__png, false, 301, 300);
ceu.scale.set(0.995, 1);
ceu.updateHitbox();
ceu.y -= 70;
ceu.x += paddingSide;
Expand Down Expand Up @@ -161,6 +161,9 @@ class MainMenuState extends FlxState
#end

add(BtnRun);

// música de fundo
FlxG.sound.playMusic("assets/music/bozosong.ogg");
}

override public function update(elapsed:Float):Void
Expand Down

0 comments on commit 0fce52a

Please sign in to comment.