Skip to content

M4sayev/SackHead-Runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SackHead Runner

SackHead Runner is a 2D browser-based side-scroller where you control a SackHead - workaholic that doesn't like birds. By day, he works...By night he runs, jumping over obstacles and fending off birds by throwing bottles. Survive as long as possible and rack up your score!

🎮 Gameplay

Move Left/Right: ⬅️ / A | ➡️ / D

Jump: ⬆️ / W / Space

Throw Bottle: H (to defeat birds)

Pause: use the on-screen pause button

Restart: R

Avoid obstacles like trash cans and buckets while dodging or attacking flying birds. The game gets progressively faster and more challenging as you score points.

🖼️ Assets & Credits

Player, bottle, trash can, and bucket sprites: Created by me using Piksel Art and Piksel

Bird sprite: Courtesy of ma9ici4n – thank you!

Audio: Created using AIMusic.so

Background: Random image used (may contain watermarks)

💻 Features

Smooth player animations: idle, walk, jump, fall, hit

Dynamic obstacles and enemy birds with varying patterns

Scoring system with birds killed and total points

Music and pause buttons with localStorage persistence

Responsive to window resizing (though page reloads to adjust size)

⚡ Notes

This project has been in development a year or so ago. I recently added a little extra logic but kept the original gameplay intact.

Browser audio restrictions are handled by starting muted and fading in volume on load.

📂 How to Play Locally

Clone the repository:

git clone https://github.com/M4sayev/SackHead-Runner.git cd SackHead-Runner

Install dependencies:

npm install

Start the development server:

npm run dev

Open the game in your browser at the URL provided by the terminal (usually http://localhost:5173)

Enjoy the game!

🖥️ Demo

SackHead Runner Demo

📌 License / Credits

Feel free to fork or use this project for personal purposes. Special thanks to ma9ici4n for the bird sprite and AIMusic.so for the audio.

About

2D browser side-scroller: help SackHead dodge obstacles and throw bottles at birds

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors