Skip to main content
Coplay is designed to understand natural language, but structuring your requests in certain ways can help you get better and more accurate responses. This guide will help you communicate effectively with Coplay in Unity.

Request Types

Here are the main types of requests you can make to Coplay:

Questions

Best for when you need information or explanations.
Be specific with your questions. The more details you provide, the more tailored Coplay’s response will be to your situation.

Code Generation

Ask Coplay to write code for you by clearly stating what you need.

Code Analysis

Share your existing code for Coplay to analyze, explain, or improve.

Text Formatting for Better Results

Formatting your messages can help Coplay understand your needs better.

Effective Prompting Techniques

Step-by-Step Instructions

When you need Coplay to help with a complex task, break it down into steps:

Iterative Refinement

Start with a basic request and then refine it based on Coplay’s response:
Initial: “Create a player movement script” Follow-up: “That’s good, but can you modify it to include sprinting when the Shift key is pressed?”

Code Examples

When sharing code with Coplay, use code blocks to make it easier to read:

Unity-Specific Terminology

Using accurate Unity terminology helps Coplay understand exactly what you’re asking:

Mathematical Expressions

Coplay can understand mathematical expressions, which is useful for game physics and graphics questions: F = m \times a

Sample Conversation Flow

Here’s an example of an effective conversation with Coplay:
You: I’m trying to make an enemy that patrols between waypoints. Can you help me with the script? Coplay: [Provides basic patrol script] You: Thanks! Now how can I make the enemy detect and chase the player when they get close? Coplay: [Builds on previous script to add player detection and chase behavior] You: One last thing - how do I make the enemy return to patrolling when it loses sight of the player? Coplay: [Completes the AI behavior with returning to patrol functionality]

Workflow Strategies

Be Iterative

Don’t try to accomplish everything in one large request. Break down your needs into smaller, manageable chunks:

Choose the Right Mode

Agent Mode is ideal for straightforward, focused tasks:
Normal Mode works better for open-ended, exploratory requests:

Communication Tips

Don’t hesitate to interrupt Coplay if it’s going in the wrong direction:
“Stop - that’s not what I need. Let me clarify…”
Be direct when you’re not satisfied:

Start Fresh for New Tasks

Use a new conversation for each major task to avoid context confusion:
  • ✅ New conversation: “Create an inventory system”
  • ✅ New conversation: “Debug my movement script”
  • ❌ Same conversation: Mixing inventory questions with movement debugging

Model Selection Strategy

Experiment with different models based on your task:
For open-ended requests, ask for a plan first:
“Before you start coding, can you outline your approach to building this inventory system?”

Avoiding Over-Engineering

Coplay can overthink like humans. For simple tasks:
Match the model to the task complexity:
  • First implementation: Use simpler models to avoid over-building
  • Debugging/Optimization: Use thinking models for thorough analysis
  • Refactoring: Thinking models excel at understanding complex codebases

Prompt Enhancement

Pre-process and enrich your prompts with context:

Supercharge with MCP Servers

Use MCP servers to enhance your workflow:
MCP (Model Context Protocol) servers provide specialized tools that can extend Coplay’s capabilities beyond Unity development.

Join Our Community

For more tips on effectively using Coplay, join our Discord community where you can share your experiences and learn from other users.