Back to Learning

Coding

814 prompts available

3D FPS Base Game

Create a comprehensive 3D first-person shooter (FPS) base game in Pygame with the following features: - A pill-shaped character as the player model. - Sprinting mechanic allowing the player to move faster when sprinting. - Realistic camera bobbing effect to simulate natural head movement while walking or sprinting. - Dynamic lighting to enhance the 3D environment realism. - A skybox to provide an immersive background environment. - A grid floor representing the ground plane. - An in-game settings menu allowing the player to adjust key configurations. Steps: 1. Set up the 3D environment using Pygame and appropriate libraries or techniques since Pygame is primarily 2D. 2. Model or represent the pill character in the 3D environment. 3. Implement player movement including walking and sprinting with smooth transitions. 4. Add camera controls with realistic bobbing synchronized to player movement. 5. Design lighting effects that interact with the environment and player. 6. Create and integrate a skybox as the background. 7. Render a grid floor beneath the player. 8. Develop a settings menu accessible in-game for adjusting controls or graphics. Output Format: Provide the complete Python code with clear comments and structured organization. Include instructions on any dependencies and how to run the game. Ensure the final game base is functional and modular, allowing easy extension or modification.

3D Printing Materials Database

You are tasked with creating a database to store information about filaments and resins used for 3D printing. Follow the structure and fields outlined below for each type of material. Filament records should include: - **Manufacturer**: The name of the company making the filament. - **Color**: The color of the filament. - **Type**: The specific type of filament (e.g., PLA, ABS). - **Additional Type Information**: Any optional details related to the type of filament. - **Nozzle Temperature for First Layer**: Temperature for the nozzle during the printing of the first layer. - **Nozzle Temperature**: General nozzle temperature for printing. - **Bed Temperature for First Layer**: Bed temperature for the first layer. - **Bed Temperature**: Standard bed temperature. - **Spool Weight**: The weight of the filament spool. - **Price per Kg**: Cost of the filament per kilogram. - **Price per Gram Calculation**: An automatic conversion of the price from kilograms to grams for easy comparison. Resin records should include: - **Manufacturer**: The brand name of the resin. - **Colors**: The available colors for the resin. - **Type**: The type or formulation of the resin. - **Additional Type Information**: Optional details specific to the type of resin. - **Curing Time for First 10 Layers**: The curing time required for the initial ten layers. - **Curing Time per Layer**: Standard curing time for each subsequent layer. - **Price per Kg**: Cost of the resin per kilogram. # Steps 1. Define the structure for storing filament information with the specified attributes. 2. Ensure each filament record captures all the necessary fields correctly and allows for optional details. 3. Define the structure for storing resin information including all specified fields. 4. Implement automatic calculations for filament's price per gram. 5. Ensure easy retrieval and entry of information for each material type. # Output Format Present the design in a structured format that outlines the schema or table structures for storing this information, ensuring clarity and completeness. # Notes - Consider the use of a relational database format for better organization and scalability. - Allow for easy updates and additions as new information becomes available. - Automate calculations and data consistency checks where applicable.

3D Monopoly Game Development

Create a complete Monopoly game with a 3D graphical user interface and full functionality matching the classic Monopoly board game. The game should include all standard features such as property buying, rent collection, chance and community chest cards, houses and hotels, auctions, trading between players, jail, free parking, bankruptcy, and game-winning conditions. The 3D GUI should visually represent the board, pieces, dice, cards, money, and other game elements, allowing intuitive player interaction. Ensure the game supports multiple players, turn order management, and follows official Monopoly rules precisely. # Steps - Design and implement all Monopoly board spaces and their properties. - Implement player mechanics such as movement, money management, property ownership, and trading. - Create Chance and Community Chest card mechanics with random draws and corresponding actions. - Incorporate rules for building houses and hotels, and rent calculations. - Develop jail rules, including ways to enter, stay, and exit jail. - Handle bankruptcy conditions and game termination when a player remains. - Develop a 3D GUI that visually represents the board, player tokens, dice, money, and cards. - Provide intuitive input controls for rolling dice, buying properties, trading, building, and other game interactions. - Support multiplayer gameplay with turn order management and win condition checks. # Output Format Provide the design specifications, architecture overview, and code examples or prototypes illustrating key components of the game, including the 3D GUI and game logic. Include explanations of how the rules are implemented and how user interactions occur within the 3D environment.

3D Professional Survival Game

Create a professional-quality, single-file HTML/JavaScript/CSS survival game with stunning 3D visuals suitable for publishing on itch.io to generate revenue. The game should be a first-person survival experience where the player spawns on an island surrounded by many other islands within a large, bordered map featuring water where the player can swim. Include these comprehensive features with high visual and audio fidelity: - **Gameplay:** First-person view with visible hands that animate when using tools and weapons. - **World:** Large island-based map bordered to prevent infinite travel, with water bodies for swimming. - **Inventory System:** Fully working inventory allowing managing tools, weapons, armors, items. - **Crafting & Smelting:** Crafting system with furnaces and smelting mechanics. - **Tools & Weapons:** Variety of pickaxes, swords, armor, fishing gear. - **Enemies & Combat:** Nighttime spawns of zombie-like enemies with combat mechanics. - **Survival Elements:** Health management influenced by eating, getting hit, and other survival factors. - **Visuals:** Stunning, modern, realistic shaders for water, sand, grass, trees, palm trees, rocks, good grass textures, tree leaves with particle effects (e.g., falling leaves), day-night cycle with stars, sun, and moon. - **Ambience:** Rich ambient soundscape including background music, environmental sounds (wind, water, leaves), sound effects for moving, hitting, eating, taking damage. - **Performance:** Well-optimized to avoid lag, delivering smooth and stable gameplay. The final deliverable should be a single HTML file that can be copied and pasted to work immediately, without additional dependencies or setup. The game must look and feel polished and professional with modern UI and UX design, suitable for monetization on itch.io. Include detailed comments in the code for maintainability and future updates. Focus on making this a complete, visually stunning, fully functional survival game. Be thorough and reason through your design choices, breaking down implementation steps where needed to ensure quality and completeness.

3D FPS Game Development

Create a detailed system prompt to guide a language model in assisting with the development of a 3D first-person shooter (FPS) game. You are assisting in the design and development of a 3D FPS game. Your responses should include detailed explanations, best practices, and step-by-step guidance on various aspects such as game mechanics, level design, character controls, AI behavior, rendering, physics, and performance optimization. # Steps 1. Clarify the scope and key features of the FPS game, such as gameplay style, setting, number of players, and unique mechanics. 2. Provide guidance on selecting appropriate game engines or frameworks if needed. 3. Offer detailed instructions on implementing first-person controls, including camera movement and player input. 4. Explain approaches for creating enemy AI behavior, pathfinding, and difficulty balancing. 5. Discuss rendering techniques, including lighting, shadows, and optimization for performance. 6. Suggest methods for integrating physics, collision detection, and response. 7. Outline steps for designing engaging levels, maps, and objectives. 8. Include advice on testing, debugging, and refining the game. # Output Format Provide clear, structured, and comprehensive guidance with code snippets or pseudocode where applicable. Use bullet points, numbered lists, and headings to organize the information for ease of understanding.

3D Project Zomboid Clone

Create a detailed plan and guide for developing a 3D game that replicates all the core features and gameplay elements of "Project Zomboid," a zombie survival simulation game. Your response should include a comprehensive breakdown of the essential game mechanics, systems, and design components such as character survival needs, inventory management, crafting, combat, AI behavior of zombies, world building, multiplayer functionality, and user interface. Explain the necessary development tools, programming languages, and game engines suited for this project. Include suggestions for asset creation or sourcing, optimization techniques, and testing strategies to ensure a smooth gameplay experience. Provide a step-by-step roadmap covering pre-production, development phases, and post-release support. Include considerations for scalability, mod support, and community engagement. Before presenting your conclusion, reason through the challenges involved in replicating "Project Zomboid" features in a 3D environment, and suggest potential solutions. # Steps 1. Analyze and list all key features and mechanics of "Project Zomboid." 2. Choose optimal development tools, engines, and tech stack suited for 3D game development. 3. Outline game design documents covering gameplay systems: survival mechanics, inventory, crafting, combat, AI, and multiplayer. 4. Plan art style, assets production, and UI design. 5. Develop a project timeline from pre-production to launch, including testing and optimization. 6. Discuss challenges in adapting 2D mechanics to 3D space and how to address them. 7. Recommend post-launch support strategies and community engagement. # Output Format Provide a well-structured, clear, and detailed document divided into sections as per the steps above. Use bullet points and numbered lists wherever useful. Include reasoning prior to each major conclusion or recommendation. Avoid vague statements and be specific in your suggestions.

3D FPS Pill Game

Create a fully functional 3D first-person shooter (FPS) game running in an HTML environment. The game should feature a pill-shaped character as the player avatar. Implement sprinting mechanics allowing the player to move faster upon input. Include realistic camera bobbing to simulate natural head movement during walking and sprinting for immersive gameplay. Incorporate dynamic lighting effects that interact realistically within the scene. Add a skybox to provide a visually appealing background environment. The ground should be represented by a grid floor to offer spatial reference. Additionally, build a settings menu accessible during gameplay to adjust various game options such as controls, audio levels, graphics settings, and gameplay preferences. Follow these guidelines: - Use HTML, JavaScript (preferably with WebGL frameworks like Three.js), and CSS to construct the game. - Optimize performance to run smoothly on modern browsers. - Ensure the sprinting mechanic affects movement speed accurately and triggers the camera bobbing effect. - Make the camera bobbing natural and subtle, varying intensity between walking and sprinting. - Lighting should include ambient and directional or point lights that affect the pill character and environment realistically. - Design a skybox with seamless textures representing a sky or environment backdrop. - Create a grid floor extending in reasonable dimensions with clear visibility. - Provide a user interface for the settings menu with interactive elements (sliders, buttons, toggles). # Output Format Provide the complete HTML, CSS, and JavaScript source code needed to run the game in a single HTML file or separated into files with clear instructions for usage. Include comments within the code for clarity and maintainability. # Examples // No direct code examples provided here due to complexity, but ensure the final output is a ready-to-run web-based FPS game meeting all stated requirements.

3D Motorcycle Game Plan

Create a detailed plan and guidance for developing a 3D motorcycle game that can be easily run by the user and includes realistic motorcycle physics similar to "TT Isle of Man." The game should feature a realistic BMW S1000RR motorcycle model, balanced graphics quality (good but not necessarily ultra-realistic), and accurate motorcycle behavior, including proper acceleration, braking, and handling physics. Key details to include: - How to implement true motorcycle physics (leaning, acceleration, braking, weight transfer, traction) to avoid "stupid physics." - Modeling or sourcing the BMW S1000RR bike for the game. - Balancing graphical quality to be visually appealing yet optimized for easy running on typical hardware. - Recommendations for game engines or tools that support realistic physics modeling for motorcycles. - Tips for tuning braking physics to be "perfect" — neither too strong nor too weak. # Steps 1. Choose an appropriate game engine that supports advanced physics (e.g., Unity or Unreal Engine). 2. Source or create a detailed 3D model of the BMW S1000RR. 3. Implement motorcycle physics using physics-based simulation techniques covering acceleration, braking, leaning, and stability. 4. Optimize graphics settings for good quality that can run smoothly on typical systems. 5. Test and iterate particularly on braking and acceleration behavior to achieve realistic feel. # Output Format - A structured plan or guide divided into sections by the above steps. - Include recommendations for software libraries, assets, and physics principles. - Provide explanations for how to simulate key physics behaviors realistically.

3D Puzzle Game Creator

Create a browser-based 3D puzzle game using HTML, CSS, and JavaScript. The game should challenge users' IQ through interactive puzzles that require problem-solving and logical thinking. ## Steps 1. **Game Design**: Define the concept of the puzzle including rules, objectives, and mechanics. Ensure it is challenging and can evaluate or improve the player's IQ. 2. **Environment Setup**: Set up a development environment with HTML, CSS, and JavaScript files. Use libraries such as Three.js for 3D rendering if necessary. 3. **Interface Design**: Design the user interface with HTML and CSS to create an appealing layout. Consider including start, restart, and hint buttons. 4. **3D Elements**: Use JavaScript along with an appropriate library to render 3D objects and manage interactions. 5. **Game Logic**: Implement the core game logic in JavaScript, ensuring it handles user input, puzzle logic, and provides feedback on progress. 6. **Testing**: Test the game thoroughly to ensure it works across different browsers and screen sizes. Debug any issues that arise. 7. **Optimization**: Optimize the performance of your game for smoother user experience. 8. **Documentation**: Document your code for future reference and potential updates. ## Output Format - A single web application folder containing an HTML file, CSS stylesheet, and JavaScript files. - README file explaining game rules, controls, and purpose. ## Notes - Consider using Three.js for rendering 3D graphics. - Use responsive design principles to ensure the game is playable on multiple devices. - Include comments in your code to clarify complex functions.

3D FPS Shooter Game

Create a comprehensive 3D first-person shooter (FPS) game using HTML and JavaScript that incorporates realistic and immersive mechanics. The game should include: - **Realistic Camera Mechanics:** Implement detailed camera bobbing and shaking effects. When the player moves, the camera should bob smoothly; while jumping, the camera should bob up smoothly and, upon landing, bob down quickly before resetting to a stable position. - **Gun Weight and Movement:** Simulate gun weight by adding a slight delay to the gun model's movement relative to camera movement, making the gun feel heavy and realistic. - **Sprinting Animation:** When sprinting, reposition the gun to a "low carry" stance where it points downward at a horizontal angle, resembling classic FPS sprint animations. - **Recoil System:** Integrate recoil affecting both the camera and the gun model. The camera should smoothly move upward when shooting, and the gun should animate shooting backward before returning to its initial position. - **Weapon Variety:** Include a diverse arsenal of weapons including assault rifles, pistols, rifles, revolvers, RPGs, snipers with scopes, grenades, and a bow. - **Dynamic Effects:** Add shell casing ejection, dynamic sound effects synchronized with actions, detailed explosion effects, bullet holes on walls and floors, and realistic spray patterns for automatic weapons. - **Environment and Training Tools:** Create an environment with obstacles such as cubes and moving targets to help players train their aiming skills. Focus on smooth, realistic animations and interactions to emulate authentic FPS gameplay within the constraints of web technologies. Use modern WebGL or Three.js frameworks as necessary to achieve 3D graphics and physics. # Steps 1. Set up a 3D scene using WebGL or Three.js. 2. Implement the player camera with movement controls and realistic bobbing and shaking. 3. Model gun assets and apply weight-based delayed movement. 4. Develop sprinting mechanics and animations with gun lowering. 5. Create recoil animation systems for both camera and gun. 6. Add multiple weapon types with switching capability. 7. Implement shell casing ejection and dynamic sound effects. 8. Program explosion effects and bullet hole decals on surfaces. 9. Design shooting mechanics including spray patterns and bullet collision. 10. Build obstacles and moving targets for training. # Output Format Provide the complete, self-contained HTML file(s) with embedded CSS and JavaScript necessary to run the game in a modern browser. Ensure code is well-commented, modular, and uses standard libraries or approach for 3D web development. Include instructions on controls and usage within the HTML or as a README section.

3D FPS Shooter Python

You are tasked with developing a comprehensive 3D first-person shooter (FPS) game in Python that emphasizes realistic player and weapon behavior. The game should include the following features: - Realistic camera bobbing and shaking to simulate natural head movement. - Sprinting mechanics with visual representation: when sprinting, the player's gun model should move to a low-carry position, pointing the barrel down at a horizontal angle, mimicking classic shooter sprint animations. - Realistic recoil that affects both the camera and the gun model. The gun should visibly kick backward upon firing and smoothly return to its original position. - Realistic player movement physics, including a smooth camera bob upwards when jumping and a frantic bob down upon landing before resetting to normal. - Weapon weight simulation: add a slight delay to the gun model's movement in response to camera movements to convey the feeling of gun weight. - Multiple weapon types to implement: - Assault rifles - Pistols - Rifles - Revolvers - Rocket-propelled grenades (RPGs) - Sniper rifles with scopes - Grenades - Bow and arrow - Detailed explosion effects when grenades or RPGs are used. - Visual bullet holes on walls, floors, and other surfaces. - Shell casing ejection effects. - Dynamic sound effects corresponding to player actions, gunfire, explosions, and interactions. - Environmental elements: - Static and moving obstacles such as cubes. - Moving targets for the player to shoot at for aim training. Ensure the game physics and animations are smooth and realistic, enhancing player immersion. # Steps 1. Set up the 3D environment and render engine suitable for Python (e.g., using PyOpenGL, Pygame with OpenGL, or Panda3D). 2. Implement player movement and camera control with realistic bobbing, shaking, and sprinting logic. 3. Develop the weapon system supporting multiple weapon types with unique handling characteristics. 4. Create recoil mechanics that affect both the camera orientation and weapon model position. 5. Add weapon weight delays in the gun model movement relative to camera movement. 6. Implement jump and landing camera animations. 7. Develop detailed explosion and bullet hole effects in the environment. 8. Program dynamic sound effects synced with actions. 9. Create environment objects and targets for shooting practice. 10. Test and refine animations and physics until smooth and realistic behavior is achieved. # Output Format Provide well-structured and commented Python source code files organized logically (e.g., modules for player, weapons, effects, environment). Include any resource files required (e.g., textures, sound effects) as placeholders or references. Explain key design decisions and mathematical formulas used for animations and physics in comments or a supplementary README. # Notes - Focus on performance considerations to maintain smooth frame rates. - Consider modular and extensible code structure for adding future weapons and effects. - Provide fallback or simplified implementations if exact resource files are not available. # Response Formats Provide the complete Python code and explanations as specified.

3D Racing Game Avalonia

Create a simple 3D racing game using only Avalonia UI and C#. The game should feature: - Basic 3D rendering of a racing track and vehicle using Avalonia's capabilities. - Player control to navigate the vehicle around the track. - Simple game logic, such as lap counting or time tracking. # Steps 1. Set up Avalonia UI project in C#. 2. Implement or simulate basic 3D rendering within Avalonia (note: Avalonia primarily supports 2D, so 3D must be simulated or integrated creatively). 3. Create a track layout and a controllable vehicle representation. 4. Handle user input for controlling the vehicle. 5. Add basic game mechanics like lap/time tracking. # Output Format Provide the complete C# source code files necessary to run the game, with clear comments explaining the structure and key components. Avoid using external 3D engines or libraries; rely solely on Avalonia UI and standard C# libraries.

Page 16 of 68

    Coding Prompts - Learning AI Prompts | Elevato