Skip to content

This project involves creating an interactive web-based character animation using HTML, CSS, and JavaScript. The animation is rendered on an HTML canvas element, and users can select different animation states for the character from a dropdown menu. The character animation is based on sprite sheets

Notifications You must be signed in to change notification settings

Harsh-1807/Sprite-Animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sprite-Animation

image

This project demonstrates an interactive character animation using HTML, CSS, and JavaScript. Users can select different animation states from a dropdown menu, and the chosen animation will be displayed on the canvas. The animations are based on a sprite sheet, which includes frames for various actions such as running, jumping, and idle.

Features

  • Interactive Interface: Users can switch between different animation states using a dropdown menu.
  • Smooth Animations: The animations are rendered smoothly using the HTML5 canvas and JavaScript's requestAnimationFrame method.
  • Modular Design: The project is organized into separate HTML, CSS, and JavaScript files for better maintainability.

Technologies Used

  • HTML: Structure of the web page.
  • CSS: Styling of the canvas and control elements.
  • JavaScript: Handling animation logic and user interactions.

Installation

To get started, you'll need to download the Shadow_dog sprite sheet:

Once you have downloaded the sprite sheet, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/Sprite-Animation.git
    cd Sprite-Animation

About

This project involves creating an interactive web-based character animation using HTML, CSS, and JavaScript. The animation is rendered on an HTML canvas element, and users can select different animation states for the character from a dropdown menu. The character animation is based on sprite sheets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published