Skip to content

albertinopadin/ToyFlightSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

376 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToyFlightSimulator macOS Build > main

ToyFlightSimulator macOS Build (with complete strict concurrency checking) > swift6

ToyFlightSimulator

Toy Flight Simulator implemented with Swift, SwiftUI and Metal

Devlog

2/26/26 - Procedural animations for control surfaces (aircraft does have to have bones for each surface).

Toy Flight Sim 2-26-26 Procedural Animations for control surfaces


2/21/26 - Implemented animations (initially just landing gear retraction and extension for F-35 model).

Toy Flight Sim 2-21-26 Landing Gear Animation


7/20/2025 - Tessellated Terrain initial implementation; Moved to Swift 6; Implemented multithreading with 3 threads - main (UI / Rendering), update (physics), and audio.

TessellatedTerrain


12/4/24 - Initial physics implementation (both naive Euler and Verlet with collision response).

Toy Flight Sim 12-4-24 Ball Physics Scene


7/21/24 - First attempt at afterburner using particle effects.

Toy Flight Sim 7-21-24 Afterburner Particle Effect (YouTube demo)


1/3/24 - Lowered Texture memory usage by ~50% by using a cache.

Before caching textures:

Before

After caching textures:

After

Also, app now has a simple menu implemented in SwiftUI, accessible by pressing Escape on Mac or by swiping down from the top in iOS:

Menu


7/20/23 - Hack to implement "skeletal animation" / movement of control surfaces by moving submeshes.

Toy Flight Sim 7-20-23 (YouTube demo)


5/31/2023 - Aircraft rotations (pitch, roll, yaw) stabilized, implemented firing missiles and dropping bombs.

Toy Flight Sim 5-31-23 (YouTube demo)


4/9/2023 - Figured out how to independently render submeshes from F-18 OBJ model (AIM-9 & AIM-120 missles displayed):

Missles


2/26/2023 - Implemented Skybox stage of Single-Pass Deferred Lighting Renderer; using new F/A-18F fighter jet model.

Skybox & F-18


2/10/2023 - Implemented Shadow, GBuffer and Directional Lighting stages of Single-Pass Deferred Lighting Renderer, using Apple's Rendering a Scene with Deferred Lighting in Swift example

Deferred Lighting with Shadows v1


1/16/2023 - Tried implementing shadows (in shadow branch) - inspired by Warrren Moore's shadow tutorial and 2etime's shadow example

Shadows


1/8/2023 - Very early stage, just implemented Order Independent Transparency with the help of Apple's tutorial

Toy Flight Sim

About

Toy Flight Simulator implemented with Swift and Metal

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors