2D泡泡射手游戏
详情
概要
经典2D泡泡射手游戏,采用简约HTML交互设计。
提示
使用英文创建一个经典的2D泡泡射手游戏。采用交互式HTML页面,并使用极简设计。 --- ### 游戏描述 - **颜色**:五种颜色——红色、蓝色、绿色、黄色、紫色。 - **机制**:当泡泡撞上网格、其他泡泡或顶部边界时会粘在上面。 - **爆破泡泡**:若三个或更多同色泡泡相连,则会爆破成粒子,并为玩家获得积分。 - **连锁反应**:当支撑泡泡被移除后,孤立的泡泡会掉落。 - **游戏结束**:当泡泡触碰到底部时,游戏结束。 - **设计**:采用卡通风格的鲜艳色彩,具备弹出动画和粒子效果。 ### 游戏布局与逻辑 - **开始界面**:向玩家介绍游戏目标和操作,保持简单且富有吸引力。 - **射击机制**:通过鼠标点击或移动设备触控控制射击方向,操作直观且流畅。 - **得分与反馈**:突出显示得分,并通过声音和视觉效果即时反馈操作情况。 - **物理效果**:实现基本物理效果,模拟泡泡的真实运动与交互。 ### 最佳实践 - **性能**:优化动画和效果,确保跨平台流畅运行。 - **响应式设计**:确保游戏在不同屏幕尺寸上均能自适应且易于访问。 - **测试**:在不同浏览器上进行测试以保证体验一致。 - **无障碍**:提供音量控制和简易色彩方案调整选项,方便视力障碍用户使用。 该游戏应具有吸引力、视觉效果出众且易于理解,以其简单而具挑战性的机制吸引玩家,并提供流畅的交互体验。
原始提示
Develop a classic 2D Bubble Shooter game as an interactive HTML page. The game should be fully functional, with basic mechanics and minimalist design. --- Basic elements of the game: 5 colors of bubbles (e.g. red, blue, green, yellow, purple). Bubbles stick to the grid or other bubbles when they hit. A bubble sticks to the grid when it hits another bubble or the top border. If 3+ bubbles of the same color connect, they burst, the player gets points. Chain reactions: unconnected bubbles fall after a group is destroyed. The game ends if the bubbles reach the bottom of the screen. Bright colors, cartoonish graphics with animation of popping bubbles. Particle effects when destroying bubbles. A ready-made HTML page with the game "Bubble Shooter", where the player shoots bubbles, collecting groups of 3+ identical colors. The game should be interactive, with basic physics and a minimalist design. Follow the prompts strictly! . The game must work well! Q: How should the player control the direction of shooting bubbles? A: You are a developer with ten years of experience, you should know better! Q: What should happen when the game ends? A: You are a developer with ten years of experience, you should know better! Q: How would you like the UI to arrange elements like score display and controls? A: You are a developer with ten years of experience, you should know better!
生成成本概要
模型名称: claude-3-7-sonnet-latest
响应时间: 150.47 sec.
结果令牌: 13,138
成本: $0.19988700