Skip to content

arjunharshana/gameproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

44 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Mario-Style Platformer Game

โœจ Features

  • ๐Ÿง Character Animations: Smooth animations for walking, jumping, and idle states.
  • ๐ŸŒ Side-Scrolling World: A dynamic world built with tiled block platforms.
  • โ˜๏ธ Atmospheric Elements: Background elements like clouds create an immersive environment.
  • ๐Ÿšง Obstacles: Navigate around barriers and pipes.
  • ๐Ÿ‘พ Enemies: Patrolling enemies that can be stomped on.
  • ๐Ÿ† Scoring System: Your score increases based on the distance you travel.
  • โค๏ธ Lives System: Start with multiple lives, respawn on death, and face a game-over screen..

๐Ÿ•น๏ธ Controls

Key Action
A / Left Arrow Move Left
D / Right Arrow Move Right
W / Up Arrow Jump
Space Jump

๐Ÿ› ๏ธ Tech Stack

  • HTML5 Canvas: Used for rendering all game graphics and animations.
  • JavaScript (ES6+): Powers all game mechanics, physics, and player interactions.
  • CSS3: Styles the user interface, menus, and heads-up display (HUD).

Deployed link

Prerequisites

  • A modern web browser (e.g., Chrome, Firefox, Safari).
  • Git installed on your machine (optional, for cloning).

Installation

  1. Clone the repository:
    git clone [https://github.com/yourusername/mario-platformer.git](https://github.com/yourusername/mario-platformer.git)
  2. Navigate to the project directory:
    cd mario-platformer
  3. Run the game: Simply open the index.html file in your favorite web browser.

๐Ÿ“‚ Project Structure

  • README.md
  • index.html
  • styles.css
  • game.js
  • assets/
    • clouds.png
    • enemy.png
    • marioJump.png
    • marioJumpLeft.png
    • marioWalk1.png
    • marioWalk1Left.png
    • marioWalk2.png
    • marioWalk2Left.png
    • pipe.png
    • pipeSmall.png
    • tile.png

๐Ÿšง Future Improvements

Here are some features planned for future updates:

  • ๐Ÿ„ Implement power-ups like mushrooms and fire flowers.
  • ๐Ÿ’ฐ Introduce coins and other collectibles to enhance scoring.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •