Skip to content

Commit

Permalink
New difficulty and random generation system + new levels
Browse files Browse the repository at this point in the history
  • Loading branch information
n3me5is-git authored Aug 28, 2024
1 parent 385e76d commit 0b9b55d
Show file tree
Hide file tree
Showing 9 changed files with 335 additions and 160 deletions.
Binary file modified background-level3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added background-level4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added background-level5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified background-music3.mp3
Binary file not shown.
Binary file added background-music4.mp3
Binary file not shown.
Binary file added background-musicX.mp3
Binary file not shown.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Parrot's Feast",
"short_name": "ParrotFeast",
"short_name": "ParrotsFeast",
"description": "A fun and interactive game where you guide a parrot to feast on seeds!",
"start_url": "./index.html",
"display": "standalone",
Expand Down
431 changes: 279 additions & 152 deletions script.js

Large diffs are not rendered by default.

62 changes: 55 additions & 7 deletions service-worker.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,60 @@
const CACHE_NAME = 'parrots-feast-cache-v1';
const urlsToCache = [
'/',
'/index.html',
'/styles.css',
'/script.js',
'/icon-192x192.png',,
// Puoi aggiungere qui altre risorse essenziali da mettere in cache all'installazione
];
'/',
'/index.html',
'/styles.css',
'/script.js',
'/icon-192x192.png',
'/apple-touch-icon.png',
'/arrow-down.svg',
'/arrow-left.svg',
'/arrow-right.svg',
'/arrow-up.svg',
'/background-level1.png',
'/background-level2.png',
'/background-level3.png',
'/background-level4.png',
'/background-level5.png',
'/background-music-endgame.mp3',
'/background-music1.mp3',
'/background-music2.mp3',
'/background-music3.mp3',
'/background-music4.mp3',
'/background-music5.mp3',
'/biscuit1.png',
'/biscuit2.png',
'/biscuit3.png',
'/bolt.svg',
'/boxing_bell.wav',
'/button_last.png',
'/button_top.png',
'/clock_tick.wav',
'/compress.svg',
'/eat_biscuit.wav',
'/eat_fruit.mp3',
'/eat_seed.wav',
'/end_game_background.png',
'/end_last_level_background.png',
'/end_level_background.png',
'/expand.svg',
'/favicon-16x16.png',
'/favicon-32x32.png',
'/favicon.ico',
'/fruit1.png',
'/fruit2.png',
'/fruit3.png',
'/gong.wav',
'/icon.png',
'/parrot.png',
'/rocket-disabled.svg',
'/rocket.svg',
'/scores_background.png',
'/seed1.png',
'/seed2.png',
'/seed3.png',
'/start_background.png',
'/weight-hanging.svg'
];

self.addEventListener('install', (event) => {
event.waitUntil(
Expand Down

0 comments on commit 0b9b55d

Please sign in to comment.