fix
@@ -123,37 +123,37 @@ const UPGRADES: Upgrade[] = [
|
|||||||
mascotTiers: [
|
mascotTiers: [
|
||||||
{
|
{
|
||||||
level: 0,
|
level: 0,
|
||||||
imageSrc: '/src/assets/bozo.png',
|
imageSrc: '/assets/bozo.png',
|
||||||
multiplier: 1.02,
|
multiplier: 1.02,
|
||||||
rarity: 1.0,
|
rarity: 1.0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
level: 1,
|
level: 1,
|
||||||
imageSrc: '/src/assets/shoominion.png',
|
imageSrc: '/assets/shoominion.png',
|
||||||
multiplier: 1.03,
|
multiplier: 1.03,
|
||||||
rarity: 0.8,
|
rarity: 0.8,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
level: 5,
|
level: 5,
|
||||||
imageSrc: '/src/assets/codebug.gif',
|
imageSrc: '/assets/codebug.gif',
|
||||||
multiplier: 1.05,
|
multiplier: 1.05,
|
||||||
rarity: 0.6,
|
rarity: 0.6,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
level: 10,
|
level: 10,
|
||||||
imageSrc: '/src/assets/lalan.gif',
|
imageSrc: '/assets/lalan.gif',
|
||||||
multiplier: 1.07,
|
multiplier: 1.07,
|
||||||
rarity: 0.4,
|
rarity: 0.4,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
level: 15,
|
level: 15,
|
||||||
imageSrc: '/src/assets/neuro-neurosama.gif',
|
imageSrc: '/assets/neuro-neurosama.gif',
|
||||||
multiplier: 1.10,
|
multiplier: 1.10,
|
||||||
rarity: 0.2,
|
rarity: 0.2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
level: 20,
|
level: 20,
|
||||||
imageSrc: '/src/assets/evil-neurosama.gif',
|
imageSrc: '/assets/evil-neurosama.gif',
|
||||||
multiplier: 1.15,
|
multiplier: 1.15,
|
||||||
rarity: 0.1,
|
rarity: 0.1,
|
||||||
},
|
},
|
||||||
@@ -196,12 +196,12 @@ const UPGRADES: Upgrade[] = [
|
|||||||
|
|
||||||
const MILESTONES = [
|
const MILESTONES = [
|
||||||
{ threshold: 1000, id: 'first-thousand', background: 'rainbow', image: 'https://media1.tenor.com/m/x8v1oNUOmg4AAAAd/spinning-rat-rat.gif' },
|
{ threshold: 1000, id: 'first-thousand', background: 'rainbow', image: 'https://media1.tenor.com/m/x8v1oNUOmg4AAAAd/spinning-rat-rat.gif' },
|
||||||
{ threshold: 5000, id: 'five-thousand', background: 'matrix', image: 'https://media1.tenor.com/m/pV74fmh_NLgAAAAd/louie-rat-spinning-rat.gif' },
|
{ threshold: 10000, id: 'ten-thousand', background: 'cyberpunk', image: 'https://cdn.discordapp.com/emojis/1297946545626288312.webp' },
|
||||||
{ threshold: 10000, id: 'ten-thousand', background: 'cyberpunk', image: 'https://media1.tenor.com/m/YsWlbVbRWFQAAAAd/rat-spinning.gif' },
|
{ threshold: 50000, id: 'epic-milestone', background: 'space', image: 'https://media.discordapp.net/stickers/1377379131649429554.gif?size=160&quality=lossless' },
|
||||||
{ threshold: 50000, id: 'epic-milestone', background: 'space', image: 'https://media1.tenor.com/m/x8v1oNUOmg4AAAAd/spinning-rat-rat.gif' },
|
{ threshold: 100000, id: 'legendary', background: 'musume', image: 'https://media1.tenor.com/m/pV74fmh_NLgAAAAd/louie-rat-spinning-rat.gif' },
|
||||||
{ threshold: 100000, id: 'legendary', background: 'glitch', image: 'https://media1.tenor.com/m/pV74fmh_NLgAAAAd/louie-rat-spinning-rat.gif' },
|
{ threshold: 200000, id: 'two-hundred-thousand', background: 'glitch', image: 'https://media1.tenor.com/m/pV74fmh_NLgAAAAd/louie-rat-spinning-rat.gif' },
|
||||||
{ threshold: 500000, id: 'ultimate', background: 'ultimate', image: 'https://media1.tenor.com/m/YsWlbVbRWFQAAAAd/rat-spinning.gif' },
|
{ threshold: 500000, id: 'ultimate', background: 'ultimate', image: 'https://media.discordapp.net/stickers/1397981135266648064.webp?size=160&quality=lossless' },
|
||||||
{ threshold: 1000000, id: 'god-tier', background: 'god-tier', image: 'https://media1.tenor.com/m/x8v1oNUOmg4AAAAd/spinning-rat-rat.gif' }
|
{ threshold: 1000000, id: 'god-tier', background: 'god-tier', image: 'https://media.discordapp.net/stickers/1294812453112123453.webp?quality=lossless' }
|
||||||
];
|
];
|
||||||
|
|
||||||
export default class GameServer implements Party.Server {
|
export default class GameServer implements Party.Server {
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 117 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
|
Before Width: | Height: | Size: 664 KiB After Width: | Height: | Size: 664 KiB |
BIN
public/special/uma-musume-running.gif
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
@@ -86,7 +86,7 @@ function App() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ownedFriendBoost > 0 && friendBoostUpgrade && friendBoostUpgrade.mascotTiers) {
|
if (ownedFriendBoost > 0 && friendBoostUpgrade && friendBoostUpgrade.mascotTiers) {
|
||||||
const baseInterval = 10000; // Increased base interval for less frequent spawns
|
const baseInterval = 12000; // Increased base interval for less frequent spawns
|
||||||
const minInterval = 1000; // Increased min interval
|
const minInterval = 1000; // Increased min interval
|
||||||
const interval = Math.max(minInterval, baseInterval / (1 + ownedFriendBoost * 0.2)); // Adjusted scaling
|
const interval = Math.max(minInterval, baseInterval / (1 + ownedFriendBoost * 0.2)); // Adjusted scaling
|
||||||
console.log(`Spawning mascots every ${interval} ms for friendBoost level ${ownedFriendBoost}`);
|
console.log(`Spawning mascots every ${interval} ms for friendBoost level ${ownedFriendBoost}`);
|
||||||
|
|||||||
@@ -33,11 +33,11 @@ export function Background({ background }: BackgroundProps) {
|
|||||||
backgroundSize: '200px 100px',
|
backgroundSize: '200px 100px',
|
||||||
animation: 'stars 50s linear infinite'
|
animation: 'stars 50s linear infinite'
|
||||||
};
|
};
|
||||||
case 'glitch':
|
case 'musume':
|
||||||
return {
|
return {
|
||||||
background: 'linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ffff00, #ff00ff, #00ffff)',
|
background: 'url("/special/umamusume.gif") no-repeat center center fixed',
|
||||||
backgroundSize: '400% 400%',
|
backgroundSize: 'cover',
|
||||||
animation: 'glitch 2s ease infinite'
|
animation: 'none'
|
||||||
};
|
};
|
||||||
case 'ultimate':
|
case 'ultimate':
|
||||||
return {
|
return {
|
||||||
@@ -47,9 +47,9 @@ export function Background({ background }: BackgroundProps) {
|
|||||||
};
|
};
|
||||||
case 'god-tier':
|
case 'god-tier':
|
||||||
return {
|
return {
|
||||||
background: 'url(/src/special/bathtub.gif) no-repeat center center fixed',
|
background: 'url("/special/bathtub.png") no-repeat center center fixed',
|
||||||
backgroundSize: 'contain',
|
backgroundSize: 'contain',
|
||||||
animation: 'god-tier 10s ease infinite'
|
animation: 'none'
|
||||||
};
|
};
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
@@ -10,22 +10,13 @@ export const MILESTONES: Milestone[] = [
|
|||||||
image: 'https://media1.tenor.com/m/x8v1oNUOmg4AAAAd/spinning-rat-rat.gif',
|
image: 'https://media1.tenor.com/m/x8v1oNUOmg4AAAAd/spinning-rat-rat.gif',
|
||||||
reward: '🌈 Rainbow Background Unlocked!'
|
reward: '🌈 Rainbow Background Unlocked!'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
threshold: 5000,
|
|
||||||
id: 'five-thousand',
|
|
||||||
name: 'Getting Warmed Up',
|
|
||||||
description: 'The rat spins faster...',
|
|
||||||
background: 'matrix',
|
|
||||||
image: 'https://media1.tenor.com/m/pV74fmh_NLgAAAAd/louie-rat-spinning-rat.gif',
|
|
||||||
reward: '💊 Matrix Mode Activated!'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
threshold: 10000,
|
threshold: 10000,
|
||||||
id: 'ten-thousand',
|
id: 'ten-thousand',
|
||||||
name: 'Cyber Rat',
|
name: 'Cyber Rat',
|
||||||
description: 'Welcome to the future',
|
description: 'Welcome to the future',
|
||||||
background: 'cyberpunk',
|
background: 'cyberpunk',
|
||||||
image: 'https://media1.tenor.com/m/YsWlbVbRWFQAAAAd/rat-spinning.gif',
|
image: 'https://cdn.discordapp.com/emojis/1297946545626288312.webp',
|
||||||
reward: '🦾 Cyberpunk Aesthetic Engaged!'
|
reward: '🦾 Cyberpunk Aesthetic Engaged!'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -34,17 +25,26 @@ export const MILESTONES: Milestone[] = [
|
|||||||
name: 'Space Cadet',
|
name: 'Space Cadet',
|
||||||
description: 'To infinity and beyond!',
|
description: 'To infinity and beyond!',
|
||||||
background: 'space',
|
background: 'space',
|
||||||
image: 'https://media1.tenor.com/m/x8v1oNUOmg4AAAAd/spinning-rat-rat.gif',
|
image: 'https://media.discordapp.net/stickers/1377379131649429554.gif?size=160&quality=lossless',
|
||||||
reward: '🚀 Space Background Unlocked!'
|
reward: '🚀 Space Background Unlocked!'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
threshold: 100000,
|
threshold: 100000,
|
||||||
id: 'legendary',
|
id: 'legendary',
|
||||||
name: 'Glitch in the Matrix',
|
name: 'musume mode',
|
||||||
description: 'Reality is breaking down',
|
description: 'Reality is breaking down, the girls are turning into horses!',
|
||||||
|
background: 'musume',
|
||||||
|
image: 'https://media1.tenor.com/m/pV74fmh_NLgAAAAd/louie-rat-spinning-rat.gif',
|
||||||
|
reward: '🐴 Musume Background Unlocked!'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
threshold: 200000,
|
||||||
|
id: 'two-hundred-thousand',
|
||||||
|
name: 'Major Milestone',
|
||||||
|
description: 'You are progressing rapidly!',
|
||||||
background: 'glitch',
|
background: 'glitch',
|
||||||
image: 'https://media1.tenor.com/m/pV74fmh_NLgAAAAd/louie-rat-spinning-rat.gif',
|
image: 'https://media1.tenor.com/m/pV74fmh_NLgAAAAd/louie-rat-spinning-rat.gif',
|
||||||
reward: '⚡ Glitch Effect Activated!'
|
reward: '✨ New Background Unlocked!'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
threshold: 500000,
|
threshold: 500000,
|
||||||
@@ -52,7 +52,7 @@ export const MILESTONES: Milestone[] = [
|
|||||||
name: 'Ultimate Bozo',
|
name: 'Ultimate Bozo',
|
||||||
description: 'You have achieved peak bozo status',
|
description: 'You have achieved peak bozo status',
|
||||||
background: 'ultimate',
|
background: 'ultimate',
|
||||||
image: 'https://media1.tenor.com/m/YsWlbVbRWFQAAAAd/rat-spinning.gif',
|
image: 'https://media.discordapp.net/stickers/1397981135266648064.webp?size=160&quality=lossless',
|
||||||
reward: '👑 Ultimate Power Unlocked!'
|
reward: '👑 Ultimate Power Unlocked!'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -61,7 +61,7 @@ export const MILESTONES: Milestone[] = [
|
|||||||
name: 'God Tier Bozo',
|
name: 'God Tier Bozo',
|
||||||
description: 'You are the ultimate bozo',
|
description: 'You are the ultimate bozo',
|
||||||
background: 'god-tier',
|
background: 'god-tier',
|
||||||
image: 'https://media1.tenor.com/m/x8v1oNUOmg4AAAAd/spinning-rat-rat.gif',
|
image: 'https://media.discordapp.net/stickers/1294812453112123453.webp?quality=lossless',
|
||||||
reward: '🌟 God Mode Activated!'
|
reward: '🌟 God Mode Activated!'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -56,37 +56,37 @@ export const UPGRADES: Upgrade[] = [
|
|||||||
mascotTiers: [
|
mascotTiers: [
|
||||||
{
|
{
|
||||||
level: 0,
|
level: 0,
|
||||||
imageSrc: '/src/assets/bozo.png',
|
imageSrc: 'assets/bozo.png',
|
||||||
multiplier: 1.02,
|
multiplier: 1.02,
|
||||||
rarity: 1.0,
|
rarity: 1.0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
level: 1,
|
level: 1,
|
||||||
imageSrc: '/src/assets/shoominion.png',
|
imageSrc: 'assets/shoominion.png',
|
||||||
multiplier: 1.03,
|
multiplier: 1.03,
|
||||||
rarity: 0.8,
|
rarity: 0.8,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
level: 5,
|
level: 5,
|
||||||
imageSrc: '/src/assets/codebug.gif',
|
imageSrc: 'assets/codebug.gif',
|
||||||
multiplier: 1.05,
|
multiplier: 1.05,
|
||||||
rarity: 0.6,
|
rarity: 0.6,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
level: 10,
|
level: 10,
|
||||||
imageSrc: '/src/assets/lalan.gif',
|
imageSrc: 'assets/lalan.gif',
|
||||||
multiplier: 1.07,
|
multiplier: 1.07,
|
||||||
rarity: 0.4,
|
rarity: 0.4,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
level: 15,
|
level: 15,
|
||||||
imageSrc: '/src/assets/neuro-neurosama.gif',
|
imageSrc: 'assets/neuro-neurosama.gif',
|
||||||
multiplier: 1.10,
|
multiplier: 1.10,
|
||||||
rarity: 0.2,
|
rarity: 0.2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
level: 20,
|
level: 20,
|
||||||
imageSrc: '/src/assets/evil-neurosama.gif',
|
imageSrc: 'assets/evil-neurosama.gif',
|
||||||
multiplier: 1.15,
|
multiplier: 1.15,
|
||||||
rarity: 0.1,
|
rarity: 0.1,
|
||||||
},
|
},
|
||||||
|
|||||||