Slick Forums

Discuss the Slick 2D Library
It is currently Sun May 19, 2013 10:31 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: TWL on Android
PostPosted: Sun Jul 18, 2010 2:26 pm 
Offline

Joined: Sun Jul 18, 2010 2:10 pm
Posts: 30
hello,

are there any plans to port TWL to Android ? in theory it should be possible and straight forward. provide an OpenGL-ES based renderer and bridge Android GUI events to TWL.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 18, 2010 3:13 pm 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1171
You are free to port it. I don't have such plans.

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
 Post subject: Re: TWL on Android
PostPosted: Sun Jul 18, 2010 4:31 pm 
Offline

Joined: Wed Jun 17, 2009 3:36 am
Posts: 3
raft wrote:
hello,

are there any plans to port TWL to Android ? in theory it should be possible and straight forward. provide an OpenGL-ES based renderer and bridge Android GUI events to TWL.


There are a number of desktop/android abstraction projects that allow common codebase (sound,input,opengl) for deploying to both platforms. So far none using GL ui like TWL. I'm working on such a project that's still in infancy. TWL in on my todo list :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 18, 2010 5:16 pm 
Offline

Joined: Sun Jul 18, 2010 2:10 pm
Posts: 30
cool, that's good news :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 29, 2010 11:37 am 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1171
TWL is now supported on Android using the libgdx library and a special TWL-android.jar (available on the TWL website) which replaces some Java APIs not available on Android (like java.beans.*).

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 14, 2010 8:55 pm 
Offline
Game Developer
User avatar

Joined: Sun May 25, 2008 9:45 am
Posts: 578
Naming it TWL-android.jar is a little odd... it doesn't contain the LWJGL renderer, so it makes sense to use any time you are using a non-LWJGL renderer (eg, JOGL or libgdx on the desktop).

_________________
SingSong Karaoke - http://singthegame.com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 14, 2010 11:40 pm 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1171
But it also contains the restricted beans library. So it's not easily usable on J2SE platforms.

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
 Post subject: Re: TWL on Android
PostPosted: Sun Apr 29, 2012 7:00 pm 
Offline

Joined: Tue Feb 21, 2012 3:46 pm
Posts: 26
One question from my side.

I want to port my game to the android platform. But if I change the TWL.jar with the TWL-Android.jar I can't use the LWJGL Renderer in the TWLStateBasedGame. What do I have to do?!


Top
 Profile  
 
 Post subject: Re: TWL on Android
PostPosted: Sun Apr 29, 2012 9:03 pm 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1171
a) You should not hijack old threads
b) you need to provide another Renderer implementation which uses the OpenGL-ES classes of Android

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
 Post subject: Re: TWL on Android
PostPosted: Mon Apr 30, 2012 4:25 pm 
Offline

Joined: Tue Feb 21, 2012 3:46 pm
Posts: 26
Ok, I thought it would be better if I post my question here because it's the same topic and I do not want to split this up.

So which renderer do you recommend ?!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group