Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antix-development/dont-die-to-ghosts
My 2nd JS13k 2022 entry, an ode to PacMan.
https://github.com/antix-development/dont-die-to-ghosts
2d-game js13k js13kgames2022 pacman
Last synced: 3 days ago
JSON representation
My 2nd JS13k 2022 entry, an ode to PacMan.
- Host: GitHub
- URL: https://github.com/antix-development/dont-die-to-ghosts
- Owner: Antix-Development
- License: mit
- Created: 2022-09-09T02:06:34.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-09T02:06:45.000Z (over 2 years ago)
- Last Synced: 2024-11-10T15:48:11.642Z (2 months ago)
- Topics: 2d-game, js13k, js13kgames2022, pacman
- Language: JavaScript
- Homepage:
- Size: 211 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dont Die To Ghosts
Don't Die To Ghosts is my second submission for the 2022 [js13kGames](https://js13kgames.com) competition, where over a one month period you create a game based on a theme (death for 2022) and then you cram your entire game (code and assets) into a 13Kb zip file and submit it.
You can play Don't Die To Ghosts on [its js13k competition page](https://js13kgames.com/entries/), or download index.html from this repository and open it in your web browser.
## Introduction
Don't Die To Ghosts is a 2 dimensional side view game inspired by the classic arcade game [Pac-Man](https://en.wikipedia.org/wiki/Pac-Man), written in JavaScript, HTML, and CSS.
The game loosely fits in with the 2022 js13k theme of death in so much as the player will die if they are munched by a ghost.
## Gameplay
The aim of Don't Die To Ghosts is to complete successive levels (to beat the best score) by munching all the dots (244 of them), munching the bonus fruit (nom nom), and trying not to Die To Ghosts.
There are two power pills per level which can be munched to enable the player to munch ghosts for a short time.
Like Pac-Man, the player can leave either side of the screen and reappear on the opposite side.
The default controls for Don't Die To Ghosts are..
- Z or LEFT ARROW to move left.
- X or RIGHT ARROW to move right.
- On mobile devices tap the LEFT and RIGHT sides of the screen to move left and right.The controls can be changed in the options menu and persist between game sessions.
Don't Die To Ghosts is best enjoyed in fullscreen mode with some chip music playing in the background. If you don't know what your browsers fullscreen hotkey is, there is a handy button at the top right of the screen to toggle fullscreen mode.
## Features
- High resolution graphics, thanks to SVG (Scalable Vector Graphics).
- Persistent control key mapping.
- Persistent best score.
## Technologies
Don't Die To Ghosts was developed using [Visual Studio Code](https://code.visualstudio.com/) and [Notepad++](https://notepad-plus-plus.org/).
All imagery was created using [InkScape](https://inkscape.org/).
Sound effects were created using Frank Force's fantastic [ZzFX](https://killedbyapixel.github.io/ZzFX/).
[Terser](https://terser.org/) was used to minify the JavaScript code.
Don't Die To Ghosts has been tested working in [FireFox](https://mozilla.org/firefox/) and [Chrome](https://google.com/chrome/)
web browsers on a Windows10 laptop, and also in Chrome and [DuckDuckGo](https://play.google.com/store/apps/details?id=com) browsers on a 1st gen Pixel10 Android tablet. Your mileage might vary with other browsers, devices, and operating systems.
## The Code
I'm really happy with how the code worked out for Don't Die To Ghosts and you can read more about the technical challenges and so on in the postmortem.
I'm always more than happy to answer any questions you might have regarding the code, just drop me a line at [email protected] :)