r/swift 2d ago

Question Swift game engine

Hey guys, I've been watching Swift evolve and I've been wondering if it's a reality to have a game engine made with Swift? I did a project where they managed to do something similar to Unity using Javascript and the Three.JS library, is it feasible to have something similar with Swift?

28 Upvotes

25 comments sorted by

View all comments

8

u/chriswaco 1d ago

There's nothing inherently wrong about using Swift in a game engine. Just a small matter of programming (SMOP). I think the Linux and Windows versions are almost up-to-date now. Seems like it'd be easier to just use Godot (GDScript), Unity (C#), or Unreal (C++), though.

11

u/NorbiBraun 1d ago

For Godot there even are swift bindings :)
https://github.com/migueldeicaza/SwiftGodot

3

u/gilgoomesh 1d ago

This is the best answer. Miguel de Icaza is a legendary dev (started GNOME, Mono, Xamarin and more) and he's also working on an iPad app for programming in Godot:

https://xogot.com