<!--
{
  "documentType" : "article",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/game-development-sample-code",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Gaming sample code projects"
}
-->

# Gaming sample code projects

Explore a collection of projects relating to game development.

## Overview

[Bringing your SceneKit projects to RealityKit](/documentation/RealityKit/bringing-your-scenekit-projects-to-realitykit)

Adapt a platformer game for RealityKit’s powerful ECS and modularity.

[Creating a Spaceship game](/documentation/RealityKit/creating-a-spaceship-game)

Build an immersive game using RealityKit audio, simulation, and rendering features.

  <doc://com.apple.documentation/documentation/visionOS/BOT-anist>

[Rendering a windowed game in stereo](/documentation/RealityKit/rendering-a-windowed-game-in-stereo)

Bring an iOS or iPadOS game to visionOS and enhance it.

  <doc://com.apple.documentation/documentation/visionOS/happybeam>

  <doc://com.apple.documentation/documentation/visionOS/swift-splash>

  <doc://com.apple.documentation/documentation/visionOS/destination-video>

[Creating a game with scene understanding](/documentation/RealityKit/creating-a-game-with-scene-understanding)

Create AR games and experiences that interact with real-world objects on LiDAR-equipped iOS devices.

## Topics

### Sample code links

[Bringing your SceneKit projects to RealityKit](/documentation/RealityKit/bringing-your-scenekit-projects-to-realitykit)

Adapt a platformer game for RealityKit’s powerful ECS and modularity.

[Creating a Spaceship game](/documentation/RealityKit/creating-a-spaceship-game)

Build an immersive game using RealityKit audio, simulation, and rendering features.

  <doc://com.apple.documentation/documentation/visionOS/BOT-anist>

[Rendering a windowed game in stereo](/documentation/RealityKit/rendering-a-windowed-game-in-stereo)

Bring an iOS or iPadOS game to visionOS and enhance it.

  <doc://com.apple.documentation/documentation/visionOS/happybeam>

  <doc://com.apple.documentation/documentation/visionOS/swift-splash>

  <doc://com.apple.documentation/documentation/visionOS/destination-video>

[Creating a game with scene understanding](/documentation/RealityKit/creating-a-game-with-scene-understanding)

Create AR games and experiences that interact with real-world objects on LiDAR-equipped iOS devices.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)