Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu on iPad, iPhone & iPod Touch / How's Gosu Work In Mobile Game
- - By mobgamegraph Date 2016-06-12 09:17
Hi,

I am wondering how gosu work in game development for mobile games?
Parent - - By jlnr (dev) Date 2016-06-12 11:31
If by mobile you mean iPhone and iPad:

The C++ version works the same way it works on OS X, by creating a new Xcode project and importing Gosu via CocoaPods: https://github.com/gosu/gosu/wiki/Getting-Started-on-OS-X

The Ruby version can be used on iOS with RubyMotion, which is free if you can live with a branded splash-screen. This (woefully incomplete/ugly) board game on GitHub has an example project in the ios folder: https://github.com/jlnr/Trikus

I honestly don't even know where to start documenting either process, so feel free to just ask questions on this board and I might turn the answers into Wiki pages.

Android is not supported right now. I guess it'd take one weekend to get the C++ version running smoothly on Android, and then a full week to wrap it for RubyMotion.
Parent - - By ericathegreat Date 2016-06-14 06:29
Hypothetically speaking, what would the cost be for your 7-ish days be to get a working Android Rubymotion version? Do you have contract rates for that sort of stuff?

I'm not really ready to go mobile on any of my projects at the moment, but I'd be interested to know. :)
Parent - By jlnr (dev) Date 2016-06-15 09:20 Edited 2016-06-15 09:36
Good question. I'd probably cut my rate to something like 40€/h because I'm working on Open Source, yay! (But not lower because I expect JNI/GC debugging to be painful :))

Considering that my own macOS/iOS RubyMotion game is only half finished and no one else has ever used RubyMotion with Gosu on an App Store, I'm wary of making any guarantees. A good first step would be to compile your game for RubyMotion on iOS, I think you can even deploy on device now with the free edition? That might give you (and me!) an idea of how stable that part of Gosu is right now.
Parent - - By mobgamegraph Date 2016-06-16 10:10
Thank you for your response and very well explain. But one thing is, do you have tutorial with this from the beginning to the end?
Parent - - By jlnr (dev) Date 2016-06-17 17:32
Hmm, kind of, but only for OS X: https://github.com/gosu/motion-gosu

I guess I should turn this into a "Getting Started with RubyMotion" page in the main Gosu wiki. It's on the To Do list, let's hope my three days off will be enough to get to it :)
Parent - By mobgamegraph Date 2016-06-19 01:57
Will review this one. Hope i can get more info here. But anyway thanks for your effort. because i feel so really empty about the gosu.
Parent - - By kjarrigan Date 2016-06-17 08:55
Android is not supported right now.

Thats not true, I think?! A few days ago I finally was motivated enough to do some Android App stuff. As I don't like Java that much I found Ruboto and in the examples a topic about running Gosu.

https://github.com/ruboto/ruboto/wiki/Tutorial%3A-write-a-gosu-game

Is this a real thing. Did someone has experiences with that?
Parent - By jlnr (dev) Date 2016-06-17 17:24
Oh wow, I didn't know about this tutorial :) The version numbers look a little ancient though, and the last commits on gosu_android have happened years ago: https://github.com/Garoe/gosu-android

But if you are going to give it a try, let me know how it goes. I will probably give RubyMotion's implementation of Ruby a try first, because I have heard quite a few bad things about Ruboto's startup time.
Parent - By mobgamegraph Date 2016-06-19 02:03
I don't think about this one. It was a pretty simple way of creating. From the installation until the end. I like how simple processing that they made. But i will do some research about this one. I am not really believe yet this.
Up Topic Gosu / Gosu on iPad, iPhone & iPod Touch / How's Gosu Work In Mobile Game

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill