Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I added a new usage example for Option To World.
The example demonstrated the difference between world-space drawing (content that moves when the camera pans) and screen-space UI (HUD that stays fixed). It included C++, C# (top-level), C# (OOP) files, a one-sentence .txt description.
Type of change
How Has This Been Tested?
I verified the example locally in two steps. First, I ran C++ and both C# variants individually using SplashKit templates.
I confirmed the controls worked as expected:
Arrow keys panned the camera.
C reset the camera to (0,0).
SPACE toggled a screen-fixed HUD panel.
ESC quit.
Site integration
Ran npm run dev, confirmed the page rendered with code tabs and GIF.
Built and previewed the static site: npm run build & npm run preview.
Confirmed no console errors and that all code files were non-empty.
Testing Checklist
Checklist
If involving code
Folders and Files Added/Modified
src/assets/usage-examples-code/graphics/option_to_world/option_to_world-1-camera.cpp
src/assets/usage-examples-code/graphics/option_to_world/option_to_world-1-camera.cs
src/assets/usage-examples-code/graphics/option_to_world/option_to_world-1-camera-oop.cs
src/assets/usage-examples-code/graphics/option_to_world/option_to_world-1-camera.txt
public/usage-examples-images-gifs/graphics/option_to_world-1-camera.gif