Skip to content

Commit

Permalink
lopez fights student!
Browse files Browse the repository at this point in the history
  • Loading branch information
katiek27 committed Jan 11, 2024
1 parent dd9c996 commit b41367f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions _posts/2023-11-27-oopgamelevels.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,12 @@ image: /images/platformer/backgrounds/hills.png
src: "/images/platformer/sprites/goomba.png",
width: 448,
height: 452,
}
},
student: {
src: "/images/platformer/sprites/student.png",
width: 445,
height: 445,
},
},
scaffolds: {
brick: { src: "images/platformer/obstacles/brick_wall.png" },
Expand Down Expand Up @@ -346,7 +351,7 @@ if (!gameOverScreenShown) {
// Game screens
new GameLevel( {tag: "hills", background: assets.backgrounds.hills, background2: assets.backgrounds.mountains, platform: assets.platforms.grass, platformO: assets.platformO.grass, thing: assets.thing.coin, player: assets.players.mario, enemy: assets.enemies.goomba, tube: assets.obstacles.tube, callback: testerCallBack, } );
new GameLevel( {tag: "alien", background: assets.backgrounds.planet, platform: assets.platforms.alien, player: assets.players.monkey, callback: testerCallBack } );
new GameLevel( {tag: "lopez", background: assets.backgrounds.avenida, platform: assets.platforms.grass, player: assets.players.lopez, enemy: assets.enemies.goomba, callback: testerCallBack } );
new GameLevel( {tag: "lopez", background: assets.backgrounds.avenida, platform: assets.platforms.grass, player: assets.players.lopez, enemy: assets.enemies.student, callback: testerCallBack } );
// Game Over screen
new GameLevel( {tag: "end", background: assets.backgrounds.end, callback: gameOverCallBack } );

Expand Down
Binary file added images/platformer/sprites/student.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b41367f

Please sign in to comment.