Author Topic: Supporting mobile platforms  (Read 2919 times)

Zeror

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
Supporting mobile platforms
« on: June 24, 2015, 01:14:12 pm »
I'm kinda new to Solarus, but it looks promising already after watching a few tutorials. I'm really excited on starting to create my own Zelda-like adventure.

But i've got a question/feature request:
Would it be possible to distribute a game to mobile platforms like Android, iOS or Windows Phone? Solarus runs already on many platforms, so i figured out it wouldn't be impossible to do so. What do you think?

I would love to get my created adventure on my mobile phone/tablet. Ofcourse that would require a few things. Like a new viewport dimension (mobile resolution), touchscreen support, create install package (APK-file for android for example), etc..

Can this be done? Or could this be a future feature?

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1177
    • View Profile
Re: Supporting mobile platforms
« Reply #1 on: June 24, 2015, 01:56:33 pm »
There is an old Android port of Solarus 1.1 and it works well with virtual buttons.
Touchscreen should will come in a future release, as well as an iOS port.
What is currently already possible is to choose the size of your quest screen: not necessarily 320x240, but whatever size you want, including sizes that fit a 16:9 screen.

Zeror

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
Re: Supporting mobile platforms
« Reply #2 on: June 24, 2015, 02:27:49 pm »
Cool. Do you know how that APK file is created?

sam101

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Supporting mobile platforms
« Reply #3 on: July 02, 2015, 06:29:49 pm »
(Sorry for the delay)

So the Android port use an (now very old) port of the SDL to Android: https://github.com/pelya/commandergenius, that how we get the on-screen buttons "for free".

Indeed it needs some updating, I'll get to it when I find some time for it :).

zutokaza

  • Full Member
  • ***
  • Posts: 146
  • Active - Making stories can take the most time.
    • View Profile
Re: Supporting mobile platforms
« Reply #4 on: August 20, 2015, 06:09:27 am »
This is great news. I was a little worried about not being able to port to android.  :)

xenofears

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Supporting mobile platforms
« Reply #5 on: September 02, 2015, 07:52:29 pm »
sam, I would love it if you updated the Android version. I can't finish the final dungeon due to timing issues.... Also bring the other games to Android ;)

Zeror

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
Re: Supporting mobile platforms
« Reply #6 on: September 08, 2015, 08:51:43 pm »
I was wondering. Is it possible to convert a Solarus project to Unity or something in some way. Maybe tools needs to be created for it. UNity has great options if it comes to exporting to different platforms.

zutokaza

  • Full Member
  • ***
  • Posts: 146
  • Active - Making stories can take the most time.
    • View Profile
Re: Supporting mobile platforms
« Reply #7 on: September 08, 2015, 11:10:19 pm »
I think that would make it so you would have to follow the unity license and might be more work or not allowed.
« Last Edit: September 21, 2015, 09:34:10 am by zutokaza »

zerothis

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Supporting mobile platforms
« Reply #8 on: October 12, 2015, 11:13:10 pm »
I would say no to Unity. It would eliminate several existing and possible ports and also castrate the current GPL benefits.