Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (121)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  Libgdx on iOS  (Read 9937 times)
0 Members and 1 Guest are viewing this topic.
Offline badlogicgames
« Posted 2012-10-08 22:57:29 »

Early days, but i managed to get all the low-level stuff to work. Biggest pain point was JNI, that works fully now. The screenshot doesn't give it away, but it exercises all the OpenGL ES 2.0 classes (meshes, shaders, etc.). Input works as well, so does audio. Images aren't loaded correctly at the moment, probably due to them being mangled by some iOS "optimization" tool.

edit: well, looks like it's actually the shitty iOS tools messing with the PNGs. Renaming the files to something else works. https://dl.dropbox.com/s/r5mq0obvhw1fdnd/IMG_20121009_011249.jpg?dl=1

http://www.badlogicgames.com - musings on Android and Java game development
Offline Nate

JGO Kernel


Medals: 150
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #1 - Posted 2012-10-08 23:48:07 »

For ease of viewing:

Offline badlogicgames
« Reply #2 - Posted 2012-10-08 23:56:46 »

Good work minion!

http://www.badlogicgames.com - musings on Android and Java game development
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 350
Projects: 3
Exp: 5 years


I'm the King!


« Reply #3 - Posted 2012-10-09 00:08:26 »

Amazing job! Is this made with the expensive Monotouch route or with Jack?

Offline badlogicgames
« Reply #4 - Posted 2012-10-09 00:28:29 »

MonoTouch, i don't have a lot of free time at the moment, so i have to prioritize things. The MonoTouch backend is a lot easier to handle.

<a href="http://www.youtube.com/v/Ssc7IYnGq2M?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/Ssc7IYnGq2M?version=3&amp;hl=en_US&amp;start=</a>

http://www.badlogicgames.com - musings on Android and Java game development
Offline ReBirth
« Reply #5 - Posted 2012-10-09 02:33:48 »

SUBARASHII!

Offline badlogicgames
« Reply #6 - Posted 2012-10-09 15:45:45 »

Got three of our demos to run (pretty easily actually). None of them are super demanding and all of them run perfectly fine on my IPad 2 and 3. Don't have anything lower-end, might have to acquire an Ipod or something.

<a href="http://www.youtube.com/v/UEF4Mv-9Rko?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/UEF4Mv-9Rko?version=3&amp;hl=en_US&amp;start=</a>

http://www.badlogicgames.com - musings on Android and Java game development
Offline badlogicgames
« Reply #7 - Posted 2012-10-10 21:07:46 »

And here's a full-blown game working on iOS, Operation Stormfront by Noble Master Games. GC hiccups, but we can fix that (uses Boehm GC, will switch to Mono's SGen).

<a href="http://www.youtube.com/v/sgjGyU6WFl0?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/sgjGyU6WFl0?version=3&amp;hl=en_US&amp;start=</a>

http://www.badlogicgames.com - musings on Android and Java game development
Offline noblemaster

JGO Ninja


Medals: 20
Projects: 10


Age of Conquest makes your day!


« Reply #8 - Posted 2012-10-11 06:48:23 »

yep, things are slowly coming together  Grin

Offline concerto49

Junior Duke





« Reply #9 - Posted 2012-10-11 11:09:38 »

These videos look awesome. Been a libgdx user for a long time and now we can move to ios. Great! Thanks for all the great work so far.

High performance, fast network, affordable price VPS - Cloud Shards
Available in Texas, New York & Los Angeles
Need a VPS Upgrade?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 350
Projects: 3
Exp: 5 years


I'm the King!


« Reply #10 - Posted 2012-10-11 15:21:05 »

It's not all cookies and cream though. To publish on iOS through libGDX, you need to pay the yearly $100 fee for an Apple membership and the yearly $400 license from MonoTouch. :/

Offline princec

JGO Kernel


Medals: 409
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #11 - Posted 2012-10-11 16:03:42 »

Dude, if you can't afford $500 then you're wasting your time publishing on iOS anyway.

Cas Smiley

Offline badlogicgames
« Reply #12 - Posted 2012-10-11 18:39:08 »

I can't do anything about the 100$ you have to give to Apple. The 400$ for MonoTouch are indeed a bit of a bummer. However, i only have so much sparetime. I haven't given up on Jack, and Avian got some new additions recently (ARM 7 support, OpenJDK on iOS support), so those "free" options are still available. If i had more time to work on this stuff i could provide a cheaper solution. I guess the next viable option would probably be Avian, though that has zero debugging support. Jack will probably stay a pipedream Smiley

http://www.badlogicgames.com - musings on Android and Java game development
Offline ReBirth
« Reply #13 - Posted 2012-10-12 01:28:57 »

I don't know much about Apple's market, but your consumers have to jailbreak to install third party app right? On android we just need change on option.

Offline StumpyStrust
« Reply #14 - Posted 2012-10-12 01:44:35 »

"jail breaking" an iPhone is child's play. For android I think you just need to tick the "allow third party apps" The thing is most kids on iPhone are nublits to computers and they have daddy paying phone bill so they just pay for everything. Just about every person I know that uses an android phone gets there apps illegally. I don't even have a smart phone so its not like I just hang around all the pirates.

Online Jimmt
« League of Dukes »

JGO Kernel


Medals: 136
Projects: 4
Exp: 3 years



« Reply #15 - Posted 2012-10-12 02:20:22 »

"jail breaking" an iPhone is child's play. For android I think you just need to tick the "allow third party apps" The thing is most kids on iPhone are nublits to computers and they have daddy paying phone bill so they just pay for everything. Just about every person I know that uses an android phone gets there apps illegally. I don't even have a smart phone so its not like I just hang around all the pirates.
Oh yes my current high school...this guy gets all the high end computer stuff and says he has $30,000 in a bank account that's his...
oh, and the guy that claims to be a computer genius but spends all day playing games...
Offline badlogicgames
« Reply #16 - Posted 2012-10-12 07:56:17 »

No jailbreaking is required. We use the same underlying platform as Unity (Mono), all the code is ahead of time compiled.

http://www.badlogicgames.com - musings on Android and Java game development
Offline feelingtheblanks

Junior Duke


Medals: 3



« Reply #17 - Posted 2012-10-12 08:34:15 »

It's not all cookies and cream though. To publish on iOS through libGDX, you need to pay the yearly $100 fee for an Apple membership and the yearly $400 license from MonoTouch. :/

Xamarin also seems to offer professional licenses of MonoTouch for $79 for students currently enrolled at an accredited institution

http://support.xamarin.com/customer/portal/articles/177042-do-you-have-any-student-or-academic-discounts-
Offline badlogicgames
« Reply #18 - Posted 2012-10-12 21:33:01 »

Hah, i just wanted to post that. Great info, thanks!

http://www.badlogicgames.com - musings on Android and Java game development
Offline ra4king

JGO Kernel


Medals: 350
Projects: 3
Exp: 5 years


I'm the King!


« Reply #19 - Posted 2012-10-12 21:35:02 »

One. More. Year. And I'm off to college!!!

Offline princec

JGO Kernel


Medals: 409
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #20 - Posted 2012-10-12 22:13:05 »

Phew, hopefully they'll have a proxy server and a firewall there and we'll barely see you any more  Kiss

Cas Smiley

Offline theagentd
« Reply #21 - Posted 2012-10-13 00:21:22 »

Phew, hopefully they'll have a proxy server and a firewall there and we'll barely see you any more  Kiss

Cas Smiley
It's not like I'm streaming anime during my lectures or anything... Our 40Mbit wifi is only for school work.

No, seriously, the only thing they disallow is Bittorrent because it puts such a strain on their connection. We even have Ethernet jacks we can use freely if 40Mbit isn't enough.

Myomyomyo.
Offline ra4king

JGO Kernel


Medals: 350
Projects: 3
Exp: 5 years


I'm the King!


« Reply #22 - Posted 2012-10-13 00:29:55 »

Phew, hopefully they'll have a proxy server and a firewall there and we'll barely see you any more  Kiss

Cas Smiley
Stare Cranky Emo Cry

Offline badlogicgames
« Reply #23 - Posted 2012-10-13 02:11:21 »

Ahhh, god old thread derailment, i already missed it.

In other news, i got full Java source level debugging working, as well as method level profiling and (limited) memory profiling (i only know what gets allocated, not where the hotspots are). So, i consider iOS/MonoTouch a fully working dev platform now.

http://www.badlogicgames.com - musings on Android and Java game development
Offline ra4king

JGO Kernel


Medals: 350
Projects: 3
Exp: 5 years


I'm the King!


« Reply #24 - Posted 2012-10-13 03:03:54 »

All hail Mario, the baddest of all logic!

Offline princec

JGO Kernel


Medals: 409
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #25 - Posted 2012-10-13 10:36:18 »

Ahhh, god old thread derailment, i already missed it.

In other news, i got full Java source level debugging working, as well as method level profiling and (limited) memory profiling (i only know what gets allocated, not where the hotspots are). So, i consider iOS/MonoTouch a fully working dev platform now.
What sort of APIs have you got to cope with the general iOS-ness of things? (Like touch, screen rot., varying resolutions, etc.?)

Cas Smiley

Offline badlogicgames
« Reply #26 - Posted 2012-10-13 11:49:13 »

Not a lot really, a tiny bit of cocoa for life-cycle and window managment, opentk to setup the gl rendering surface (we use our custom GL ES 2.0 JNI bindings and not the OpenTK stuff), AVMediaPlayer for audio (though that's not quite optimal). See https://github.com/libgdx/libgdx/tree/master/backends/gdx-backend-iosmonotouch/src/com/badlogic/gdx/backends/ios

http://www.badlogicgames.com - musings on Android and Java game development
Offline gouessej
« Reply #27 - Posted 2012-10-19 13:46:00 »

Do you plan to fully develop your backend based on Jack? Do you need some help (money)?

Offline badlogicgames
« Reply #28 - Posted 2012-10-19 14:48:14 »

i currently have no plans to continue with jack in the next 3 months. i need to budget my little freetime around other more pressing issues (better 3d api, mavenization, cross platform in-app api)

http://www.badlogicgames.com - musings on Android and Java game development
Offline Cero
« Reply #29 - Posted 2012-10-19 16:31:55 »

i currently have no plans to continue with jack in the next 3 months. i need to budget my little freetime around other more pressing issues (better 3d api, mavenization, cross platform in-app api)

You guys need more people and budget. For Libgdx is one of the nicest and now most important things in java gaming.

Pages: [1] 2
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

theagentd (15 views)
2014-10-25 15:46:29

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (45 views)
2014-10-16 15:22:06

Norakomi (34 views)
2014-10-16 15:20:20

lcass (39 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (68 views)
2014-10-14 00:35:47

TehJavaDev (60 views)
2014-10-14 00:32:37

BurntPizza (74 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!