OctopusKit

A 2D game engine based on ECS and written in 100% Swift for iOS, macOS, tvOS and visionOS.

Caution

😔 This project is no longer updated by the sole maintainer.
🌟 I have moved to Godot. Check out Comedot ← my components-based framework for 2D games in Godot!

Important

❕ OctopusKit requires OctopusCore. Non-game functionality was split into a separate repository for use in general apps. For the last standalone version, see 4.0.0-beta-5

If you’ve tried making a game in Swift while sticking to the official APIs, this may be for you! OctopusKit wraps and extends Apple’s frameworks:

• GameplayKit for a flexible Entity-Component-System architecture to dynamically compose game behavior.
• SpriteKit for 2D graphics, physics and GPU shaders.
• SwiftUI for quickly designing fluid, scalable HUDs with a declarative syntax.
• Metal to ensure the best native performance under the hood.
• OS-independent components let you handle mouse/touch or keyboard/gamepad input with the same code, and compile natively for iOS + macOS without needing Catalyst.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top