Skip to content
Bit Quirky Round Trip
Visual Scripting

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or a C# feature.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v1.0.0
Menu

Learn by doing

Build one class, read unfamiliar code, make a visual change, review generated work, and share the same C# with a team.

Start with the job in front of you. Round Trip can begin with an empty project and no code, with a script an assistant just wrote, or with code you got from a tutorial, an asset, or a teammate. Each tutorial finishes at ordinary C# in your project.

Most of these pages walk through the Platformer sample, a sample from the optional Round Trip Sample - Platformer package and that you import into a test project, so every step names a real class. The same steps apply to any project once its folder is indexed. A test project is the safest place for a first try; when you follow a tutorial in your real game, protect it first.

  1. Build it visually, then Compile: the shortest way in. Build a tiny component that logs a message, change one input on the canvas, and save it as a small, reviewable source edit.
  2. Your first class: make a game behavior without writing code. Make a 2D scene with a square, create a Movement component, add a Move control and an Update method on the canvas so the arrow keys move the square, then add a Jump button that hops it.
  3. Check what the AI did: an assistant edited your scripts. Read the change as a diagram, compare it with your last checkpoint, and decide whether to keep it.
  4. Read a class you did not write: bring in code from anywhere. In the Platformer sample, trace a coin count into the branch that opens the goal.
  5. Work as a team: designers build on the canvas, programmers type C#, and both share the same source file.

Choose an exercise by its visual script

Select a screenshot to enlarge it.

Movement Update visual script: direction, speed and Time.deltaTime feed one Multiply, whose result moves the transform with Translate.
Start small: Your first class Build a square that moves with the arrow keys and hops with Space. No existing game scripts or art are needed.
OnCoinCountChanged diagram with a threshold rule and a call that opens the door.
Figure 1. Read a rule: Read a class In this separate sample method, follow a coin total into the decision that opens the goal.
StompEnemy diagram with three branches and warning log routes.
Figure 2. Review a larger method: Check what the AI did Use an existing sample method to practice reviewing stops, calls and nested routes. The capture does not show an AI before-and-after.

Six small methods from the Platformer sample cover the shapes you will meet most often in any project:

  • Common shapes: pick a shape that matches your next gameplay rule.
  • Guides: look up the canvas, flow, call, and Compile tools by feature.
Full-size image