99 Nights as a FrogAI · Claude 3.5
Game information
AI generation prompt
Copy this prompt to study or reproduce the game.
《99 Nights as a Frog》产品需求文档 (PRD)
1. 游戏概述 (Game Overview)
- 游戏名称: 99 Nights as a Frog
- 元描述: Survive ze nights as a frog
- 屏幕方向: 横屏 (Landscape)
- 适配平台: PC网页端 / H5移动端
2. 核心功能与系统设计 (Core Features & Design)
以下是根据 AI 对话创作历史整理的核心系统模块:
- 核心机制: Fixed the message system to check for duplicates against every message in the queue, not just the top one! Now any matching message will get the pulsating effect and timer reset. 🎯
- 核心机制: Added a "Show Player Position" checkbox to the game settings! You can now toggle the coordinate display at the bottom of the screen on or off. 📍
- 核心机制: The minimap is now hidden but still exists in the code - you can easily bring it back later when needed! 🗺️
- 核心机制: Added a terrifying deer enemy that stalks you at night! This horror creature walks upright, has long pointy fingers, glowing white eyes, and only appears when you're far from the safety of your campfire. It moves slowly but deals heavy damage - stay alert! 🦌👹
- 核心机制: The deer now appears twice as large visually while keeping the same collision size for combat - making it even more intimidating when it stalks you! 🦌👹
- 核心机制: Perfect! I've added a vertical offset to move the deer artwork up by 40 pixels so its feet align with the shadow, and spawned a test deer near the campfire so you can see it immediately and iterate faster! 🦌
- 核心机制: The deer's artwork is now 20% smaller while keeping the same collision size - it should look more proportional while maintaining the same gameplay mechanics! 🦌
- 核心机制: Perfect! The deer now has smart day/night behavior - during the day it flees from the campfire, but at night it becomes a terrifying stalker. Only one deer will ever exist at a time, making encounters more intense! 🦌🌙
- 核心机制: The campfire is now a safe zone from the terrifying deer! When the fire is lit, the deer won't get close and will circle around menacingly instead. I've also doubled its chase speed at night - much more intense stalking! 🔥🦌
- 核心机制: Fixed the deer's flickering behavior! Now when the deer is within the campfire's safe zone and you're also in the safe zone with the fire lit, it will simply stop moving instead of constantly switching directions. The deer will stay put until conditions change, eliminating the jittery back-and-forth movement. 🦌🔥
3. 游戏参数配置 (Game Configuration)
{
"player": {
"startX": 0,
"startY": -220,
"level": "1",
"xp": "0"
},
"world": {
"treeDensity": "1.5",
"seed": 12345
},
"ui": {
"day": 1,
"theme": "forest_journal",
"showInstructions": true,
"settingsPanelOpen": false,
"messageTextSize": 34.2,
"messageGap": "52",
"showPlayerPosition": true,
"skateboardSpeedBonus": 1.6
},
"dayLength": 20,
"fireDuration": 60,
"inventory": "{\"firewood\": 0, \"meat\": 0}",
"frogsKilled": 0,
"poisonSpearSpawned": false,
"firstFrogSpawned": false
}
4. 迭代开发历史 (Iterative History)
本文档基于 AI 团队的开发记录整理生成。以下是游戏历史版本的主要演进过程:
- 步骤 1 (2025-08-30 04:30:04): Actually, return to checking the new message against every message in the queue and applying the pulsate/timing extensio
- 步骤 2 (2025-08-30 04:36:16): add a checkbox to the game settings pane that lets me toggle the player position string at the bottom of the screen.
- 步骤 3 (2025-08-30 12:06:23): keep the minimap, but just hide/disable it temporarily
- 步骤 4 (2025-08-30 12:18:41): Add a "deer" enemy. This is a horror creature that kinda looks like a deer, but is solid black color and walks upright o
- 步骤 5 (2025-08-30 12:29:15): Double the visual size of the deer without increasing its collision size.
- 步骤 6 (2025-08-30 12:39:44): Add a vertical offset (upwards) to the deer's artwork, so its feet line up with the blob shadow. Also, spawn a temporary
- 步骤 7 (2025-08-30 12:40:49): Scale down the deer's artwork by 20% without changing any of its other properties
- 步骤 8 (2025-08-30 12:44:25): Make sure there is ever only 1 deer in the game. Also, during daytime the deer should move in the direction away from th
- 步骤 9 (2025-08-30 13:06:05): When the deer is chasing you, it won't get close to the campfire, if the fire is lit. Make the campfire a safe zone from
- 步骤 10 (2025-08-30 13:14:37): The deer flips back and fourth each frame when its at the edge of the campfire radius, which looks bad. Solve this by ch
- 步骤 11 (2025-08-30 13:19:07): Increase the safe radius of the campfire by 40%; Keep the deer's doubled movement speed at all times, daytime and night;
- 步骤 12 (2025-08-30 13:27:08): Make the deer slightly faster during the night, +10%
- 步骤 13 (2025-08-30 13:32:06): Give the deer a new state, where it is "hungry". Draw a new image for this state, that is identical to the existing one,
- 步骤 14 (2025-08-30 13:41:44): The hungry deer didn't seem correct. Can you temporarily spawn the deer with hungry status at the start of the game, for
- 步骤 15 (2025-08-30 13:44:31): ok, hungry deer looks perfect. Remove it from the start of the game. Change the deer's spawn day from day 5 to day 1, so
- 步骤 16 (2025-08-30 13:47:10): On day 2 the deer did not have the "hungry" status. As designed, the deer should have the hungry status (red eyes im
- 步骤 17 (2025-08-30 13:52:54): Try this: The deer is never despawning. So the hungry version is never added. Add despawning of the deer at the middle o
- 步骤 18 (2025-08-30 13:57:43): The deer is periodically pausing its movement when chasing the player (especially hungry deer). Remove the pauses. The d
- 步骤 19 (2025-08-30 14:08:44): The deer logic is excellent. Only a small problem. It looks like the deer is not spawning while the player is inside the
- 步骤 20 (2025-08-30 14:12:37): Change the deer spawn days: It spawns every 5th day. Every 10th day it spawns "hungry"; Also, increase depletion of hung
- 步骤 21 (2025-08-30 14:59:17): There is a deltaTime cap of "0.016". Increase this to "0.05"
- 步骤 22 (2025-08-30 15:49:45): When the game starts, there is a semi-blank screen, supposedly while the game is loading up. Add a text to this screen t
- 步骤 23 (2025-08-30 15:52:27): For some reason the game is now loading very quickly, so it's not possible to see the text. Rework the intro text so the
- 步骤 24 (2025-08-31 09:23:44): Add a pink skateboard item that already starts in your inventory. When tapped to equip, the skateboard appears below the
- 步骤 25 (2025-08-31 09:31:32): Increase the skateboard's move speed bonus by +10%; While the skateboard is equipped, the player cannot attack enemies,
- 步骤 26 (2025-08-31 09:41:45): Move the character up a little bit more while the skateboard is equipped; It looks like the skateboard has two different
- 步骤 27 (2025-08-31 09:52:51): The movement speed inconsistency is still present. It's not about diagonal movement. I can notably see how clicking with
- 步骤 28 (2025-09-01 14:05:33): Create a red version of the deer that moves twice as fast as the hungry version. When saying "Night is approaching" say
- 步骤 29 (2025-09-01 14:20:30): Draw a new version of the deer where its body is fully red, keep the eyes the same. Use this new image for a new "demoni
- 步骤 30 (2025-09-01 14:26:52): the deer didn't appear on night 1
- 步骤 31 (2025-09-01 14:35:57): Demonic deer appears. It has a movement issue where it keeps stopping while chasing. It gets almost to within range of t
- 步骤 32 (2025-09-01 14:42:15): Demonic deer appears. It has a movement issue where it keeps stopping while chasing. It gets almost to within range of t
- 步骤 33 (2025-09-01 14:47:39): The problem wasn't the campfire safe zone. Think hard. Demonic deer keeps pausing movement every 1-2 seconds
- 步骤 34 (2026-01-16 18:13:09): Name the health of all creatures
- 步骤 35 (2026-01-16 18:28:00): The health bar should be able to fade in and out
- 步骤 36 (2026-01-16 18:31:29): The player should now be a frog, with modified stats like its speed, health, and more.
- 步骤 37 (2026-01-16 18:34:08): Resize all the other frogs to be the same size as the player
- 步骤 38 (2026-01-16 18:39:36): Generate a brown frog texture. Now some NPC frogs are brown frogs. Looks similar to the original minecraft_frog texture.
- 步骤 39 (2026-01-16 18:45:22): There would be a leap feature, You can activate it by a quick button in mobile or q and f keys in pc. It has a cooldown
- 步骤 40 (2026-01-16 18:48:18): Fix the bug where the player cant pick up the children
- 步骤 41 (2026-01-16 18:53:49): The leap button's y position would be a bit higher than the 5th slot but dont modify the x position of the leap button.
- 步骤 42 (2026-01-16 18:56:45): Generate an icon of a minecraft frog leaping with an white dash trail. It would be for the leap button.
- 步骤 43 (2026-01-16 18:59:34): When the player gets hurt, the screen shakes for the player and red particles come out from the player, also the sides o
- 步骤 44 (2026-01-16 19:14:05): When the player leaps, it looks like the player should jump
- 步骤 45 (2026-01-16 19:15:29): It should be a bit slower (the jumping arc)
- 步骤 46 (2026-01-16 19:16:47): Leap will decrease hunger
- 步骤 47 (2026-01-16 19:19:31): The flower should have a smooth swaying animation
- 步骤 48 (2026-01-16 19:20:38): They sway by rotating
- 步骤 49 (2026-01-16 19:23:28): Generate textures for spiders, bees, and flies🪰. They will be for use later. Image i attached is inspiration.
- 步骤 50 (2026-01-16 19:38:03): Also generate an tree with an beehive texture. The inspiration is from the texture "tree_type_1" and the image i attache
- 步骤 51 (2026-01-16 19:54:51): Beehive tree. When you destroy it, not just wood comes out, 2-3 bees come out and chase you and they will sting you. Tho
- 步骤 52 (2026-01-16 20:06:06): (user selected the game thumbnail) Make it now based off the gameplay.
- 步骤 53 (2026-01-16 20:10:29): For some reason, i cant kill the bee.
- 步骤 54 (2026-01-16 20:18:15): Create 4 new textures. A swamp grass texture, 2 willow swamp trees texture, and a murky swamp water texture.
- 步骤 55 (2026-01-16 20:24:36): Ok! Generate two willow tree textures for the swamp biome, they have a minecraft style.