Posts: 1
Joined: Fri Feb 19, 2016 6:44 pm

Cross-platform (including Pi) workflow for 2D games in Swift

Fri Feb 19, 2016 7:01 pm

I’ve been developing a new SDK called Blurrr. I wanted to share this video showing a cross-platform development scenario using Swift language to make an app for SteamOS (Linux), OS X, iOS, and of course Raspberry Pi 2 (Raspbian), all sharing the same code base and unified build system.

And towards the end of the video, I do a little Pi specific GPIO for fun.


SDL provides the common platform layer. The build system is built on top of CMake. I have been adding Swift support to CMake.

Even if you aren’t interested in my SDK, I thought you might like seeing this workflow as it showcases how capable actual development is directly on Pi/Raspbian, as well as how much you can already do in Swift today.

(I also can do essentially the same demo in C, Lua, and JavaScript, but I thought Swift is trendier right now :D)

Thanks for reading! I appreciate hearing what you think.

User avatar
Posts: 120
Joined: Fri Apr 27, 2012 6:07 am
Location: Gateshead, UK.

Re: Cross-platform (including Pi) workflow for 2D games in S

Tue Feb 23, 2016 10:37 pm

Impressive, looked great on the RPi too. Nice touch with the button :)

Return to “Other programming languages”