Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Make Decker compile to Android/IOS?

A topic by Srayan Jana created Jun 26, 2024 Views: 620 Replies: 5
Viewing posts 1 to 3
(+2)

It would be cool if we could get decker to work on android or ios, so we could share our individual decks as apps

(+2)

For what it's worth, the HTML version works on mobile browsers (although on phones it can be a bit fiddly with the small screen size). Granted it's not an app as such, but you can run Decker itself as well as run published decks in this way on iOS and Android devices.

since it is open source, and uses portable C/SDL2, and supports touch events, i think it may be within reach. I came here looking to see if someone had tried something, but i guess i'm kind of alone in this road XD.

Developer(+2)

An Android port is about 90% there already; there are various #defines to stub out features that are unusable on Android. The last 10% is mostly annoying yet important details, like dealing with Android's very contorted model of application life cycle and restricted ability to traverse the filesystem vs. an ordinary OS. Feel free to tinker with your own fork.

(1 edit) (+3)

So, i actually got it running without much work, thank you for the reply! SDL is actually very easy to deal with and it's all pretty well documented. Though, as you said, some details need an actual android specific version. I'll be looking into it for the next month or so (getting this running in a phone is actually a project i'm doing for college!), so i'll keep this thread updated. I'm not a C expert, so the code looks a little like too much for me XD, but i'm trying.

I recently picked up an Android-based e-ink tablet, it would be really cool to get Decker running on it.