An open API service indexing awesome lists of open source software.

https://github.com/realabdurrehman/ravenfall

A first-person 2D point and shoot game where your goal is to stop evil mutated ravens inside a forest to leave the area.
https://github.com/realabdurrehman/ravenfall

canvas forest game html-canvas javascript-game point-and-shoot scary shooting

Last synced: over 1 year ago
JSON representation

A first-person 2D point and shoot game where your goal is to stop evil mutated ravens inside a forest to leave the area.

Awesome Lists containing this project

README

          

# Ravenfall

## Overview

**Ravenfall** is a fast-paced, first-person, 2D point-and-shoot game where your goal is to stop evil mutated ravens from invading a peaceful forest. Armed with a crosshair and quick reflexes, you must shoot the ravens before they land and escape the area.

This game is developed using **HTML**, **CSS**, and **JavaScript** with the **HTML5 ``** element for rendering game graphics and animations.

## Features

- **First-Person 2D Shooter:** Use a simple crosshair to aim and shoot at incoming mutated ravens.
- **Mutated Ravens:** Face a variety of fast-moving ravens that will challenge your shooting skills.
- **High Score:** Track your performance and try to beat your best score as you shoot more ravens.
- **Simple Controls:** The game is controlled entirely with the mouse (point and click).
- **HTML5 Canvas:** Smooth graphics rendered using the `` element.

## Gameplay

1. **Objective:** Shoot the ravens before they land. Each raven you shoot earns you points. If a raven reaches the ground, you lose points.
2. **Controls:**
- **Mouse:** Move the mouse to aim the crosshair.
- **Click:** Shoot the ravens.

## Technologies Used
- **HTML:** Structure of the game and the `` element.
- **CSS:** Basic styling for the `` and ``.
- **JavaScript:** Game logic, animation, and interaction using the HTML5 `` API.

## Game Structure
### File Breakdown:
- **index.html:** The main HTML file containing the structure of the page and the `canvas` element.
- **style.css:** The CSS file that styles the game’s visual elements.
- **game.js:** The JavaScript file that drives the game’s logic, including:
- Setting up the canvas context.
- Handling the crosshair movement and shooting mechanics.
- Animating and managing the ravens.
- Tracking and displaying the score.

## Screenshot
![Demo](https://cloud-9uyncez41-hack-club-bot.vercel.app/0preview.png)